Difference between revisions of "Template:Country"

From Hearts of Iron 4 Wiki
Jump to navigation Jump to search
 
Line 5: Line 5:
 
|width=330px
 
|width=330px
 
|content={{{Flag|<includeonly>[[File:{{PAGENAME}}.png|330px]]</includeonly>}}}<hr />
 
|content={{{Flag|<includeonly>[[File:{{PAGENAME}}.png|330px]]</includeonly>}}}<hr />
[[Capital|Capital:]]<div style="float:right;">{{{Capital}}}</div>
+
[[Capital]]:<div style="float:right;">{{{Capital}}}</div>
 
<hr />
 
<hr />
[[Government|Government type:]]<div style="float:right;">{{{Government}}}</div>
+
[[Government type]]:<div style="float:right;">{{{Government}}}</div>
 
<hr />
 
<hr />
[[Factions|Faction:]]<div style="float:right;">{{{Faction}}}</div>
+
[[Faction]]:<div style="float:right;">{{{Faction}}}</div>
 
}}<includeonly>{{#ifeq: {{lc:{{{nocat|false}}}}} | false |[[Category:Countries{{#if:{{{Sortkey|}}}|{{!}}{{{Sortkey}}}}}]]}}</includeonly><noinclude>
 
}}<includeonly>{{#ifeq: {{lc:{{{nocat|false}}}}} | false |[[Category:Countries{{#if:{{{Sortkey|}}}|{{!}}{{{Sortkey}}}}}]]}}</includeonly><noinclude>
 
{{template doc}}
 
{{template doc}}

Latest revision as of 11:59, 2 May 2021

Country

Capital:
{{{Capital}}}

Government type:
{{{Government}}}

Faction:
{{{Faction}}}
[view] [edit]Template-info.png Template documentation
{{Country
| Capital =
| Government =
| Faction =
}}

Use this template for all countries.

Upload the flag in Special:Upload at a resolution of 800x533 to 900x600.

The optional parameter Sortkey can be used to change the default sorting in the Category:Countries .