Jump to content

Template:Infobox: Difference between revisions

From MicroVault
No edit summary
Tag: Manual revert
No edit summary
Line 1: Line 1:
<includeonly>
{| class="wikitable" style="float:right; clear:right; margin:0 0 1em 1em; width:300px; background:#f8f9fa; border:1px solid #1e3a5f; font-size:93%; border-radius:8px; overflow:hidden;"
<table class="infobox" style="width:{{{width|250px}}}; font-size:90%; border:1px solid #aaa; background:#f9f9f9; padding:0; float:right; clear:right; margin:0 0 1em 1em;">
{{#if:{{{title|}}}|
 
! colspan="2" style="background:#1e3a5f; color:#fff; font-size:1.4em; text-align:center; padding:12px; border-radius:7px 7px 0 0;" | {{{title}}}
<!-- Title -->
{{#if:{{{title|{{{above|}}}}}}|
<tr>
<th colspan="2" style="{{{titlestyle|background:#e9e9e9; font-size:120%; padding:4px; text-align:center;}}}">
{{{title|{{{above}}}}}}
</th>
</tr>
}}
}}
 
{{#if:{{{image|}}}|
<!-- Body content from child template -->
|-
{{{body|}}}
| colspan="2" style="text-align:center; padding:10px 0;" | {{{image}}}
 
}}
</table>
{{#if:{{{caption|}}}|
</includeonly>
|-
 
| colspan="2" style="text-align:center; font-size:90%; color:#555; padding-bottom:8px;" | {{{caption}}}
}}
{{#if:{{{header1|}}}|  ! colspan="2" style="background:#2c5282; color:#fff; padding:6px;" | {{{header1}}} }}
{{#if:{{{data2|}}}|  |-
| style="background:#e6f2ff; padding:6px 12px;" | {{{label2|}}}
| style="padding:6px 12px;" | {{{data2}}} }}
{{#if:{{{data3|}}}|  |-
| style="background:#e6f2ff; padding:6px 12px;" | {{{label3|}}}
| style="padding:6px 12px;" | {{{data3}}} }}
{{#if:{{{data4|}}}|  |-
| style="background:#e6f2ff; padding:6px 12px;" | {{{label4|}}}
| style="padding:6px 12px;" | {{{data4}}} }}
{{#if:{{{data5|}}}|  |-
| style="background:#e6f2ff; padding:6px 12px;" | {{{label5|}}}
| style="padding:6px 12px;" | {{{data5}}} }}
{{#if:{{{data6|}}}|  |-
| style="background:#e6f2ff; padding:6px 12px;" | {{{label6|}}}
| style="padding:6px 12px;" | {{{data6}}} }}
{{#if:{{{data7|}}}|  |-
| style="background:#e6f2ff; padding:6px 12px;" | {{{label7|}}}
| style="padding:6px 12px;" | {{{data7}}} }}
{{#if:{{{data8|}}}|  |-
| style="background:#e6f2ff; padding:6px 12px;" | {{{label8|}}}
| style="padding:6px 12px;" | {{{data8}}} }}
{{#if:{{{data9|}}}|  |-
| style="background:#e6f2ff; padding:6px 12px;" | {{{label9|}}}  
| style="padding:6px 12px;" | {{{data9}}} }}
{{#if:{{{below|}}}|
|-
| colspan="2" style="background:#fff8e1; text-align:center; padding:8px; font-size:91%; border-radius:0 0 7px 7px;" | {{{below}}}
}}
|}
<noinclude>
<noinclude>
This is the base template for all infoboxes.
This is the universal, beautiful infobox used for micronations on MicroVault.
[[Category:Infobox templates]]
</noinclude>
</noinclude>

Revision as of 00:50, 19 November 2025

{{{title}}} - - {{{header1}}} - - - - - - - - -

This is the universal, beautiful infobox used for micronations on MicroVault.