Jump to content

Template:Infobox nation: Difference between revisions

From Sauron Universe Wiki
No edit summary
Tag: Reverted
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<table class="infobox" style="margin:0 0 1em 1em;  
<includeonly>
<table class="infobox" style="float:right; clear:right; margin:0 0 1em 1em;  
   background:#f8f9fa; border:1px solid #aaa; border-collapse:collapse;  
   background:#f8f9fa; border:1px solid #aaa; border-collapse:collapse;  
   font-size:88%; line-height:1.5em; width:22em;">
   font-size:88%; line-height:1.5em; width:22em;">


{{#if: {{{name|}}} |
{{#if:{{{name|}}}|<tr><th colspan="2" style="text-align:center;background:#cee0f2;font-size:125%;padding:6px;">{{{name}}}</th></tr>}}
<tr>
    <th colspan="2" style="text-align:center; padding:6px;><h1>{{{name}}}</h1></th>
</tr>
}}


{{#if: {{{image|}}} |
{{#if: {{{image|}}} |
Line 33: Line 30:
{{#if: {{{gdp|}}} |
{{#if: {{{gdp|}}} |
<tr>
<tr>
   <th style="padding:4px 8px; background:#eaecf0;">GDP (nominal)</th>
   <th style="padding:4px 8px; background:#eaecf0;">GDP (nominal)</th>
   <td style="padding:4px 8px;">{{{gdp}}}</td>
   <td style="padding:4px 8px;">{{{gdp}}}</td>
</tr>
</tr>
Line 60: Line 57:


</table>
</table>
</includeonly>


<noinclude>
<noinclude>
Line 91: Line 89:
}}
}}
</pre>
</pre>
<templatedata>
</noinclude>
{
"params": {
"name": {},
"image": {},
"capital": {},
"population": {},
"gdp": {},
"currency": {},
"government": {},
"area": {}
}
}
</templatedata></noinclude>

Latest revision as of 20:58, 13 May 2026


Infobox Nation

Use this template on nation pages.

Usage

{{Infobox nation
|name        = 
|image       = 
|capital     = 
|population  = 
|gdp         = 
|currency    = 
|government  = 
|area        = 
}}

Example

{{Infobox nation
|name        = The Aurelias
|capital     = Victoria Bay
|population  = 5,100,000
|gdp         = $455 billion
|currency    = Aurelian Pound
|government  = Constitutional Monarchy
|area        = 14,000 km²
}}