Template:Nation: Difference between revisions

No edit summary
No edit summary
Tag: Reverted
Line 1: Line 1:
<includeonly>
<includeonly>{{Infobox
<infobox>
| header = ✦ Nation ✦
  <title source="title1"/>
| name = {{{name|{{PAGENAME}}}}}
  <image source="image1">
| image = {{{image|}}}
    <caption source="caption-image1"/>
| caption = {{{caption|}}}
  </image>
| label1 = Ruler | data1 = {{{ruler|}}}
  <group>
| label2 = Capital | data2 = {{{capital|}}}
    <header source="header2">General information</header>
| label3 = Government | data3 = {{{government|}}}
    <data source="motto">
| label4 = Founded | data4 = {{{founded|}}}
      <label>Motto</label>
| label5 = Religion | data5 = {{{religion|}}}
    </data>
| label6 = Language | data6 = {{{language|}}}
    <data source="anthem">
| label7 = Population | data7 = {{{population|}}}
      <label>Anthem</label>
| label8 = Currency | data8 = {{{currency|}}}
    </data>
| label9 = Motto | data9 = {{{motto|}}}
    <data source="capital">
| label10 = Allies | data10 = {{{allies|}}}
      <label>Capital city</label>
| label11 = Rivals | data11 = {{{rivals|}}}
    </data>
}}</includeonly><noinclude>
    <data source="largestcity">
== Usage ==
      <label>Largest city</label>
    </data>
  </group>
  <group>
    <header source="header3">Culture</header>
    <data source="languages">
      <label>Official languages</label>
    </data>
    <data source="ethnicgroups">
      <label>Ethnic groups</label>
    </data>
    <data source="religion">
      <label>Official religion</label>
    </data>
  </group>
  <group>
    <header source="header4">Government</header>
    <data source="headofstate">
      <label>Head of State</label>
    </data>
    <data source="actualheadofstate">
      <label>Government Leader</label>
    </data>
    <data source="secondincommand">
      <label>Second in command</label>
    </data>
    <data source="typeofgovernment">
      <label>Type of Government</label>
    </data>
  </group>
</infobox>
</includeonly>
<noinclude>
Example usage:
<pre>
<pre>
{{Nation
{{Infobox nation
 
| name = Example Nation
  | title1=Example
| image = Example_flag.png
 
| ruler = [[Example Ruler]]
  | image1=Example
| capital = [[Example City]]
 
| government = Monarchy
  | caption-image1=Example
| founded = Year 1
 
| religion = [[Example Faith]]
  | motto=Example
| language = Example language
 
| motto = ''Example motto''
  | anthem=Example
 
  | capital=Example
 
  | largestcity=Example
 
  | languages=Example
 
  | ethnicgroups=Example
 
  | religion=Example
 
  | headofstate=Example
 
  | actualheadofstate=Example
 
  | secondincommand=Example
 
  | typeofgovernment=Example
 
}}
}}
</pre>
</pre>
<templatedata>
All fields are optional; empty ones are hidden. Fields: name, image, caption, ruler, capital, government, founded, religion, language, population, currency, motto, allies, rivals.
{"params":{"title1":{"suggested":true},"image1":{"suggested":true},"caption-image1":{"suggested":true},"motto":{"suggested":true},"anthem":{"suggested":true},"capital":{"suggested":true},"largestcity":{"suggested":true},"languages":{"suggested":true},"ethnicgroups":{"suggested":true},"religion":{"suggested":true},"headofstate":{"suggested":true},"actualheadofstate":{"suggested":true},"secondincommand":{"suggested":true},"typeofgovernment":{"suggested":true}},"sets":[],"maps":{}}
</templatedata>
</noinclude>
</noinclude>

Revision as of 00:45, 22 November 2026

Usage

{{Infobox nation
| name = Example Nation
| image = Example_flag.png
| ruler = [[Example Ruler]]
| capital = [[Example City]]
| government = Monarchy
| founded = Year 1
| religion = [[Example Faith]]
| language = Example language
| motto = ''Example motto''
}}

All fields are optional; empty ones are hidden. Fields: name, image, caption, ruler, capital, government, founded, religion, language, population, currency, motto, allies, rivals.