Template:NationInfobox: Difference between revisions

>Fachanator
Created page with "<infobox> <title source="title1"> <default>{{PAGENAME}}</default> </title> <image source="image1"> <caption source="caption1"/> </image> <data source="leader..."
 
No edit summary
 
(27 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<infobox>
{| cellspacing="1" cellpadding="1" style="float:right; clear:right; margin: 0 0 .5em 1em; width:280px; background: border-collapse:collapse; border:3.5px solid {{{color|}}}; font-size:smaller; line-height:1.5"
  <title source="title1">
|-
    <default>{{PAGENAME}}</default>
|<div>
  </title>
{| border="0" cellpadding="4" cellspacing="0" style="float:right; margin:0 0 0 0; width:100%; background:; border-collapse:collapse; vertical-align: middle"
  <image source="image1">
|-
    <caption source="caption1"/>
! colspan="2" style="text-align:center; color:#FFFFFF; background:#212121; font-size:200%;" | {{{name|<font color="white">Oland</font>}}}
  </image>
|- style="text-align:center;"
  <data source="leader">
|-
    <label>Leader</label>
! colspan="2" style="text-align:center; color:#FFFFFF; background:#212121; font-size:125%;" | {{{name|<font color="white">Silesia</font>}}}
  </data>
|- style="text-align:center;"
  <data source="capital">
|-
    <label>Capital</label>
{{!}}-
  </data>
|-
  <data source="anthem">
{{!}} colspan="2" style="text-align:center;background-color:#;" {{!}}
    <label>Anthem</label>
[[File:Flag of Oland.svg.png|thumb]]
  </data>
|-
  <data source="coat_of_arms">
! colspan="2" style="text-align:center; color:#FFFFFF; background:#212121; font-size:100%;" | {{{name|<font color="white">Coat of Arms</font>}}}
    <label>Coat of Arms</label>
|- style="text-align:center;"
  </data>
|-
  <title source="title2"/>
{{!}} colspan="2" style="text-align:center;background-color:#;" {{!}}
  <data source="political_system">
[[File:CoatsofArms.png|thumb]]
    <label>Political System</label>
|-
  </data>
! colspan="2" style="text-align:center; color:#FFFFFF; background:#212121; font-size:100%;" | {{{name|<font color="white">Territory</font>}}}
  <data source="economic_system">
|- style="text-align:center;"
    <label>Economic System</label>
|-
  </data>
{{!}} colspan="2" style="text-align:center;background-color:#;" {{!}}
  <data source="population">
[[File:Bez nazwy.png|thumb]]
    <label>Population</label>
|-
  </data>
! colspan="2" style="text-align:center; color:#FFFFFF; background:#212121; font-size:100%;" | {{{name|<font color="white">National information</font>}}}
  <data source="largest_town">
|- style="text-align:center;"
    <label>Largest town</label>
|-
  </data>
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
  <title source="title3"/>
| style="{{#if:{{{motto|}}}|'''Motto'''
  <data source="map">
| style="{{#if:{{{motto|}}}| Work with us for better future!
    <label>Map</label>
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
  </data>
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
  <data source="number_of_towns">
| style="{{#if:{{{founded|}}}|'''Founded'''
    <label>Number of towns</label>
| style="{{#if:{{{founded|}}}| August 25th 2022
  </data>
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
  <data source="continent">
| style="{{#if:{{{dusbanded|}}}|'''Disbanded'''
    <label>Continent</label>
| style="{{#if:{{{disbanded|}}}| None
  </data>
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
</infobox>
| style="{{#if:{{{largest_city|}}}|'''Name'''
| style="{{#if:{{{largest_city|}}}| Oland
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{population|}}}|'''Population'''
| style="{{#if:{{{population|}}}| 7
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{religion|}}}|'''Religion'''
| style="{{#if:{{{religion|}}}| Catholic
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{language|}}}|'''Language'''
| style="{{#if:{{{language|}}}| Silesian
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{chunks|}}}|'''Chunks'''
| style="{{#if:{{{chunks|}}}| 70
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
|-
! colspan="2" style="text-align:center; color:#FFFFFF; background:#212121; font-size:100%;" | {{{name|<font color="white">Government Information</font>}}}
|- style="text-align:center;"
|-
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{/leader|}}}|'''Leader'''
| style="{{#if:{{{leader|}}}| MajeraneQ
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{political_system|}}}|'''Political System'''
| style="{{#if:{{{political_system|}}}| Monarchy
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{economic_system|}}}|'''Economic System'''
| style="{{#if:{{{economic_system|}}}| Capitalist
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{dominions|}}}|'''Nation'''
| style="{{#if:{{{dominions|}}}| none
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
|-
|-
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
|}</div>
|}
<noinclude>
<noinclude>
Example usage:<pre>
To insert your own information, simple edit the parts which read "Enter XXXXX" or "Insert XXXXX here"
{{NationInfobox
 
Example Usage:<pre>
{{EnhancedNation
|color=Example
|eras={{Eras|0|1}}
|title1=Example
|title1=Example
|image1=Example
|image1=Example
|caption1=Example
|image2=Example
|image3=Example
|full_name=Example
|national_anthem=[[File:Example.ogg]]
|name_in_towny=Example
|motto=Example
|population=Example
|chunks=Example
|/n_list_page=Example
|capital_city=Example
|largest_city=Example
|oldest_city=Example
|established=Example
|disbanded=Example
|leader=Example
|leader=Example
|capital=Example
|chancellors=Example
|anthem=Example
|prime_minister=Example
|coat_of_arms=Example
|title2=Example
|political_system=Example
|political_system=Example
|economic_system=Example
|economic_system=Example
|population=Example
|official_language=Example
|largest_town=Example
|official_religion=Example
|title3=Example
|army_size=Example
|map=Example
|dominions=Example
|number_of_towns=Example
|part_of=Example
|continent=Example
|past_leaders=Example
|past_capitals=Example
|predecessor=Example
|successor=Example
}}
}}
</pre>
</pre>
</noinclude>