Template:Nations: Difference between revisions

From Kerbal Powers Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 69: Line 69:
 
}}
 
}}
 
</pre>
 
</pre>
  +
  +
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Revision as of 12:58, 4 March 2021

Broken template
The Nations template is currently broken. It will be fixed soon (or you can fix it yourself, if you know how).


<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>


Example usage:

{{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
}}