Template:Infobox/Nation: Difference between revisions

From Terra Invicta Official Wiki
Llamageddon (talk | contribs)
mNo edit summary
Llamageddon (talk | contribs)
mNo edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><infobox layout="default">
<includeonly><templatestyles src="Template:Infobox/Nation/styles.css"/><infobox theme="dark">
   <header>Nation</header>
   <header>Nation</header>
   <panel>
   <panel>
Line 17: Line 17:
   </group>
   </group>


   <group row-items="2" show="incomplete"><!-- This doesn't seem to work unless the latter group is inside it ?
   <group row-items="2" show="incomplete">
     <data>
     <data>
       <label>Overview</label>
       <label>Overview</label>
Line 24: Line 24:
       <label>Military</label>
       <label>Military</label>
     </data>
     </data>
    <group row-items="2">
  <group row-items="2">
      <data source="government">
    <data source="government">
        <label>{{icon|government}}</label>
      <label>{{icon|government}}</label>
      </data>
    </data>
      <data source="miltech">
    <data source="miltech">
        <label>{{icon|miltech}}</label>
      <label>{{icon|miltech}}</label>
      </data>
    </data>
      <data source="unrest">
    <data source="unrest">
        <label>{{icon|unrest}}</label>
      <label>{{icon|unrest}}</label>
      </data>
    </data>
      <data source="navy">
    <data source="navy">
        <label>{{icon|navy}}</label>
      <label>{{icon|navy}}</label>
      </data>
    </data>
    </group>
  </group>
   </group>
   </group>


   <group row-items="4">
   <group row-items="4" layout="horizontal">
     <data span="2" source="gdp">
     <data span="2" source="gdp">
       <label>{{icon|ip}} GDP:</label>
       <label>{{icon|ip}} GDP:</label>
Line 52: Line 52:
   </group>
   </group>
</infobox>
</infobox>
</includeonly>
</includeonly><noinclude>
<noinclude>{{Documentation}} [[Category: Templates]] [[Category: Infobox Templates]]</noinclude>
{{Documentation}} [[Category:Templates]] [[Category:Infobox Templates]]</noinclude>

Latest revision as of 18:49, 8 December 2025


This is the Template Documentation from Template:Infobox/Nation/doc.

This infobox is an example for a more advanced layout than the default.

Usage

{{Template:Infobox/Nation
  |nationflag = {{icon|GBR|size=256px}}
  |unionflag = {{icon|GBRU|size=256px}}
  |capital = Nodnol
  |government = Flawed Democracy (7.8)
  |miltech = Information Age (4.5)
  |unrest = Strife (3)
  |gdp = $22,305 Bn
  |navy = Freedom of the Seas
  |nukes = 28
  |armies = 6/14
}}