Template:Infobox Country: Difference between revisions

Jump to navigation Jump to search
LBMapper12 (talk | contribs)
No edit summary
LBMapper12 (talk | contribs)
No edit summary
Line 1: Line 1:
<infobox layout="stacked" accent-color-source="themecolor" accent-color-text-source="textcolor">
{| class="infobox geography vcard vevent" style="width:{{{width|290px}}}; border: 1px solid #aaa; border-spacing: 3px; color: black; margin: 0.5em 0 0.5em 1em; padding: 0.2em; float: right; clear: right; font-size: 88%; line-height: 1.5em;"
<title source="name">
|- class="mergedtoprow"
    <default><span style="font-size:{{#switch:{{{font-size|}}}|big=16px|medium=14px|small=12px|#default=16px}}; line-height:120% !important; text-align: center; display: block; padding-top:2px"><big>'''{{{Name}}}'''</big><br/><span style="font-size:80%;">{{{NativeName}}}<br/></span></span></default>
<!-----------------
    <format><span style="font-size:{{#switch:{{{font-size|}}}|big=16px|medium=14px|small=12px|#default=16px}}; line-height:120% !important; text-align: center; display: block; padding-top:2px"><big>'''{{{Name}}}'''</big><br/><span style="font-size:80%; ">{{{NativeName}}}<br/></span></span></format>
  Headings (names)
</title>
------------------>
<group>
|colspan="3" class="fn org summary" style="text-align:center; line-height:1.2em; font-size:135%; font-weight:bold;"| <!--
        <data source="founded"><format><div style="float:left; width:4em; height:1em">{{#if:{{{onlypredecessor|}}}|[[{{{onlypredecessor}}}|←]]&nbsp;{{#if:{{{predicon|}}}|[[File:{{{predicon}}}-icon.png|18x18px|link={{{onlypredecessor}}}]]|<nowiki />}}|[[#before|↓]]}}</div><div style="float:right; width:4em; height:1em">{{#if: {{{onlysuccessor|}}}|{{#if:{{{nexticon|}}}|&nbsp;&nbsp;&nbsp;[[File:{{{nexticon}}}-icon.png|18x18px|link={{{onlysuccessor}}}]]|<nowiki />}}&nbsp;[[{{{onlysuccessor|}}}|→]]|{{#if:{{{successor|}}}|[[#after|↓]]|&nbsp;}}}}</div><center><span style="font-size: 125%; font-weight: bold; line-height:100%">{{#if:{{{founded|}}}|{{{founded}}}|{{#if:{{{ended|}}}|<nowiki />|''Unknown lifespan''}}}}{{#if:{{{founded|}}}{{{ended|}}}|&nbsp;–&nbsp;|<nowiki />}}{{#if:{{{ended|}}}|{{{ended}}}|{{#if:{{{founded|}}}|Present|d.&nbsp;{{{ended}}}}}}}</span></format></data>
-->{{#if:{{{conventional_long_name<includeonly>|</includeonly>}}}
    </group>
        | {{{conventional_long_name}}}
<image source="image"><default>PLB-wordmark.png</default><caption source="Caption"><format><center>{{{Caption}}}</center></format></caption></image>
        | {{#if:{{{native_name|}}}
     <data source="gallery"></data>
          | {{{native_name}}}
<group collapse="open">
          | ''Error: No name(s) given'' {{#if:{{{_noautocat|<noinclude>yes</noinclude>}}}||}}
    <header><center>General Information</center></header>
          }}
        <data source="Founder"><label>Founder:</label></data>
      }}
    <data source="Alias"><label>Aliases:</label></data>
|- class="mergedbottomrow"
    <data source="Time of Exist"><label>Time of Exist:</label></data>
{{#if:{{both|{{{conventional_long_name<includeonly>|</includeonly>}}}|{{{native_name<includeonly>|</includeonly>}}}}}|{{!}}colspan="3" class="fn org summary"  style="text-align:center; line-height:1.2em; font-size:115%; font-weight:bold;"{{!}} {{{native_name}}} }}
    <data source="TimeofExist"><label>Time of Exist:</label></data>
|-
    <data source="Government"><label>Government:</label></data>
<!---------------
    <data source="Population"><label>Population:</label></data>
  Status as a dependency, colony, vassal etc.
    <data source="Area"><label>Territory Size:</label></data>
  Categorisation of this entry is handled in [[Template:Infobox country/autocat]]. This section here is just what will be displayed in the infobox. This has been split up to make the code look clearer. Also, not all statuses need to be displayed (although the optional status_text field will work, regardless of status)
        <data source="Languages"><label>Languages:</label></data>
---------------->
        <data source="Affiliation"><label>Affiliation:</label></data>
{{#if:{{{status<includeonly>|</includeonly>}}}
    <data source="Religions"><label>Religions:</label></data>
| {{#if:{{{status_text|}}}{{{empire|}}}
        <data source="Capital"><label>Capital City:</label></data>
    |{{!}}colspan="3" style="vertical-align:middle; text-align:center; font-size:115%;"{{!}}
        <data source="Diameter"><label>Diameter:</label></data>
    |{{#switch:{{ucfirst:{{{status|}}}}}
        <data source="Mass"><label>Mass:</label></data>
      <!----Values for "status" given in the first line of this #switch will not display the status bar IF nothing is given for "status_text" OR "empire":---->
    </group>
      |Empire |Federation |Federal |Confederation |State union |State Union |Union |City-state |City state |City State |City=
    <group collapse="open">
      |#default={{!}}colspan="3" style="vertical-align:middle; text-align:center; font-size:115%;"{{!}} <!--
    <header><center>Ideological Information</center></header>
  -->}}<!--
    <data source="Influenced By"><label>Influenced By:</label></data>
-->}}<!--
    <data source="Influenced"><label>Influenced:</label></data>
  Display contents of status bar. Vales placed in the first line of the above switch should have their values commented out (within the status_text check):
    <data source="Variations"><label>Variations:</label></data>
-->{{#switch:{{ucfirst:{{{status|}}}}}
    <data source="Notable People"><label>Notable People:</label></data>
    |Empire={{#if:{{{status_text|}}} |{{{status_text}}} |<!--Empire-->}}
    <data source="Notable Examples"><label>Notable Examples:</label></data>
    |Federation |Federal={{#if:{{{status_text|}}} |{{{status_text}}} |<!--Federation-->}}
</group>
     |Confederation={{#if:{{{status_text|}}}|{{{status_text}}} |<!--Confederation-->}}
     <group collapse="open">
    |State union |State Union |Union={{#if:{{{status_text|}}} |{{{status_text}}} |<!--State union-->}}
    <header><center>International Relations</center></header>
    |Special |Special territory={{#if:{{{status_text|}}} |{{{status_text}}} |<!--Special territory-->}}
    <data source="Allies"><label>Friends:</label></data>
    |Unrecognized state |Unrecognised state |Unrecognized State |Unrecognised State
    <data source="Enemies"><label>Enemies:</label></data>
    |Unrecognized |Unrecognised={{#if:{{{status_text|}}} |{{{status_text}}} |[[List of states with limited recognition|Unrecognized state]]}}
</group>
    |City-state |City-State |City state |City State
<group collapse="open">
    |City={{#if:{{{status_text|}}}
    <header><center>Historical Information</center></header>
          | {{{status_text}}}
    <data source="Preceded"><label><div id="before"></div>Preceded By:</label></data>
          | {{#if:{{{empire|}}}
    <data source="Succeeded"><label><div id="after"></div>Succeeded By:</label></data>
              | {{#switch:{{{empire|}}} |Holy Roman Empire |HRE=Free Imperial City of the Holy Roman Empire {{#if:{{{year_end|}}}|{{#ifexpr:{{{year_end}}}>1806|<br/><small>(until 1806)</small>}}|}} |#default=City-state {{#if:{{{empire|}}}|of [[{{{empire}}}]]|}} }}
</group>
              |<!--City-state-->
<group>
            }}<!--
    <header><center>Additional Information</center></header>
      -->}}
    <data source="Motto"><label>Motto:</label></data>
    |Commonwealth realm |Commonwealth Realm={{#if:{{{status_text|}}} |{{{status_text}}} |Commonwealth Realm}}
    <data source="Anthem"><label>Anthem:</label></data>
    |League of Nations Mandate |League of Nations
</group>
    |Mandate={{#if:{{{status_text|}}}
    <group layout="normal">
              | {{{status_text}}}
    <header><center>Personal Information</center></header>
              | {{#if:{{{empire|}}}
    <data source="PersonName"><label>Name:</label></data>
                | Mandate of&nbsp;{{#switch:{{{empire}}} |United Kingdom |UK=the [[United Kingdom]] |#default={{#ifexist:{{{empire}}}|[[{{{empire}}}]]|{{{empire}}}}} }}
    <data source="Born"><label>Date of Birth:</label></data>
                | League of Nations mandate
    <data source="Death"><label>Date of Death:</label></data>
                }}<!--
    <data source="Family"><label>Family Members:</label></data>
          -->}}
    <data source="Job"><label>Occupation:</label></data>
    |United Nations Trust Territory| UN Trust Territory
</group>
     |Trust Territory={{#if:{{{status_text|}}}
</infobox><noinclude>[[Category:Infoboxes]]<templatedata>
                      | {{{status_text}}}
{
                      | Trust Territory <!--
"params": {
                          -->{{#if:{{{empire|}}} |&nbsp;of&nbsp;{{#switch:{{{empire}}} |United Kingdom |UK=the [[United Kingdom]] |United States |US |USA=the [[United States]] |#default={{#ifexist:{{{empire}}}|[[{{{empire}}}]]|{{{empire}}}}} }} }}<!--
"Name": {
                  -->}}
"description": "The character's full name, along with its icons.",
    |Protectorate={{#if:{{{status_text|}}}
"required": true
                  | {{{status_text}}}
},
                  | Protectorate of&nbsp;<!--
"NativeName": {
                    -->{{#if:{{{empire|}}}
"description": "The character's full name, in their native language.",
                        |{{#switch:{{{empire}}} |United Kingdom |UK=the [[United Kingdom]] |United States |US |USA=the [[United States]] |#default={{#ifexist:{{{empire}}}|[[{{{empire}}}]]|{{{empire}}}}} }}
"required": true
                        |whom? {{#if:{{{_noautocat|<noinclude>yes</noinclude>}}}||}}
},
                        }}<!--
"onlypredecessor": {
              -->}}
"description": "The character's main predecessor.",
    |Client |Client state |Client State |Puppet |Puppet-state
"required": true
    |Puppet state={{#if:{{{status_text|}}}
},
                  | {{{status_text}}}
"predicon": {
                  | {{#if:{{{empire|}}}
"description": "The icon of the character's main predecessor.",
                      | {{#switch:{{{empire}}} |First French Empire |France=Client of the First French Empire |#default=Puppet state of {{#ifexist:{{{empire}}}|[[{{{empire}}}]]|{{{empire}}}}} }}
"required": true
                      | Puppet state ''of whom?'' {{#if:{{{_noautocat|<noinclude>yes</noinclude>}}}||}}
},
                    }}<!--
"onlysuccessor": {
              -->}}
"description": "The character's main successor."
    |Vassal={{#if:{{{status_text|}}}
},
            | {{{status_text}}}
"nexticon": {
            | {{#switch:{{{empire|}}} |Holy Roman Empire |HRE=State of the Holy Roman Empire {{#if:{{{year_end|}}}|{{#ifexpr:{{{year_end}}}>1806|<small>(until 1806)</small>}}|}} |#default=Vassal{{#if:{{{empire|}}}|&nbsp;of&nbsp;{{{empire}}}|&nbsp;''of whom?'' {{#if:{{{_noautocat|<noinclude>yes</noinclude>}}}||}}}} }}
"description": "The icon of the character's main successor."
            }}
},
    |Fief={{#if:{{{status_text|}}}
"founded": {
          | {{{status_text}}}
"description": "The year the character is founded.",
          | {{#switch:{{{empire|}}} |#default=Fief{{#if:{{{empire|}}}|&nbsp;of&nbsp;{{{empire}}}|&nbsp;''of whom?'' {{#if:{{{_noautocat|<noinclude>yes</noinclude>}}}||}}}} }}
"required": true
          }}
},
    |Abbey={{#if:{{{status_text|}}}
"ended": {
            | {{{status_text}}}
"description": "The year the character ended."
            | {{#switch:{{{empire|}}} |Holy Roman Empire |HRE=Imperial Abbey of the Holy Roman Empire {{Main other|[[Category:Imperial abbeys|{{{common_name}}}]]}} |#default=Abbey{{#if:{{{empire|}}}|&nbsp;of&nbsp;{{{empire}}}|&nbsp;''of whom?'' {{#if:{{{_noautocat|<noinclude>yes</noinclude>}}}||}}}} }}
},
          }}
"Caption": {
    |Satellite state |Satellite State
"description": "Image's caption."
    |Satellite={{#if:{{{status_text|}}} |{{{status_text}}} | Satellite state of the [[Soviet Union]]}}
},
    |Colony={{#switch:{{ucfirst:{{{empire}}}}}
"image": {
            |United Kingdom |UK |British Empire |Britain=British colony
"description": "The main infobox image, drawn by Heterodontosaurus.",
            |England=English colony
"suggested": true,
            |France |First French Empire| French Empire=French colony
"type": "wiki-file-name",
            |NL |Netherlands |The Netherlands=Dutch colony
"required": true
            |Belgium=Belgian colony
},
            |Spain |Spanish Empire=Spanish colony
"Alias": {
            |Portugal=Portuguese colony
"description": "Other names of the character."
            |Germany |German Empire=German colony
},
            |Italy=Italian colony
"Succeeded": {
            |Sweden={{#if:{{{status_text|}}} |{{{status_text}}} |Swedish colony}}
"description": "The character's successor(s)."
            |Denmark=Danish colony
},
            |Norway=Norwegian colony
"Preceded": {
            |Russia=Russian colony
"description": "The character's predecessor(s)."
            |Japan=Japanese colony
},
            |Cheenarn=[[Cheenarn|Cheenarnian colony]]
"textcolor": {
            |Esceosia=[[Esceosian colonial empire|Esceosian colony]]
"description": "The colour of the title and header text in the infobox.",
            |Illuccia=[[Illucciot Empire|Illuccian colony]]
"required": true
            |Rumas=[[Rumas|Ruman colony]]
},
            |#default=Colony ({{#if:{{{empire|}}} |{{{empire}}}) |''of whom?'') {{#if:{{{_noautocat|<noinclude>yes</noinclude>}}}||}} }}
"themecolor": {
            }}
"description": "The colour of the title and header background in the infobox.",
    |Provisional Government |Provisional government
"required": true
    |Provisional={{#if:{{{status_text|}}} |{{{status_text}}} |Provisional government}}
},
    |Exiled Government |Exiled government
"Founder": {
    |Exile={{#if:{{{year_exile_start|}}}
"description": "The founder of the character. Formatted like (icon) (person) (birth-death)"
            | In exile {{#if:{{{year_exile_end|}}} |({{{year_exile_start}}}{{spaced ndash}}{{{year_exile_end}}}) |since {{{year_exile_start}}} }}
},
            | Government in exile
"Time of Exist": {
          }}
"description": "Time of existence of the character.",
    |#default={{#if:{{{status_text|}}} |{{{status_text}}} |{{{status}}} }}
"suggested": true,
  }}
"aliases": [
}}
"TimeofExist"
|-
]
<!---------------
},
  Start and end dates of the subdivision plus preceding and succeeding entities.
"Government": {
  For the preceding and succeeding entities, give as input the name the territory. If there is already flag at "Image:Flag of _.svg" no address to that image needs to be provided.
"description": "The character’s government type. Preferably used on countries."
---------------->
},
<!----If the number of states is too high, use the pn/sn parameters below---->
"Affiliation": {
|colspan="3" style="vertical-align:middle; text-align:center; border-top:solid 1px #aaa; border-bottom:solid 1px #aaa; padding:0.2em 0em 0.2em 0em;"|
"description": "The character’s affiliations, for countries it’s usually the organizations they are in"
    {| width=100% style="text-align:center; margin:0 auto; background:transparent;"
},
    |-
"Languages": {
    |width=50px style="border:0; vertical-align:middle; font-size:30%; line-height:105%;"| {{#if:{{{p5|}}}|[[#before-after|<span style="font-size:300%;">↓</span>]]| {{#if:{{{p1|}}}|[[{{{p1}}}|<span style="font-size:300%;">←</span>]] {{#if:{{{flag_p1|}}}|[[File:{{{flag_p1}}}|30px{{#ifeq:{{{border_p1}}}|no||{{!}}border}}|link={{{p1}}}|alt=]]|{{#if:{{{image_p1|}}}|{{{image_p1}}}|[[File:Blank.png|30px{{#ifeq:{{{border_p1}}}|no||{{!}}border}}|link={{{p1}}}|alt=]]}}}}<br/>}}{{#if:{{{p2|}}}|&nbsp;<br/>[[{{{p2}}}|<span style="font-size:300%;">←</span>]] {{#if:{{{flag_p2|}}}|[[File:{{{flag_p2}}}|30px{{#ifeq:{{{border_p2}}}|no||{{!}}border}}|link={{{p2}}}|alt=]]|{{#if:{{{image_p2|}}}|{{{image_p2}}}|[[File:Blank.png|30px{{#ifeq:{{{border_p2}}}|no||{{!}}border}}|link={{{p2}}}|alt=]]}}}}<br/>}}{{#if:{{{p3|}}}|&nbsp;<br/>[[{{{p3}}}|<span style="font-size:300%;">←</span>]] {{#if:{{{flag_p3|}}}|[[File:{{{flag_p3}}}|30px{{#ifeq:{{{border_p3}}}|no||{{!}}border}}|link={{{p3}}}|alt=]]|{{#if:{{{image_p3|}}}|{{{image_p3}}}|[[File:Blank.png|30px{{#ifeq:{{{border_p3}}}|no||{{!}}border}}|link={{{p3}}}|alt=]]}}}}<br/>}}{{#if:{{{p4|}}}|&nbsp;<br/>[[{{{p4}}}|<span style="font-size:300%;">←</span>]] {{#if:{{{flag_p4|}}}|[[File:{{{flag_p4}}}|30px{{#ifeq:{{{border_p4}}}|no||{{!}}border}}|link={{{p4}}}|alt=]]|{{#if:{{{image_p4|}}}|{{{image_p4}}}|[[File:Blank.png|30px{{#ifeq:{{{border_p4}}}|no||{{!}}border}}|link={{{p4}}}|alt=]]}}}}<br/>}}{{#if:{{{p5|}}}|&nbsp;<br/>[[{{{p5}}}|<span style="font-size:300%;">←</span>]] {{#if:{{{flag_p5|}}}|[[File:{{{flag_p5}}}|30px{{#ifeq:{{{border_p5}}}|no||{{!}}border}}|link={{{p5}}}|alt=]]|{{#if:{{{image_p5|}}}|{{{image_p5}}}|[[File:Blank.png|30px{{#ifeq:{{{border_p5}}}|no||{{!}}border}}|link={{{p5}}}|alt=]]}}}}<br/>}}}}
"description": "Languages spoken by the character. Primarily used for countries."
    |style="vertical-align:middle; text-align:center; font-size:115%; border:0;" | {{#if:{{{year_end|}}}| {{#if:{{{life_span|}}}|'''{{{life_span}}}''' |'''{{#ifeq:{{{year_start|}}}|{{{year_end}}}|{{{year_start}}}|{{#if:{{{year_start|}}}|{{{year_start}}}–}}{{{year_end}}}}}'''}} |'''Life span?''' }}
},
    |width=50px style="border:0; vertical-align:middle; text-align:right; line-height:105%; font-size:30%;"| {{#if:{{{s5|}}}|[[#before-after|<span style="font-size:300%;">↓</span>]]| {{#if:{{{s1|}}}|{{#if:{{{flag_s1|}}}|[[File:{{{flag_s1}}}|30px{{#ifeq:{{{border_s1}}}|no||{{!}}border}}|link={{{s1}}}|alt=]]|{{#if:{{{image_s1|}}}|{{{image_s1}}}|[[File:Blank.png|30px{{#ifeq:{{{border_s1}}}|no||{{!}}border}}|link={{{s1}}}|alt=]]}}}} [[{{{s1}}}|<span style="font-size:300%;">→</span>]]<br/>}}{{#if:{{{s2|}}}|&nbsp;<br/>{{#if:{{{flag_s2|}}}|[[File:{{{flag_s2}}}|30px{{#ifeq:{{{border_s2}}}|no||{{!}}border}}|link={{{s2}}}|alt=]]|{{#if:{{{image_s2|}}}|{{{image_s2}}}|[[File:Blank.png|30px{{#ifeq:{{{border_s2}}}|no||{{!}}border}}|link={{{s2}}}|alt=]]}}}} [[{{{s2}}}|<span style="font-size:300%;">→</span>]]<br/>}} {{#if:{{{s3|}}}|&nbsp;<br/>{{#if:{{{flag_s3|}}}|[[File:{{{flag_s3}}}|30px{{#ifeq:{{{border_s3}}}|no||{{!}}border}}|link={{{s3}}}|alt=]]|{{#if:{{{image_s3|}}}|{{{image_s3}}}|[[File:Blank.png|30px{{#ifeq:{{{border_s3}}}|no||{{!}}border}}|link={{{s3}}}|alt=]]}}}} [[{{{s3}}}|<span style="font-size:300%;">→</span>]]<br/>}}{{#if:{{{s4|}}}|&nbsp;<br/>{{#if:{{{flag_s4|}}}|[[File:{{{flag_s4}}}|30px{{#ifeq:{{{border_s4}}}|no||{{!}}border}}|link={{{s4}}}|alt=]]|{{#if:{{{image_s4|}}}|{{{image_s4}}}|[[File:Blank.png|30px{{#ifeq:{{{border_s4}}}|no||{{!}}border}}|link={{{s4}}}|alt=]]}}}} [[{{{s4}}}|<span style="font-size:300%;">→</span>]]<br/>}}{{#if:{{{s5|}}}|&nbsp;<br/>{{#if:{{{flag_s5|}}}|[[File:{{{flag_s5}}}|30px{{#ifeq:{{{border_s5}}}|no||{{!}}border}}|link={{{s5}}}|alt=]]|{{#if:{{{image_s5|}}}|{{{image_s5}}}|[[File:Blank.png|30px{{#ifeq:{{{border_s5}}}|no||{{!}}border}}|link={{{s5}}}|alt=]]}}}} [[{{{s5}}}|<span style="font-size:300%;">→</span>]]<br/>}}}}
"Religions": {
    |}
"description": "Religions believed by the character. Primarily used for countries"
<!----------------------
},
  Flag and coat of arms
"Allies": {
----------------------->
"description": "The character’s friends/allies. Ideologies don’t use this parameter, they use Likes instead."
{{#if:{{{image_flag<includeonly>|</includeonly>}}}
},
| {{#if:{{{image_coat<includeonly>|</includeonly>}}}
"Enemies": {
    |<!--then:-->
"description": "Motto"
{{!}}- class="mergedtoprow" style="border-top: 1px solid #aaa; padding: 0.4em 0.6em 0.2em 0.6em;"
},
{{!}}colspan="3" class="maptable"{{!}} <!--start subtable:-->
"Motto": {
{{{!}} width=100% style="text-align:center; margin:0 auto; background:none;"
"description": "Songs relating to the character, linking to another section of this wiki where the lyrics are located."
{{!}}-
},
{{!}}style="text-align:center;border:0; vertical-align:middle;"{{!}} [[File:{{{image_flag|<noinclude>Flag of None.svg.png</noinclude>}}}|{{{flag_size|125px}}}|alt={{{flag_alt|}}}|Flag{{#ifeq:{{{flag_border|}}}|no||{{!}}border}}]]{{#if:{{{image_flag2|}}}|<br/><br/>[[File:{{{image_flag2}}}|{{{flag_size|125px}}}|alt={{{flag_alt2|}}}]]}}
"Anthem": {
{{!}}style="text-align:center;border:0; vertical-align:middle;"{{!}} [[File:{{{image_coat|<noinclude>Coats of arms of None.svg.png</noinclude>}}}|{{{coa_size|85px}}}|alt={{{coat_alt|}}}|Coat of arms]]
"description": "Songs relating to the character, linking to another section of this wiki where the lyrics are located."
{{!}}- style="font-size:95%;"
},
{{!}} style="border:0; text-align:center;"{{!}} {{#if:{{{flag|}}}|[[{{{flag}}}|{{#if:{{{flag_type|}}}|{{{flag_type}}}|Flag}}]]| {{#ifexist:Flag of {{{common_name}}}|[[Flag of {{{common_name}}}|{{#if:{{{flag_type|}}}|{{{flag_type}}}|Flag}}]]| {{#ifexist:Flag of the {{{common_name}}}|[[Flag of the {{{common_name}}}|{{#if:{{{flag_type|}}}|{{{flag_type}}}|Flag}}]] |{{#if:{{{flag_type|}}}|{{{flag_type}}}|Flag}}}}}}}}
"Capital": {
{{!}} style="border:0; text-align:center;"{{!}} {{#if:{{{symbol|}}}|[[{{{symbol}}}|{{#if:{{{symbol_type|}}}|{{{symbol_type}}}|Coat of arms}}]]|{{#ifexist:Coat of arms of {{{common_name}}}|[[Coat of arms of {{{common_name}}}|{{#if:{{{symbol_type|}}}|{{{symbol_type}}}|Coat of arms}}]]|{{#ifexist:Coat of arms of the {{{common_name}}}|[[Coat of arms of the {{{common_name}}}|{{#if:{{{symbol_type|}}}|{{{symbol_type}}}|Coat of arms}}]]|{{#if:{{{symbol_type|}}}|{{{symbol_type}}}|Coat of arms}}}}}}}}
"description": "The character’s capital city. Primarily used for countries."
<!--end subtable:-->
}
{{!}}}
},
    |<!--else:-->
"paramOrder": [
{{!}}- class="mergedtoprow"
"Name",
{{!}}colspan="3" class="maptable" style="text-align:center"{{!}}
"NativeName",
[[File:{{{image_flag|<noinclude>Sin bandera.svg</noinclude>}}}|125px{{#ifeq:{{{flag_border|}}}|no||{{!}}border}}|alt={{{flag_alt|}}}|Flag of {{{common_name}}}]]<br/>{{#if:{{{image_flag2|}}}|[[File:{{{image_flag2}}}|125px{{#ifeq:{{{flag_border|}}}|no||{{!}}border}}|alt={{{flag_alt2|}}}|]]<br/>}} {{#if:{{{flag|}}}|[[{{{flag}}}|{{#if:{{{flag_type|}}}|{{{flag_type}}}|Flag}}]]| {{#ifexist:Flag of {{{common_name}}}|[[Flag of {{{common_name}}}|{{#if:{{{flag_type|}}}|{{{flag_type}}}|Flag}}]]| {{#ifexist:Flag of the {{{common_name}}}|[[Flag of the {{{common_name}}}|{{#if:{{{flag_type|}}}|{{{flag_type}}}|Flag}}]] |{{#if:{{{flag_type|}}}|{{{flag_type}}}|Flag}} }} }} }}
"founded",
  }}
"onlypredecessor",
}}
"predicon",
|-
"ended",
{{#if:{{{image_flag|}}} |
"onlysuccessor",
| {{#if:{{{image_coat|}}} |
"nexticon",
{{!}}colspan="3" class="maptable" style="text-align:center"{{!}}
"image",
[[File:{{{image_coat|<noinclude>Sin escudo.svg</noinclude>}}}|{{{coa_size|85px}}}|alt={{{coat_alt|}}}|{{#if:{{{symbol_type|}}}|{{{symbol_type}}}|Coat of arms}} of {{{common_name}}}]] <br/> {{#if:{{{symbol|}}}|[[{{{symbol}}}|{{#if:{{{symbol_type|}}}|{{{symbol_type}}}|Coat of arms}}]]|{{#ifexist:Coat of arms of {{{common_name}}}|[[Coat of arms of {{{common_name}}}|{{#if:{{{symbol_type|}}}|{{{symbol_type}}}|Coat of arms}}]]|{{#ifexist:Coat of arms of the {{{common_name}}}|[[Coat of arms of the {{{common_name}}}| |{{#if:{{{symbol_type|}}}|{{{symbol_type}}}|Coat of arms}}]]|{{#if:{{{symbol_type|}}}|{{{symbol_type}}}|Coat of arms}} }} }} }}
"Caption",
  }}
"Founder",
}}
"Alias",
|-
"Time of Exist",
<!---------------
"Government",
  Motto
"Languages",
---------------->
"Affiliation",
{{#if:{{{national_motto<includeonly>|</includeonly>}}} |
"Religions",
{{!}}colspan="3" style="vertical-align:top; text-align:center; font-size:95%; border-top:solid 1px #aaa;"{{!}} '''Motto'''<br/>{{{national_motto}}}
"Capital",
}}
"Allies",
|-
"Enemies",
<!---------------
"Preceded",
  Anthem
"Succeeded",
---------------->
"Motto",
{{#if:{{{national_anthem<includeonly>|</includeonly>}}} |
"Anthem",
{{!}}colspan="3" style="vertical-align:top; text-align:center; font-size:95%; border-top:solid 1px #aaa; border-bottom:solid 1px #aaa;"{{!}} '''Anthem'''<br/>{{#ifexist:{{{national_anthem}}} |{{{national_anthem}}} |{{{national_anthem}}} }}
"textcolor",
}}
"themecolor"
|-
],
<!---------------
"description": "The infobox you use for all the character pages. Warning: editing from this infobox in visual edit mode adds some unnecessary code that mess up the page. Make sure to remove it before you save."
  Map/s
}
---------------->
</templatedata></noinclude>
{{#if:{{{image_map<includeonly>|</includeonly>}}}
|{{!}}colspan="3" style="text-align:center; font-size:95%; padding:0.6em 0em 0.6em 0em; border-bottom:solid 1px #aaa;"{{!}}<!--
  -->[[File:{{{image_map|<noinclude>Missing map.svg</noinclude>}}}|{{{image_map_size|250px}}}|center|alt={{{image_map_alt|}}}|Location of {{{common_name}}}]]<!--
  -->{{#if:{{{image_map_caption<includeonly>|</includeonly>}}} |<div style="padding:0.5em 0.5em 0;line-height:1.25em;font-size:90%;">{{{image_map_caption}}}</div>}}
| {{#if:{{{location_map|}}}
    |{{!}}colspan="3" style="text-align:center; font-size:95%; padding:0.6em 0em 0.6em 0em;"{{!}} {{{location_map}}}
  }}
}}
{{#if:{{{image_map2|}}} |
{{!}}- class="mergedtoprow"
{{!}}colspan="3" style="text-align:center; padding:0.6em 0em; border-bottom:solid 1px #aaa;"{{!}}<!--
  -->[[File:{{{image_map2}}}|{{{image_map2_size|280px}}}|center|alt={{{image_map2_alt|}}}|Location of {{{common_name}}}]]<!--
  -->{{#if:{{{image_map2_caption|}}} |<div style="padding-top:0.5em;line-height:1.25em;font-size:90%;">{{{image_map2_caption}}}</div>}}</small>
}}
<!---------------
  Capital
---------------->
|- {{#if:{{{capital_exile|}}} | {{!}}class="mergedtoprow" style="border-bottom:solid 1px #aaa;"}}
{{#ifeq:{{{capital|}}}|omitted | |
{{!}}colspan="2" style="vertical-align: top; text-align: left;"{{!}} {{{capital_name|'''Capital'''}}}
<!----Width of column 3 (of 3) specified here:---->
{{!}}width=50% style="vertical-align: top; text-align: left;"{{!}} {{#if:{{{capital|}}} |{{#ifeq:{{{capital}}}|Unknown |''Unknown'' |{{#ifexist:{{{capital}}} |[[{{{capital|}}}]] |{{{capital|}}} }} }} |''Not specified''}}
}}
|- {{#ifeq:{{{capital|}}}|omitted | |class="mergedbottomrow" style="border-bottom:solid 1px #aaa;"}}
<!-----Capital-in-exile----->
{{#if:{{{capital_exile|}}} |
{{!}}colspan="2" style="vertical-align: top; text-align: left;"{{!}} '''Capital-in-exile'''
{{!}} {{#ifexist:{{{capital_exile}}} |[[{{{capital_exile|}}}]] |{{{capital_exile|}}} }}
}}
|-
<!-----------------
  Largest city
------------------>
{{#if:{{{largest_city<includeonly>|</includeonly>}}}|
{{!}}colspan="2" style="vertical-align: top; text-align: left;" {{!}} '''Largest city'''
{{!}} {{#ifexist:{{{largest_city}}}|{{{largest_city}}}|{{{largest_city}}}}}
}}
|-
<!-----------------
  Largest settlement
------------------>
{{#if:{{{largest_settlement<includeonly>|</includeonly>}}}|
{{!}}colspan="2" style="vertical-align: top; text-align: left;" {{!}} '''Largest {{{largest_settlement_type|settlement}}}'''
{{!}} {{#ifexist:{{{largest_settlement}}}|{{{largest_settlement}}}|{{{largest_settlement}}}}}
}}
|-
<!-----------------
  Common languages
------------------>
{{#if:{{{common_languages<includeonly>|</includeonly>}}} |
{{!}}colspan="2" style="vertical-align: top; text-align: left;" {{!}} {{{lang_name|'''Languages'''}}}
{{!}} style="vertical-align:top; text-align:left" {{!}} {{#ifexist:{{{common_languages}}} language |{{{common_languages}}} |{{#ifexist:{{{common_languages}}} |{{{common_languages}}} |{{{common_languages}}} }} }}
}}
|-
<!-----------------
Official languages
------------------>
{{#if:{{{official_languages<includeonly>|</includeonly>}}} |
{{!}}colspan="2" style="vertical-align: top; text-align: left;" {{!}} {{{lang2_name|'''Official languages'''}}}
{{!}} style="vertical-align:top; text-align:left" {{!}} {{#ifexist:{{{official_languages}}} language |{{{official_languages}}} |{{#ifexist:{{{official_languages}}} |{{{official_languages}}} |{{{official_languages}}} }} }}
}}
|-
<!-----------------
  Common languages
------------------>
{{#if:{{{regional_languages<includeonly>|</includeonly>}}} |
{{!}}colspan="2" style="vertical-align: top; text-align: left;" {{!}} {{{lang3_name|Recognised regional languages}}}
{{!}} style="vertical-align:top; text-align:left" {{!}} {{#ifexist:{{{regional_languages}}} language |{{{regional_languages}}} |{{#ifexist:{{{regional_languages}}} |{{{regional_languages}}} |{{{regional_languages}}} }} }}
}}
|-
<!---------------
  Ethnic groups
---------------->
{{#if:{{{ethnic_groups<includeonly>|</includeonly>}}}|
{{!}}colspan="2" style="vertical-align: top; text-align: left;" {{!}} '''[[Ethnic groups]]'''
{{!}} {{#ifexist:{{{ethnic_groups}}}|{{{ethnic_groups}}}|{{{ethnic_groups}}}}}
}}
|-
<!---------------
  Demonym
---------------->
{{#if:{{{demonym<includeonly>|</includeonly>}}} |
{{!}}colspan="2" style="vertical-align: top; text-align: left;"{{!}} '''[[Demonym]]'''
{{!}} {{#ifexist:{{{demonym}}} people |{{{demonym}}} |{{#ifexist:{{{demonym}}} |{{{demonym}}} |{{{demonym}}} }} }}
}}
|-
<!---------------
  Religion
---------------->
{{#if: {{{religion<includeonly>|</includeonly>}}}|
{{!}}colspan="2" style="vertical-align: top; text-align: left;"{{!}} '''Religion'''
{{!}} {{#ifexist:{{{religion}}}|{{{religion}}}|{{{religion}}}}}
}}
<!-----------------------
  Government and leaders
------------------------>
|- {{#if:{{{title_leader|}}}{{{title_deputy|}}}{{{title_representative|}}} |class="mergedtoprow"}}
|colspan="2" style="vertical-align: top; text-align: left;"| '''{{#if:{{{government_type|}}}
                  | {{{title_government|Government}}}
                  | {{#if:{{{status|}}} |Political structure |{{{title_government|Government}}}}}
                }}'''
| {{#if:{{{government_type|}}}
  | {{#switch:{{ucfirst:{{{government_type}}}}}
      |Constitutional monarchy |Constitutional Monarchy|Elective monarchy|Elective Monarchy |Absolute Monarchy |Absolute monarchy
      |Monarchy={{{government_type}}} <!--
      -->{{#if:{{{_noautocat|<noinclude>yes</noinclude>}}} |
          |{{Main other|{{#switch:{{{continent}}}
            |Europe=[[Category:Former monarchies of Europe|{{{common_name}}}, {{{year_start}}}]]
            |Asia=[[Category:Former monarchies of Asia|{{{common_name}}}, {{{year_start}}}]]
            |North America=[[Category:Former monarchies of North America|{{{common_name}}}, {{{year_start}}}]]
            |South America=[[Category:Former monarchies of South America|{{{common_name}}}, {{{year_start}}}]]
            |Africa=[[Category:Former monarchies of Africa|{{{common_name}}}, {{{year_start}}}]]
            |Oceania=[[Category:Former monarchies of Oceania|{{{common_name}}}, {{{year_start}}}]]
            |Eurasia=[[Category:Former monarchies of Europe|{{{common_name}}}, {{{year_start}}}]][[Category:Former monarchies of Asia|{{{common_name}}}, {{{year_start}}}]]
            |Afroasia=[[Category:Former monarchies of Africa|{{{common_name}}}, {{{year_start}}}]][[Category:Former monarchies of Asia|{{{common_name}}}, {{{year_start}}}]]
            |Afroeurasia=[[Category:Former monarchies of Europe|{{{common_name}}}, {{{year_start}}}]][[Category:Former monarchies of Asia|{{{common_name}}}, {{{year_start}}}]][[Category:Former monarchies of Africa|{{{common_name}}}, {{{year_start}}}]]
            }} }}
          }}
      |Republic|Federal Republic|Federal republic=[[Republic]] {{#if:{{{_noautocat|<noinclude>yes</noinclude>}}} | |{{Main other|{{{common_name}}}, {{{year_start}}}]]}} }}
      |Principality=
        {{#switch:{{{empire}}}
          |Holy Roman Empire|HRE=[[Princes of the Holy Roman Empire|Principality]]
          |#default=[[Principality]]
        }}
        {{#if:{{{_noautocat|<noinclude>yes</noinclude>}}} | |{{Main other|[[Category:Former principalities|{{{common_name}}}, {{{year_start}}}]]}} }}
      |Emirate=Emirate {{#if:{{{_noautocat|<noinclude>yes</noinclude>}}} | |{{Main other|[[Category:Former emirates|{{{common_name}}}, {{{year_start}}}]]}} }}
      |Socialist republic |Socialist Republic |Socialist State
      |Socialist state=Socialist republic {{#if:{{{_noautocat|<noinclude>yes</noinclude>}}} | |{{Main other|[[Category:Former socialist republics|{{{common_name}}}, {{{year_start}}}]]}} }}
      |Military dictatorship |Military Dictatorship |Dictatorship=Dictatorship
      |Theocracy=Theocracy {{#if:{{{_noautocat|<noinclude>yes</noinclude>}}} | |{{Main other|[[Category:Former theocracies|{{{common_name}}}, {{{year_start}}}]]}} }}
      |Unknown=''Unknown''
      |Various=
      |#default={{#ifexist:{{{government_type}}} |[[{{{government_type}}}]] |{{{government_type}}} }}<!----''Value specified for "government_type" [[Template:Infobox country/doc#Politics|does not comply]]''---->{{ns0}}
    }}
  | {{#if:{{{status|}}}
      | {{#ifexist:{{{status}}} |{{{status}}} |{{{status}}} }}
      | ''Not specified''
    }}
  }}
|- class="{{#if:{{{year_leader1<includeonly>|</includeonly>}}}{{{leader2|}}}{{{deputy1|}}}{{{representative1|}}} |mergedrow|mergedbottomrow}}"
<!-----
Head of state ("leader" parameters).
For colonies and dependant territories, this is still the head of the ruling entity (e.g. the head of state of a British colony is the British monarch).
------>
{{#if:{{{leader1<includeonly>|</includeonly>}}}
|{{!}}colspan="2"{{!}} <!--
        -->'''{{#if:{{{title_leader<includeonly>|</includeonly>}}}
              | {{{title_leader}}}
              | {{#switch:{{{government_type}}}
                  |Constitutional monarchy
                  |Monarchy={{#ifexist:King of {{{common_name}}}
                            |[[King of {{{common_name}}}{{!}}King]]
                            |{{#ifexist:King of the {{{common_name}}} |[[King of the {{{common_name}}}{{!}}King]] |King}}
                            }}
                  | {{#ifexist:President of {{{common_name}}}
                    |[[President of {{{common_name}}}{{!}}President]]
                    |{{#ifexist:President of the {{{common_name}}} |[[President of the {{{common_name}}}{{!}}President]] |President}}
                    }}
                }}<!--
          -->}}''' {{#if:{{{year_leader1<includeonly>|</includeonly>}}}
                    |{{!!}}
                    |{{!!}}style="vertical-align:bottom;"{{!}} {{#ifexist:{{{leader1}}} |[[{{{leader1}}}]] |{{{leader1}}}}}<!--
                -->}}
{{!}}- class="{{#if:{{{leader2|}}}{{{representative1<includeonly>|</includeonly>}}}{{{deputy1|}}} |mergedrow|mergedbottomrow}}"
  {{#if:{{{year_leader1<includeonly>|</includeonly>}}}
<!-----
Width of first column (for the dashes before names, events, etc) first defined here:
------>
  |{{!}}style="width:1.0em; padding:0 0 0 0.6em;"{{!}}&nbsp;-&nbsp;
    {{!}}style="padding-left:0;text-align:left;"{{!}} {{{year_leader1}}}
    {{!}} {{#ifexist:{{{leader1}}}|{{{leader1}}}|{{{leader1}}}}}
  }}
}}
{{!}}- class="{{#if:{{{leader3|}}}{{{representative1<includeonly>|</includeonly>}}}{{{deputy1|}}} |mergedrow|mergedbottomrow}}"
{{#if:{{{leader2|}}} |
{{!}}style="width:1.0em; padding:0 0 0 0.6em;"{{!}} {{#if:{{{year_leader2|}}} |&nbsp;-&nbsp;{{!!}}style="padding-left:0;text-align:left;"{{!}}{{{year_leader2}}} |{{!!}} }}
{{!}} {{#ifexist:{{{leader2}}} |{{{leader2}}} |{{{leader2}}} }}
}}
{{!}}- class="{{#if:{{{leader4|}}}{{{representative1<includeonly>|</includeonly>}}}{{{deputy1|}}} |mergedrow|mergedbottomrow}}"
{{#if:{{{leader3|}}} |
{{!}}style="width:1.0em; padding:0 0 0 0.6em;"{{!}} {{#if:{{{year_leader3|}}} |&nbsp;-&nbsp;{{!!}}style="padding-left:0;text-align:left;"{{!}}{{{year_leader3}}} |{{!!}} }}
{{!}} {{#ifexist:{{{leader3}}} |{{{leader3}}} |{{{leader3}}} }}
}}
{{!}}- class="{{#if:{{{leader5|}}}{{{representative1<includeonly>|</includeonly>}}}{{{deputy1|}}} |mergedrow|mergedbottomrow}}"
{{#if:{{{leader4|}}} |
{{!}}style="width:1.0em; padding:0 0 0 0.6em;"{{!}} {{#if:{{{year_leader4|}}} |&nbsp;-&nbsp;{{!!}}style="padding-left:0;text-align:left;"{{!}}{{{year_leader4}}} |{{!!}} }}
{{!}} {{#ifexist:{{{leader4}}} |{{{leader4}}} |{{{leader4}}} }}
}}
{{!}}- class="{{#if:{{{leader6|}}}{{{representative1<includeonly>|</includeonly>}}}{{{deputy1|}}} |mergedrow|mergedbottomrow}}"
{{#if:{{{leader5|}}} |
{{!}}style="width:1.0em; padding:0 0 0 0.6em;"{{!}} {{#if:{{{year_leader5|}}} |&nbsp;-&nbsp;{{!!}}style="padding-left:0;text-align:left;"{{!}}{{{year_leader5}}} |{{!!}} }}
{{!}} {{#ifexist:{{{leader5}}} |{{{leader5}}} |{{{leader5}}} }}
}}
{{!}}- class="{{#if:{{{leader7|}}}{{{representative1<includeonly>|</includeonly>}}}{{{deputy1|}}} |mergedrow|mergedbottomrow}}"
{{#if:{{{leader6|}}} |
{{!}}style="width:1.0em; padding:0 0 0 0.6em;"{{!}} {{#if:{{{year_leader6|}}} |&nbsp;-&nbsp;{{!!}}style="padding-left:0;text-align:left;"{{!}}{{{year_leader6}}} |{{!!}} }}
{{!}} {{#ifexist:{{{leader6}}} |{{{leader6}}} |{{{leader6}}} }}
}}
{{!}}- class="{{#if:{{{leader8|}}}{{{representative1<includeonly>|</includeonly>}}}{{{deputy1|}}} |mergedrow|mergedbottomrow}}"
{{#if:{{{leader7|}}} |
{{!}}style="width:1.0em; padding:0 0 0 0.6em;"{{!}} {{#if:{{{year_leader7|}}} |&nbsp;-&nbsp;{{!!}}style="padding-left:0;text-align:left;"{{!}}{{{year_leader7}}} |{{!!}} }}
{{!}} {{#ifexist:{{{leader7}}} |{{{leader7}}} |{{{leader7}}} }}
}}
{{!}}- class="{{#if:{{{leader9<includeonly>|</includeonly>}}}{{{representative1|}}}{{{deputy1|}}} |mergedrow|mergedbottomrow}}"
{{#if:{{{leader8|}}} |
{{!}}style="width:1.0em; padding:0 0 0 0.6em;"{{!}} {{#if:{{{year_leader8|}}} |&nbsp;-&nbsp;{{!!}}style="padding-left:0;text-align:left;"{{!}}{{{year_leader8}}} |{{!!}} }}
{{!}} {{#ifexist:{{{leader8}}} |{{{leader8}}} |{{{leader8}}} }}
}}
{{!}}- class="{{#if:{{{deputy1<includeonly>|</includeonly>}}}{{{representative1|}}} |mergedrow|mergedbottomrow}}"
{{#if:{{{leader9<includeonly>|</includeonly>}}} |
{{!}}style="width:1.0em; padding:0 0 0 0.6em;"{{!}} {{#if:{{{year_leader9<includeonly>|</includeonly>}}} |&nbsp;-&nbsp;{{!!}}style="padding-left:0;text-align:left;"{{!}}{{{year_leader9}}} |{{!!}} }}
{{!}} {{#ifexist:{{{leader9}}} |{{{leader9}}} |{{{leader9}}} }}
}}
<!-----
Representative of head of state (eg. colony governors)
------>
|- class="{{#if:{{{year_representative1<includeonly>|</includeonly>}}}{{{representative2|}}}{{{deputy1|}}} |mergedrow|mergedbottomrow}}"
{{#if:{{{representative1<includeonly>|</includeonly>}}}
|{{!}}colspan="2"{{!}} <!--
  -->'''{{#if:{{{title_representative<includeonly>|</includeonly>}}}
        | {{{title_representative}}}
        | {{#ifexist:Governor of {{{common_name}}}
            | [[Governor of {{{common_name}}}{{!}}Governor]]
            | {{#ifexist:Governor of the {{{common_name}}}
              | [[Governor of the {{{common_name}}}{{!}}Governor]]
              | Governor}} }}
        }}'''
  {{#if:{{{year_representative1<includeonly>|</includeonly>}}}
  |{{!}}
  |{{!}}style="vertical-align:bottom;"{{!}} {{#ifexist:{{{representative1}}}|{{{representative1}}}|{{{representative1}}} }}
  }}
  {{!}}- class="{{#if:{{{representative2|}}}{{{deputy1<includeonly>|</includeonly>}}} |mergedrow|mergedbottomrow}}"
  {{#if:{{{year_representative1<includeonly>|</includeonly>}}}
  |{{!}}style="width:1.0em; padding:0 0 0 0.6em;"{{!}}&nbsp;-&nbsp;{{!!}}style="padding-left:0;text-align:left;"{{!}}{{{year_representative1}}}{{!!}} {{#ifexist:{{{representative1}}} |{{{representative1}}} |{{{representative1}}} }}
  }}
}}
{{!}}- class="{{#if:{{{representative3|}}}{{{deputy1<includeonly>|</includeonly>}}} |mergedrow|mergedbottomrow}}"
{{#if:{{{representative2|}}} |
{{!}}style="width:1.0em; padding:0 0 0 0.6em;"{{!}} {{#if:{{{year_representative2|}}} |&nbsp;-&nbsp;{{!!}}style="padding-left:0;text-align:left;"{{!}}{{{year_representative2}}} |{{!!}} }}
{{!!}} {{#ifexist:{{{representative2}}} |{{{representative2}}} |{{{representative2}}} }}
}}
{{!}}- class="{{#if:{{{representative3|}}}{{{deputy1<includeonly>|</includeonly>}}} |mergedrow|mergedbottomrow}}"
{{#if:{{{representative3|}}} |
{{!}}style="width:1.0em; padding:0 0 0 0.6em;"{{!}} {{#if:{{{year_representative3|}}} |&nbsp;-&nbsp;{{!!}}style="padding-left:0;text-align:left;"{{!}}{{{year_representative3}}} |{{!!}} }}
{{!!}} {{#ifexist:{{{representative3}}} |{{{representative3}}} |{{{representative3}}} }}
}}
{{!}}- class="{{#if:{{{representative5<includeonly>|</includeonly>}}}{{{deputy1|}}} |mergedrow|mergedbottomrow}}"
{{#if:{{{representative4|}}} |
{{!}}style="width:1.0em; padding:0 0 0 0.6em;"{{!}} {{#if:{{{year_representative4|}}} |&nbsp;-&nbsp;{{!!}}style="padding-left:0;text-align:left;"{{!}}{{{year_representative4}}} |{{!!}} }}
{{!!}}{{#ifexist:{{{representative4}}} |{{{representative4}}} |{{{representative4}}} }}
}}
{{!}}- class="{{#if:{{{deputy1<includeonly>|</includeonly>}}} |mergedrow|mergedbottomrow}}"
{{#if:{{{representative5<includeonly>|</includeonly>}}} |
{{!}}style="width:1.0em; padding:0 0 0 0.6em;"{{!}} {{#if:{{{year_representative5<includeonly>|</includeonly>}}} |&nbsp;-&nbsp;{{!!}}style="padding-left:0;text-align:left;"{{!}}{{{year_representative5}}} |{{!!}} }}
{{!!}} {{#ifexist:{{{representative5}}} |{{{representative5}}} |{{{representative5}}} }}
}}
<!-----
Head of government (if different from head of state) or second-in-charge, etc.
("deputy" parameters)
------>
|- class="{{#if:{{{year_deputy1<includeonly>|</includeonly>}}}{{{deputy2|}}} |mergedrow|mergedbottomrow}}"
{{#if:{{{deputy1<includeonly>|</includeonly>}}}
|{{!}}colspan="2"{{!}} <!--
    -->'''{{#if:{{{title_deputy<includeonly>|</includeonly>}}}
          | {{{title_deputy}}}
          | {{#ifexist:Prime Minister of {{{common_name}}}
              | [[Prime Minister of {{{common_name}}}{{!}}Prime Minister]]
              | {{#ifexist:Prime Minister of the {{{common_name}}}
                | [[Prime Minister of the {{{common_name}}}{{!}}Prime Minister]]
                |Prime Minister}} }}
          }}'''
  {{#if:{{{year_deputy1<includeonly>|</includeonly>}}}
  |{{!}}
  |{{!}}style="vertical-align:bottom;"{{!}} {{#ifexist:{{{deputy1}}} |{{{deputy1}}} |{{{deputy1}}} }}
  }}
{{!}}- class="{{#if:{{{deputy2<includeonly>|</includeonly>}}} |mergedrow|mergedbottomrow}}"
{{#if:{{{year_deputy1<includeonly>|</includeonly>}}} |
{{!}}style="width:1.0em; padding:0 0 0 0.6em;"{{!}}&nbsp;-&nbsp;{{!!}}style="padding-left:0;text-align:left;"{{!}}{{{year_deputy1}}}
{{!}} {{#ifexist:{{{deputy1}}} |{{{deputy1}}} |{{{deputy1}}} }}
}}
}}
{{!}}- class="{{#if:{{{deputy3|}}} |mergedrow|mergedbottomrow}}"
{{#if:{{{deputy2|}}} |
{{!}}style="width:1.0em; padding:0 0 0 0.6em;"{{!}} {{#if:{{{year_deputy2|}}} |&nbsp;-&nbsp;{{!!}}style="padding-left:0;text-align:left;"{{!}}{{{year_deputy2}}} |{{!!}} }}
{{!!}} {{#ifexist:{{{deputy2}}} |{{{deputy2}}} |{{{deputy2}}} }}
}}
{{!}}- class="{{#if:{{{deputy4|}}} |mergedrow|mergedbottomrow}}"
{{#if:{{{deputy3|}}} |
{{!}}style="width:1.0em; padding:0 0 0 0.6em;"{{!}} {{#if:{{{year_deputy3|}}} |&nbsp;-&nbsp;{{!!}}style="padding-left:0;text-align:left;"{{!}}{{{year_deputy3}}} |{{!!}} }}
{{!!}} {{#ifexist:{{{deputy3}}} |{{{deputy3}}} |{{{deputy3}}} }}
}}
{{!}}- class="{{#if:{{{deputy5|}}} |mergedrow|mergedbottomrow}}"
{{#if:{{{deputy4|}}} |
{{!}}style="width:1.0em; padding:0 0 0 0.6em;"{{!}} {{#if:{{{year_deputy4|}}} |&nbsp;-&nbsp;{{!!}}style="padding-left:0;text-align:left;"{{!}}{{{year_deputy4}}} |{{!!}} }}
{{!!}} {{#ifexist:{{{deputy4}}} |[{{{deputy4}}} |{{{deputy4}}} }}
}}
{{!}}- class="{{#if:{{{deputy6<includeonly>|</includeonly>}}} |mergedrow|mergedbottomrow}}"
{{#if:{{{deputy5|}}} |
{{!}}style="width:1.0em; padding:0 0 0 0.6em;"{{!}} {{#if:{{{year_deputy5|}}} |&nbsp;-&nbsp;{{!!}}style="padding-left:0;text-align:left;"{{!}}{{{year_deputy5}}} |{{!!}} }}
{{!!}} {{#ifexist:{{{deputy5}}} |{{{deputy5}}} |{{{deputy5}}} }}
}}
{{!}}- class="mergedbottomrow"
{{#if:{{{deputy6<includeonly>|</includeonly>}}} |
{{!}}style="width:1.0em; padding:0 0 0 0.6em;"{{!}} {{#if:{{{year_deputy6<includeonly>|</includeonly>}}} |&nbsp;-&nbsp;{{!!}}style="padding-left:0;text-align:left;"{{!}}{{{year_deputy6}}} |{{!!}} }}
{{!!}} {{#ifexist:{{{deputy6}}} |{{{deputy6}}} |{{{deputy6}}} }}
}}
|-
<!---------------
  Legislature
---------------->
{{#if:{{{legislature<includeonly>|</includeonly>}}} |
{{!}}- {{#if:{{{house1|}}}{{{house2|}}} |class="mergedtoprow"}}
{{!}}colspan="2"{{!}} '''Legislature'''
{{!}} {{#ifexist:{{{legislature}}} |{{{legislature}}} |{{{legislature}}} }}
{{#if:{{{house1|}}} |
{{!}}- class="{{#if:{{{house2|}}} |mergedrow|mergedbottomrow}}"
{{!}}style="width:1.0em; padding:0 0 0 0.6em;"{{!}}&nbsp;-&nbsp;{{!!}}style="padding-left:0;text-align:left;"{{!}} {{#if:{{{type_house1|}}} |{{{type_house1}}} |Upper house}}
{{!}} {{#ifexist:{{{house1}}} |{{{house1}}} |{{{house1}}} }}
}}
{{#if:{{{house2|}}} |
{{!}}- class="mergedbottomrow"
{{!}}style="width:1.0em; padding:0 0 0 0.6em;"{{!}}&nbsp;-&nbsp;{{!!}}style="padding-left:0;text-align:left;"{{!}} {{#if:{{{type_house2|}}} |{{{type_house2}}} |Lower house}}
{{!}} {{#ifexist:{{{house2}}}|{{{house2}}}|{{{house2}}} }}
}}
}}
<!---------------
  Events
---------------->
|- class="mergedtoprow"
|colspan="2"| {{#if:{{{era|}}} |'''Historical era''' |{{{history|'''History'''}}}}}
| {{#if:{{{era|}}} |{{#ifexist:{{{era|}}}|{{{era}}}|{{{era}}}}} {{#if:{{{_noautocat|<noinclude>yes</noinclude>}}}||{{Main other|{{#switch:{{{era}}}
  |Cold War=[[Category:Former polities of the Cold War|{{{common_name}}}, {{{year_start}}}]]
  |Interwar period=[[Category:Former polities of the interwar period|{{{common_name}}}, {{{year_start}}}]]
  }} }} }} }}
|- class="mergedrow"
{{#if:{{{event_pre<includeonly>|</includeonly>}}} |
{{!}}style="width:1.0em; padding:0 0 0 0.6em;"{{!}}&nbsp;-&nbsp;{{!!}}style="padding-left:0em;text-align:left;"{{!}}{{{event_pre}}}
{{!}}style="vertical-align: bottom;"{{!}}{{#if:{{{date_pre<includeonly>|</includeonly>}}}|{{{date_pre}}}}}{{#ifeq:{{#time: F j |{{#if:{{{date_pre<includeonly>|</includeonly>}}}|{{{date_pre}}}}}}}|{{#if:{{{date_pre<includeonly>|</includeonly>}}}|{{{date_pre}}}}}|,}}
}}
|- class="mergedrow"
{{#if:{{{event1<includeonly>|</includeonly>}}} |
{{!}}style="width:1.0em; padding:0 0 0 0.6em;"{{!}}&nbsp;-&nbsp;{{!!}}style="padding-left:0em;text-align:left;"{{!}}{{{event1}}}
{{!}}style="vertical-align: bottom;"{{!}}{{#if:{{{date_event1<includeonly>|</includeonly>}}}|{{{date_event1}}}}}{{#ifeq:{{#time: F j |{{#if:{{{date_event1<includeonly>|</includeonly>}}}|{{{date_event1}}}}}}}|{{#if:{{{date_event1<includeonly>|</includeonly>}}}|{{{date_event1}}}}}|,}}
}}
|- class="mergedrow"
{{#if:{{{event2|}}} |
{{!}}style="width:1.0em; padding:0 0 0 0.6em;"{{!}}&nbsp;-&nbsp;{{!!}}style="padding-left:0em;text-align:left;"{{!}}{{{event2}}}
{{!}}style="vertical-align: bottom;"{{!}}{{#if:{{{date_event2|}}}|{{{date_event2}}}}}{{#ifeq:{{#time: F j |{{#if:{{{date_event2|}}}|{{{date_event2}}}}}}}|{{#if:{{{date_event2|}}}|{{{date_event2}}}}}|,}}
}}
|- class="mergedrow"
{{#if:{{{event3|}}} |
{{!}}style="width:1.0em; padding:0 0 0 0.6em;"{{!}}&nbsp;-&nbsp;{{!!}}style="padding-left:0em;text-align:left;"{{!}}{{{event3}}}
{{!}}style="vertical-align: bottom;"{{!}}{{#if:{{{date_event3|}}}|{{{date_event3}}}}}{{#ifeq:{{#time: F j |{{#if:{{{date_event3|}}}|{{{date_event3}}}}}}}|{{#if:{{{date_event3|}}}|{{{date_event3}}}}}|,}}
}}
|- class="mergedrow"
{{#if:{{{event4|}}} |
{{!}}style="width:1.0em; padding:0 0 0 0.6em;"{{!}}&nbsp;-&nbsp;{{!!}}style="padding-left:0em;text-align:left;"{{!}}{{{event4}}}
{{!}}style="vertical-align: bottom;"{{!}}{{#if:{{{date_event4|}}}|{{{date_event4}}}}}{{#ifeq:{{#time: F j |{{#if:{{{date_event4|}}}|{{{date_event4}}}}}}}|{{#if:{{{date_event4|}}}|{{{date_event4}}}}}|,}}
}}
|- class="mergedrow"
{{#if:{{{event5<includeonly>|</includeonly>}}} |
{{!}}style="width:1.0em; padding:0 0 0 0.6em;"{{!}}&nbsp;-&nbsp;{{!!}}style="padding-left:0em;text-align:left;"{{!}}{{{event5}}}
{{!}}style="vertical-align: bottom;"{{!}}{{#if:{{{date_event5<includeonly>|</includeonly>}}}|{{{date_event5}}}}}{{#ifeq:{{#time: F j |{{#if:{{{date_event5<includeonly>|</includeonly>}}}|{{{date_event5}}}}}}}|{{#if:{{{date_event5<includeonly>|</includeonly>}}}|{{{date_event5}}}}}|,}}
}}
|- class="mergedrow"
{{#if:{{{event6<includeonly>|</includeonly>}}} |
{{!}}style="width:1.0em; padding:0 0 0 0.6em;"{{!}}&nbsp;-&nbsp;{{!!}}style="padding-left:0em;text-align:left;"{{!}}{{{event6}}}
{{!}}style="vertical-align: bottom;"{{!}}{{#if:{{{date_event6<includeonly>|</includeonly>}}}|{{{date_event6}}}}}{{#ifeq:{{#time: F j |{{#if:{{{date_event6<includeonly>|</includeonly>}}}|{{{date_event6}}}}}}}|{{#if:{{{date_event6<includeonly>|</includeonly>}}}|{{{date_event6}}}}}|,}}
}}
|- class="mergedrow"
{{#if:{{{event7<includeonly>|</includeonly>}}} |
{{!}}style="width:1.0em; padding:0 0 0 0.6em;"{{!}}&nbsp;-&nbsp;{{!!}}style="padding-left:0em;text-align:left;"{{!}}{{{event7}}}
{{!}}style="vertical-align: bottom;"{{!}}{{#if:{{{date_event7<includeonly>|</includeonly>}}}|{{{date_event7}}}}}{{#ifeq:{{#time: F j |{{#if:{{{date_event7<includeonly>|</includeonly>}}}|{{{date_event7}}}}}}}|{{#if:{{{date_event7<includeonly>|</includeonly>}}}|{{{date_event7}}}}}|,}}
}}
|- class="mergedrow"
{{#if:{{{event8<includeonly>|</includeonly>}}} |
{{!}}style="width:1.0em; padding:0 0 0 0.6em;"{{!}}&nbsp;-&nbsp;{{!!}}style="padding-left:0em;text-align:left;"{{!}}{{{event8}}}
{{!}}style="vertical-align: bottom;"{{!}}{{#if:{{{date_event8<includeonly>|</includeonly>}}}|{{{date_event8}}}}}{{#ifeq:{{#time: F j |{{#if:{{{date_event8<includeonly>|</includeonly>}}}|{{{date_event8}}}}}}}|{{#if:{{{date_event8<includeonly>|</includeonly>}}}|{{{date_event8}}}}}|,}}
}}
|- class="mergedrow"
{{#if:{{{event9<includeonly>|</includeonly>}}} |
{{!}}style="width:1.0em; padding:0 0 0 0.6em;"{{!}}&nbsp;-&nbsp;{{!!}}style="padding-left:0em;text-align:left;"{{!}}{{{event9}}}
{{!}}style="vertical-align: bottom;"{{!}}{{#if:{{{date_event9<includeonly>|</includeonly>}}}|{{{date_event9}}}}}{{#ifeq:{{#time: F j |{{#if:{{{date_event9<includeonly>|</includeonly>}}}|{{{date_event9}}}}}}}|{{#if:{{{date_event9<includeonly>|</includeonly>}}}|{{{date_event9}}}}}|,}}
}}
|- class="mergedrow"
{{#if:{{{event10<includeonly>|</includeonly>}}} |
{{!}}style="width:1.0em; padding:0 0 0 0.6em;"{{!}}&nbsp;-&nbsp;{{!!}}style="padding-left:0em;text-align:left;"{{!}}{{{event10}}}
{{!}}style="vertical-align: bottom;"{{!}}{{#if:{{{date_event10<includeonly>|</includeonly>}}}|{{{date_event10}}}}}{{#ifeq:{{#time: F j |{{#if:{{{date_event10<includeonly>|</includeonly>}}}|{{{date_event10}}}}}}}|{{#if:{{{date_event10<includeonly>|</includeonly>}}}|{{{date_event10}}}}}|,}}
}}
|- class="mergedrow"
{{#if:{{{event11<includeonly>|</includeonly>}}} |
{{!}}style="width:1.0em; padding:0 0 0 0.6em;"{{!}}&nbsp;-&nbsp;{{!!}}style="padding-left:0em;text-align:left;"{{!}}{{{event11}}}
{{!}}style="vertical-align: bottom;"{{!}}{{#if:{{{date_event11<includeonly>|</includeonly>}}}|{{{date_event11}}}}}{{#ifeq:{{#time: F j |{{#if:{{{date_event11<includeonly>|</includeonly>}}}|{{{date_event11}}}}}}}|{{#if:{{{date_event11<includeonly>|</includeonly>}}}|{{{date_event11}}}}}|,}}
}}
|- class="mergedbottomrow"
{{#if:{{{event_post<includeonly>|</includeonly>}}} |
{{!}}style="width:1.0em; padding:0 0 0 0.6em;"{{!}}&nbsp;-&nbsp;{{!!}}style="padding-left:0em;text-align:left;"{{!}}{{{event_post}}}
{{!}}style="vertical-align: bottom;"{{!}}{{#if:{{{date_post<includeonly>|</includeonly>}}}|{{{date_post}}}}}{{#ifeq:{{#time: F j |{{#if:{{{date_post<includeonly>|</includeonly>}}}|{{{date_post}}}}}}}|{{#if:{{{date_post<includeonly>|</includeonly>}}}|{{{date_post}}}}}|,}}
}}
<!---------------
  Area
---------------->
|- {{#if:{{{stat_year1<includeonly>|</includeonly>}}} | |class="mergedtoprow"}}
{{#if:{{{stat_year1<includeonly>|</includeonly>}}}
| {{#if:{{{stat_area1<includeonly>|</includeonly>}}}{{{stat_area2|}}}{{{stat_area3|}}}{{{stat_area4|}}}{{{stat_area5|}}}
    |{{!}}colspan="3"{{!}} '''Area'''
  }}
<!----Area: 1st year---->
  {{!}}- class="{{#if:{{{stat_area2|}}}{{{stat_area3|}}}{{{stat_area4|}}}{{{stat_area5<includeonly>|</includeonly>}}} |mergedrow|mergedbottomrow}}"
  {{#if:{{{stat_area1<includeonly>|</includeonly>}}}
    |{{!}} {{#if:{{{stat_year1<includeonly>|</includeonly>}}}
            |style="width:1.0em; padding:0 0 0 0.6em;"{{!}} &nbsp;-&nbsp; {{!!}}style="padding-left:0;text-align:left;"{{!}} Total {{#if:{{{ref_area1|}}}|{{{ref_area1}}}}}
            |{{!!}}
          }}
    {{!}} {{formatnum:{{{stat_area1|}}}}}&nbsp;km² {{nowrap|(<includeonly>{{formatnum:{{#expr:{{{stat_area1}}} div 2.589988110336 round 0}}}}</includeonly> sq mi)}}
    |{{!}}colspan="2"{{!}} {{nbsp|5}Water (%)
    {{!}}style="white-space:nowrap;"{{!}} {{{percent_water|}}}
    }}
  }}
<!----Area: 2nd year---->
  {{!}}- class="{{#if:{{{stat_area3|}}}{{{stat_area4|}}}{{{stat_area5<includeonly>|</includeonly>}}} |mergedrow|mergedbottomrow}}"
  {{#if:{{{stat_area2|}}}
    | {{#ifeq:{{{stat_area2|}}}|{{{stat_area1|}}}
      |
      |{{!}} {{#if:{{{stat_year2|}}}
              |style="width:1.0em; padding:0 0 0 0.6em;"{{!}} &nbsp;-&nbsp; {{!!}}style="padding-left:0;text-align:left;"{{!}} {{{stat_year2}}} {{#if:{{{ref_area2|}}}|{{{ref_area2}}}}}
              |{{!!}}
              }}
        {{!}} {{formatnum:{{{stat_area2|}}}}}&nbsp;km² {{nowrap|({{formatnum:{{#expr:{{{stat_area2}}} div 2.589988110336 round 0}}}} sq mi)}}
      }}
  }}
<!----Area: 3rd year---->
  {{!}}- class="{{#if:{{{stat_area4|}}}{{{stat_area5<includeonly>|</includeonly>}}} |mergedrow|mergedbottomrow}}"
  {{#if:{{{stat_area3|}}}
    | {{#ifeq:{{{stat_area3|}}}|{{{stat_area2|}}}
      |
      |{{!}} {{#if:{{{stat_year3|}}}
              |style="width:1.0em; padding:0 0 0 0.6em;"{{!}} &nbsp;-&nbsp; {{!!}}style="padding-left:0;text-align:left;"{{!}} {{{stat_year3}}} {{#if:{{{ref_area3|}}}|{{{ref_area3}}}}}
              |{{!!}}
              }}
        {{!}} {{formatnum:{{{stat_area3|}}}}}&nbsp;km² {{nowrap|({{formatnum:{{#expr: {{{stat_area3}}} div 2.589988110336 round 0}}}} sq mi)}}
      }}
  }}
<!----Area: 4th year---->
  {{!}}- class="{{#if:{{{stat_area5<includeonly>|</includeonly>}}} |mergedrow|mergedbottomrow}}"
  {{#if:{{{stat_area4|}}}
    | {{#ifeq:{{{stat_area4|}}}|{{{stat_area3|}}}
      |
      |{{!}} {{#if:{{{stat_year4|}}}
              |style="width:1.0em; padding:0 0 0 0.6em;"{{!}} &nbsp;-&nbsp; {{!!}}style="padding-left:0;text-align:left;"{{!}} {{{stat_year4}}} {{#if:{{{ref_area4|}}}|{{{ref_area4}}}}}
              |{{!!}}
              }}
        {{!}} {{formatnum:{{{stat_area4|}}}}}&nbsp;km² {{nowrap|({{formatnum:{{#expr:{{{stat_area4}}} div 2.589988110336 round 0}}}} sq mi)}}
      }}
  }}
<!----Area: 5th year---->
  {{!}}- class="mergedbottomrow"
  {{#if:{{{stat_area5<includeonly>|</includeonly>}}}
    | {{#ifeq:{{{stat_area5<includeonly>|</includeonly>}}}|{{{stat_area4<includeonly>|</includeonly>}}}
      |
      |{{!}} {{#if:{{{stat_year5<includeonly>|</includeonly>}}} |style="width:1.0em; padding:0 0 0 0.6em;"{{!}} &nbsp;-&nbsp; {{!!}}style="padding:0em 1em 0.2em 0;vertical-align:top;text-align:left;"{{!}} {{{stat_year5}}}
              |{{!!}}
              }}
        {{!}} {{formatnum:{{{stat_area5|}}}}}&nbsp;km² {{nowrap|(<includeonly>{{formatnum:{{#expr:{{{stat_area5}}} div 2.589988110336 round 0}}}}</includeonly> sq mi)}}
      }}
  }}
<!----Area: Alternative if stat_year1 not provided---->
| {{#if:{{{stat_area1|}}}
    |{{!}}colspan="2"{{!}} '''Area'''
    {{!}} {{formatnum:{{{stat_area1|}}}}}&nbsp;km² {{nowrap|({{formatnum:{{#expr:{{{stat_area1}}} div 2.589988110336 round 0}}}} sq mi)}}
  }}
}}