Jump to content

Template:Infobox: Difference between revisions

From MicroVault
No edit summary
No edit summary
Tag: Reverted
Line 1: Line 1:
<includeonly>
{{Infobox
<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;">
| title = {{PAGENAME}}


<!-- Title -->
| body =
{{#if:{{{title|{{{above|}}}}}}|
 
<!-- Flag -->
{{#if:{{{Flag|}}}|
<tr>
<td colspan="2" style="text-align:center;">
[[File:{{{Flag}}}|250px]]
<div style="font-size:85%;">Flag of {{PAGENAME}}</div>
</td>
</tr>
}}
 
<!-- Coat of arms -->
{{#if:{{{Coat of arms|}}}|
<tr>
<tr>
<th colspan="2" style="{{{titlestyle|background:#e9e9e9; font-size:120%; padding:4px; text-align:center;}}}">
<td colspan="2" style="text-align:center;">
{{{title|{{{above}}}}}}
[[File:{{{Coat of arms}}}|150px]]
</th>
<div style="font-size:85%;">Coat of arms</div>
</td>
</tr>
</tr>
}}
}}


<!-- Body content from child template -->
<tr><th>Official name</th><td>{{{Official name|}}}</td></tr>
{{{body|}}}
<tr><th>Short name</th><td>{{{Short name|}}}</td></tr>
<tr><th>Motto</th><td>{{{Motto|}}}</td></tr>
<tr><th>Anthem</th><td>{{{Anthem|}}}</td></tr>


</table>
<tr><th>Government type</th><td>{{{Government type|}}}</td></tr>
</includeonly>
<tr><th>Head of State</th><td>{{{Head of State|}}}</td></tr>
<tr><th>Head of Government</th><td>{{{Head of Government|}}}</td></tr>
<tr><th>Legislature</th><td>{{{Legislature|}}}</td></tr>


<noinclude>
}}
This is the base template for all infoboxes.
</noinclude>

Revision as of 00:49, 19 November 2025

Template loop detected: Template:Infobox