Template: Infobox nation: Difference between revisions

From The Shire
Jump to: navigation, search
Taxcuts (talk | contribs)
No edit summary
Taxcuts (talk | contribs)
No edit summary
Line 92: Line 92:
<tr>
<tr>
<th>GDP&nbsp;(nominal)</th>
<th>GDP&nbsp;(nominal)</th>
<td><span style="color:#3a3;">▲</span>&nbsp;${{{gdp}}}</td>
<td><span style="color:#3a3;">▲</span>&nbsp;{{{gdp}}}</td>
</tr>
</tr>
}}
}}
Line 98: Line 98:
<tr>
<tr>
<th>GDP&nbsp;(per&nbsp;capita)</th>
<th>GDP&nbsp;(per&nbsp;capita)</th>
<td><span style="color:#3a3;">▲</span>&nbsp;${{{gdp-pc}}}</td>
<td><span style="color:#3a3;">▲</span>&nbsp;{{{gdp-pc}}}</td>
</tr>
</tr>
}}
}}
Line 160: Line 160:
<noinclude>
<noinclude>
== Usage ==
== Usage ==
Paste on a nation page and fill whichever fields you need:
Paste on a nation page and fill whichever fields you need. You do '''NOT''' need to fill everything on the list. They are general purpose for everyone on the server.
 
Any blank parameter (or one you delete) is simply omitted from the infobox.
 
For the "historical" slot, the only accepted texts are `yes` or `no`. If `yes`, the Historical Registry badge will show in the info box. Typing anything other than `yes` or `no` will throw an error.
 
A sample is pre-filled below.


<pre>{{Infobox nation
<pre>{{Infobox nation
  | name        =  
  | name        = Steve land
  | motto      =  
  | motto      = Steve is the best
  | flag        = Flag.svg
  | flag        = Flag.svg
  | coa        = Coat.svg
  | coa        = Coat.svg
Line 183: Line 189:
  | dictator    =  
  | dictator    =  
  | chiefexec  =  
  | chiefexec  =  
  | currency    = GOL
  | currency    = Diamonds
  | gdp        = 42.3 B
  | gdp        = $42.3 B
  | gdp-pc      = 78 k
  | gdp-pc      = $78 k
  | gini        = 0.30
  | gini        = 0.30
  | hdi        = 0.91
  | hdi        = 0.91
Line 191: Line 197:
  | sta        = Red Line, Blue Line
  | sta        = Red Line, Blue Line
  | builders    = Player1, Player2
  | builders    = Player1, Player2
  | built      = 2024
  | built      = 2010
  | historical  = yes
  | historical  = yes
}}</pre>
}}</pre>


Any blank parameter (or one you delete) is simply omitted from the infobox.
</noinclude>
</noinclude>

Revision as of 15:06, 7 June 2025


Usage

Paste on a nation page and fill whichever fields you need. You do NOT need to fill everything on the list. They are general purpose for everyone on the server.

Any blank parameter (or one you delete) is simply omitted from the infobox.

For the "historical" slot, the only accepted texts are `yes` or `no`. If `yes`, the Historical Registry badge will show in the info box. Typing anything other than `yes` or `no` will throw an error.

A sample is pre-filled below.

{{Infobox nation
 | name        = Steve land
 | motto       = Steve is the best
 | flag        = Flag.svg
 | coa         = Coat.svg
 | collage     = CityCollage.png
 | capital     = Capital City
 | capital-x   = 123
 | capital-z   = -456
 | largest     = Big City
 | largest-x   = 100
 | largest-z   = -400
 | area        = 250000
 | population  = 750000
 | pop-year    = 2026
 | govt-type   = Constitutional monarchy
 | monarch     = King Steve
 | emperor     = 
 | president   = 
 | dictator    = 
 | chiefexec   = 
 | currency    = Diamonds
 | gdp         = $42.3 B
 | gdp-pc      = $78 k
 | gini        = 0.30
 | hdi         = 0.91
 | warp        = nationwarp
 | sta         = Red Line, Blue Line
 | builders    = Player1, Player2
 | built       = 2010
 | historical  = yes
}}