Template:Nations: Difference between revisions

From Kerbal Powers Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
<onlyinclude>
 
<onlyinclude>
{{Note|'''Broken template'''<br/>''The Nations template is currently broken. It will be fixed soon (or you can fix it yourself, if you know how).|error}}<nowiki/>
+
{{Note|'''Outdated template'''<br/>''You are using the '''Nations''' template. It has been replaced by the [[Template:Nation|Nation]] template, which works. Refer to the [[Template:Nation]] documentation for help on how to use it.<br>
  +
<nowiki>[</nowiki>[[:Category:Infoboxes|Available Infoboxes]]<nowiki>]</nowiki> <nowiki>[</nowiki>[[Template:Infobox|Using Infoboxes]]<nowiki>]</nowiki>|warn}}<nowiki/>
 
</onlyinclude>
 
</onlyinclude>
 
<noinclude>
 
<noinclude>
<pre>
 
<infobox>
 
<title source="nation name">
 
<default>{{PAGENAME}}</default>
 
</title>
 
<data source="indigenous language name"/>
 
<image source="flag">
 
<caption source="caption for flag"/>
 
</image>
 
<data source="motto">
 
<label>Motto</label>
 
</data>
 
<data source="anthem">
 
<label>Anthem</label>
 
</data>
 
<image source="geopolitical map">
 
<caption source="caption for map"/>
 
</image>
 
<data source="denonym">
 
<label>Denonym</label>
 
</data>
 
<data source="capital">
 
<label>Capital</label>
 
</data>
 
<data source="official_languages">
 
<label>Official languages</label>
 
</data>
 
<data source="government">
 
<label>Government</label>
 
</data>
 
<data source="foundation">
 
<label>Foundation</label>
 
</data>
 
<data source="preceded_by">
 
<label>Preceded by</label>
 
</data>
 
<data source="area">
 
<label>Area</label>
 
</data>
 
<data source="population">
 
<label>Population</label>
 
</data>
 
</infobox>
 
</pre>
 
   
 
Example usage:<pre>
 
{{Nations
 
|title1=Example
 
|row1=Example
 
|row3=Example
 
|image5=Example
 
|caption5=Example
 
|anthem=Example
 
|image6=Example
 
|caption6=Example
 
|denonym=Example
 
|capital=Example
 
|official_languages=Example
 
|government=Example
 
|foundation=Example
 
|preceded_by=Example
 
|area=Example
 
|population=Example
 
}}
 
</pre>
 
 
</noinclude>
 
</noinclude>

Latest revision as of 22:31, 30 May 2021

Outdated template
You are using the Nations template. It has been replaced by the Nation template, which works. Refer to the Template:Nation documentation for help on how to use it.
[Available Infoboxes] [Using Infoboxes]