Template:Infobox former subdivision: Difference between revisions

From Ethan's Workspace
Jump to navigation Jump to search
(Created page with "<includeonly>{{#invoke:infobox|infoboxTemplate |bodyclass = geography vcard |aboveclass = fn org |above = {{#if:{{{conventional_long_name|{{{Name|}}}}}}...")
 
No edit summary
Line 1: Line 1:
<includeonly>{{#invoke:infobox|infoboxTemplate
<includeonly>{{#invoke:infobox|infoboxTemplate
|bodyclass    = geography vcard
|bodyclass    = ib-former-subdiv vcard
|templatestyles = Template:Infobox former subdivision/styles.css
 
|aboveclass    = fn org
|aboveclass    = fn org
|above        = {{#if:{{{conventional_long_name|{{{Name|}}}}}}
|above        = {{#if:{{{conventional_long_name|{{{Name|}}}}}}
                     | {{{conventional_long_name|{{{Name|}}}}}}{{#if:{{{native_name|{{{AltName|}}}}}}|<br /><div class="nickname" style="font-size:78%" {{#if:{{{native_name_lang|}}}|lang="{{{native_name_lang}}}"}}>{{{native_name|{{{AltName|}}}}}}</div>}}
                     | {{{conventional_long_name|{{{Name|}}}}}}{{#if:{{{native_name|{{{AltName|}}}}}}|<div class="ib-former-subdiv-native nickname" {{#if:{{{native_name_lang|}}}|lang="{{{native_name_lang}}}"}}>{{{native_name|{{{AltName|}}}}}}</div>}}{{{AltNameModule|}}}
                     | {{#if:{{{native_name|{{{AltName|}}}}}}
                     | {{#if:{{{native_name|{{{AltName|{{{AltNameModule|}}}}}}}}}
                           | {{{native_name|{{{AltName|}}}}}}
                           | {{{native_name|{{{AltName|{{{AltNameModule|}}}}}}}}}
                           | {{PAGENAMEBASE}}
                           | {{PAGENAMEBASE}}
                         }}
                         }}
                 }}
                 }}


|subheaderstyle= background-color:#cddeff; font-weight:bold;
|subheader    = {{if empty|{{{subdivision_type|}}}|{{#if:{{{status_text|}}}|{{{status_text}}}|{{#if:{{{nation|}}}|{{{subdivision|Former subdivision}}} of {{#ifexist:{{{nation}}}|[[{{{nation}}}]]|{{{nation}}}}} }} }} }}
|subheader    = {{if empty|{{{subdivision_type|}}}|{{#if:{{{status_text|}}}|{{{status_text}}}|{{#if:{{{nation|}}}|{{{subdivision|Former subdivision}}} of {{#ifexist:{{{nation}}}|[[{{{nation}}}]]|{{{nation}}}}} }} }} }}
|subheaderclass = category
|subheaderclass = category
Line 29: Line 30:


| rowclass1      = mergedtoprow
| rowclass1      = mergedtoprow
| class1        = maptable
| class1        = ib-former-subdiv-flagarms
| data1          = {{#if:{{{flag_image|}}}{{{arms_image|}}}
| data1          = {{#if:{{{flag_image|}}}{{{arms_image|}}}
   |<table style="text-align:center; background: none; width:100%"><tr><!--
   |<table><tr><!--
-->{{#if:{{{flag_image|}}}|<td style="width: 130px; vertical-align: middle;">{{{flag_image|}}}</td>}}<!--
-->{{#if:{{{flag_image|}}}|<td>{{{flag_image|}}}</td>}}<!--
-->{{#if:{{{arms_image|}}}|<td style="width: 130px; vertical-align: middle;">{{{arms_image|}}}</td>}}<!--
-->{{#if:{{{arms_image|}}}|<td>{{{arms_image|}}}</td>}}<!--
--></tr><tr style="font-size: 83%;"><!--
--></tr><tr><!--
-->{{#if:{{{flag_image|}}}|<td>{{#if:{{{flag_link|}}}|[[{{{flag_link|}}}|Flag]]|Flag}}</td>}}<!--
-->{{#if:{{{flag_image|}}}|<td>{{#if:{{{flag_link|}}}|[[{{{flag_link|}}}|Flag]]|Flag}}</td>}}<!--
-->{{#if:{{{arms_image|}}}|<td>{{#if:{{{arms_link|}}}|[[{{{arms_link|}}}|Coat of arms]]|Coat of arms}}</td>}}<!--
-->{{#if:{{{arms_image|}}}|<td>{{#if:{{{arms_link|}}}|[[{{{arms_link|}}}|Coat of arms]]|Coat of arms}}</td>}}<!--
Line 61: Line 62:


-->{{#invoke:infobox|infoboxTemplate|child = yes
-->{{#invoke:infobox|infoboxTemplate|child = yes
  | labelstyle = font-weight:normal
   | rowclass1  = mergedrow
   | rowclass1  = mergedrow
   | label1    = {{#if: {{{AreaFirstYear|}}} |&nbsp;•&nbsp;{{{AreaFirstYear}}} }}
   | label1    = {{#if: {{{AreaFirstYear|}}} |{{nobold|&nbsp;•&nbsp;{{{AreaFirstYear}}}}}}}
   | data1      = {{#if: {{{AreaFirst|}}} |{{{AreaFirst}}} }}
   | data1      = {{#if: {{{AreaFirst|}}} |{{{AreaFirst}}} }}
   | rowclass2  = mergedrow
   | rowclass2  = mergedrow
   | label2    = {{#if: {{{AreaSecondYear|}}} |&nbsp;•&nbsp;{{{AreaSecondYear}}} }}
   | label2    = {{#if: {{{AreaSecondYear|}}} |{{nobold|&nbsp;•&nbsp;{{{AreaSecondYear}}}}}}}
   | data2      = {{#if: {{{AreaSecond|}}} |{{{AreaSecond}}} }}
   | data2      = {{#if: {{{AreaSecond|}}} |{{{AreaSecond}}} }}
   | rowclass3  = mergedrow  
   | rowclass3  = mergedrow  
   | label3    = {{#if: {{{AreaThirdYear|}}} |&nbsp;•&nbsp;{{{AreaThirdYear}}} }}
   | label3    = {{#if: {{{AreaThirdYear|}}} |{{nobold|&nbsp;•&nbsp;{{{AreaThirdYear}}}}}}}
   | data3      = {{#if: {{{AreaThird|}}} |{{{AreaThird}}} }}
   | data3      = {{#if: {{{AreaThird|}}} |{{{AreaThird}}} }}
   | rowclass4  = mergedrow
   | rowclass4  = mergedrow
   | label4    = {{#if: {{{AreaLastYear|}}} |&nbsp;•&nbsp;{{{AreaLastYear}}} }}
   | label4    = {{#if: {{{AreaLastYear|}}} |{{nobold|&nbsp;•&nbsp;{{{AreaLastYear}}}}}}}
   | data4      = {{#if: {{{AreaLast|}}} |{{{AreaLast}}} }}
   | data4      = {{#if: {{{AreaLast|}}} |{{{AreaLast}}} }}
   | rowclass5  = mergedrow
   | rowclass5  = mergedrow
   | label5    = {{#if: {{{coordinates|}}} |&nbsp;•&nbsp;Coordinates }}
   | label5    = {{#if: {{{coordinates|}}} |{{nobold|&nbsp;•&nbsp;Coordinates}}}}
   | data5      = {{#if: {{{coordinates|}}} |{{{coordinates}}} }}
   | data5      = {{#if: {{{coordinates|}}} |{{{coordinates}}} }}
}}
}}
Line 85: Line 85:


-->{{#invoke:infobox|infoboxTemplate|child = yes
-->{{#invoke:infobox|infoboxTemplate|child = yes
  | labelstyle = font-weight:normal
   | rowclass1  = mergedrow
   | rowclass1  = mergedrow
   | label1    = {{#if: {{{area_gained1|}}} |&nbsp;•&nbsp;{{{area_gained_year1|}}}}}
   | label1    = {{#if: {{{area_gained1|}}} |{{nobold|&nbsp;•&nbsp;{{{area_gained_year1|}}}}}}}
   | data1      = {{#if: {{{area_gained1|}}} |{{{area_gained1|}}} {{#if: {{{gained_from1|}}} | from {{{gained_from1|}}}}} }}
   | data1      = {{#if: {{{area_gained1|}}} |{{{area_gained1|}}} {{#if: {{{gained_from1|}}} | from {{{gained_from1|}}}}} }}
   | rowclass2  = mergedrow
   | rowclass2  = mergedrow
   | label2    = {{#if: {{{area_lost1|}}} |&nbsp;•&nbsp;{{{area_lost_year1|}}}}}
   | label2    = {{#if: {{{area_lost1|}}} |{{nobold|&nbsp;•&nbsp;{{{area_lost_year1|}}}}}}}
   | data2      = {{#if: {{{area_lost1|}}} |{{{area_lost1|}}} {{#if: {{{lost_to1|}}} | to {{{lost_to1|}}}}} }}
   | data2      = {{#if: {{{area_lost1|}}} |{{{area_lost1|}}} {{#if: {{{lost_to1|}}} | to {{{lost_to1|}}}}} }}
   | rowclass3  = mergedrow
   | rowclass3  = mergedrow
   | label3    = {{#if: {{{area_gained2|}}} |&nbsp;•&nbsp;{{{area_gained_year2|}}} }}
   | label3    = {{#if: {{{area_gained2|}}} |{{nobold|&nbsp;•&nbsp;{{{area_gained_year2|}}}}}}}
   | data3      = {{#if: {{{area_gained2|}}} |{{{area_gained2|}}} {{#if: {{{gained_from2|}}} | from {{{gained_from2|}}}}} }}
   | data3      = {{#if: {{{area_gained2|}}} |{{{area_gained2|}}} {{#if: {{{gained_from2|}}} | from {{{gained_from2|}}}}} }}
   | rowclass4  = mergedrow
   | rowclass4  = mergedrow
   | label4    = {{#if: {{{area_lost2|}}} |&nbsp;•&nbsp;{{{area_lost_year2|}}} }}
   | label4    = {{#if: {{{area_lost2|}}} |{{nobold|&nbsp;•&nbsp;{{{area_lost_year2|}}}}}}}
   | data4      = {{#if: {{{area_lost2|}}} |{{{area_lost2|}}} {{#if: {{{lost_to2|}}} | to {{{lost_to2|}}}}} }}
   | data4      = {{#if: {{{area_lost2|}}} |{{{area_lost2|}}} {{#if: {{{lost_to2|}}} | to {{{lost_to2|}}}}} }}
   | rowclass5  = mergedrow
   | rowclass5  = mergedrow
   | label5    = {{#if: {{{area_gained3|}}} |&nbsp;-&nbsp;{{{area_gained_year3|}}} }}
   | label5    = {{#if: {{{area_gained3|}}} |{{nobold|&nbsp;-&nbsp;{{{area_gained_year3|}}}}}}}
   | data5      = {{#if: {{{area_gained3|}}} |{{{area_gained3|}}} {{#if: {{{gained_from3|}}} | from {{{gained_from3|}}}}} }}
   | data5      = {{#if: {{{area_gained3|}}} |{{{area_gained3|}}} {{#if: {{{gained_from3|}}} | from {{{gained_from3|}}}}} }}
   | rowclass6  = mergedrow
   | rowclass6  = mergedrow
   | label6    = {{#if: {{{area_lost3|}}} |&nbsp;•&nbsp;{{{area_lost_year3|}}} }}
   | label6    = {{#if: {{{area_lost3|}}} |{{nobold|&nbsp;•&nbsp;{{{area_lost_year3|}}}}}}}
   | data6      = {{#if: {{{area_lost3|}}} |{{{area_lost3|}}} {{#if: {{{lost_to3|}}} | to {{{lost_to3|}}}}} }}
   | data6      = {{#if: {{{area_lost3|}}} |{{{area_lost3|}}} {{#if: {{{lost_to3|}}} | to {{{lost_to3|}}}}} }}
}}
}}
Line 108: Line 107:


| rowclass17 = {{#if:{{{stat_area2|}}}{{{stat_area3|}}}{{{stat_area4|}}}{{{stat_area5|}}}|mergedrow|mergedbottomrow}}
| rowclass17 = {{#if:{{{stat_area2|}}}{{{stat_area3|}}}{{{stat_area4|}}}{{{stat_area5|}}}|mergedrow|mergedbottomrow}}
| label17 = <div style="text-indent:-0.9em;margin-left:1.2em;font-weight:normal;">•&nbsp;{{{stat_year1|}}}{{{ref_area1|}}}</div>
| label17 = <div class="ib-former-subdiv-fake-li">•&nbsp;{{{stat_year1|}}}{{{ref_area1|}}}</div>
| data17 = {{#if: {{{stat_area1|}}} | {{convinfobox|{{{stat_area1|}}}|km2||sqmi}} }}
| data17 = {{#if: {{{stat_area1|}}} | {{convinfobox|{{{stat_area1|}}}|km2||sqmi}} }}


| rowclass18 = {{#if:{{{stat_area3|}}}{{{stat_area4|}}}{{{stat_area5|}}}|mergedrow|mergedbottomrow}}
| rowclass18 = {{#if:{{{stat_area3|}}}{{{stat_area4|}}}{{{stat_area5|}}}|mergedrow|mergedbottomrow}}
| label18 = <div style="text-indent:-0.9em;margin-left:1.2em;font-weight:normal;">•&nbsp;{{{stat_year2|}}}{{{ref_area2|}}}</div>
| label18 = <div class="ib-former-subdiv-fake-li">•&nbsp;{{{stat_year2|}}}{{{ref_area2|}}}</div>
| data18 = {{#if: {{{stat_area2|}}} | {{convinfobox|{{{stat_area2|}}}|km2||sqmi}} }}
| data18 = {{#if: {{{stat_area2|}}} | {{convinfobox|{{{stat_area2|}}}|km2||sqmi}} }}


| rowclass19 = {{#if:{{{stat_area4|}}}{{{stat_area5|}}}|mergedrow|mergedbottomrow}}
| rowclass19 = {{#if:{{{stat_area4|}}}{{{stat_area5|}}}|mergedrow|mergedbottomrow}}
| label19 = <div style="text-indent:-0.9em;margin-left:1.2em;font-weight:normal;">•&nbsp;{{{stat_year3|}}}{{{ref_area3|}}}</div>
| label19 = <div class="ib-former-subdiv-fake-li">•&nbsp;{{{stat_year3|}}}{{{ref_area3|}}}</div>
| data19 = {{#if: {{{stat_area3|}}} | {{convinfobox|{{{stat_area3|}}}|km2||sqmi}} }}
| data19 = {{#if: {{{stat_area3|}}} | {{convinfobox|{{{stat_area3|}}}|km2||sqmi}} }}


| rowclass20 = {{#if:{{{stat_area5|}}}|mergedrow|mergedbottomrow}}
| rowclass20 = {{#if:{{{stat_area5|}}}|mergedrow|mergedbottomrow}}
| label20 = <div style="text-indent:-0.9em;margin-left:1.2em;font-weight:normal;">•&nbsp;{{{stat_year4|}}}{{{ref_area4|}}}</div>
| label20 = <div class="ib-former-subdiv-fake-li">•&nbsp;{{{stat_year4|}}}{{{ref_area4|}}}</div>
| data20 = {{#if: {{{stat_area4|}}} | {{convinfobox|{{{stat_area4|}}}|km2||sqmi}} }}
| data20 = {{#if: {{{stat_area4|}}} | {{convinfobox|{{{stat_area4|}}}|km2||sqmi}} }}


| rowclass21 = mergedbottomrow
| rowclass21 = mergedbottomrow
| label21 = <div style="text-indent:-0.9em;margin-left:1.2em;font-weight:normal;">•&nbsp;{{{stat_year5|}}}{{{ref_area5|}}}</div>
| label21 = <div class="ib-former-subdiv-fake-li">•&nbsp;{{{stat_year5|}}}{{{ref_area5|}}}</div>
| data21 = {{#if: {{{stat_area5|}}} | {{convinfobox|{{{stat_area5|}}}|km2||sqmi}} }}
| data21 = {{#if: {{{stat_area5|}}} | {{convinfobox|{{{stat_area5|}}}|km2||sqmi}} }}


Line 133: Line 132:


-->{{#invoke:infobox|infoboxTemplate|child = yes
-->{{#invoke:infobox|infoboxTemplate|child = yes
  | labelstyle = font-weight:normal
   | rowclass1  = mergedrow
   | rowclass1  = mergedrow
   | label1    = {{#if: {{{PopulationFirstYear|}}} |&nbsp;•&nbsp;{{{PopulationFirstYear}}} }}
   | label1    = {{#if: {{{PopulationFirstYear|}}} |{{nobold|&nbsp;•&nbsp;{{{PopulationFirstYear}}}}}}}
   | data1      = {{#if: {{{PopulationFirst|}}} |{{{PopulationFirst}}} }}
   | data1      = {{#if: {{{PopulationFirst|}}} |{{{PopulationFirst}}} }}
   | rowclass2  = mergedrow
   | rowclass2  = mergedrow
   | label2    = {{#if: {{{PopulationSecondYear|}}} |&nbsp;•&nbsp;{{{PopulationSecondYear}}} }}
   | label2    = {{#if: {{{PopulationSecondYear|}}} |{{nobold|&nbsp;•&nbsp;{{{PopulationSecondYear}}}}}}}
   | data2      = {{#if: {{{PopulationSecond|}}} |{{{PopulationSecond}}} }}
   | data2      = {{#if: {{{PopulationSecond|}}} |{{{PopulationSecond}}} }}
   | rowclass3  = mergedrow  
   | rowclass3  = mergedrow  
   | label3    = {{#if: {{{PopulationThirdYear|}}} |&nbsp;•&nbsp;{{{PopulationThirdYear}}} }}
   | label3    = {{#if: {{{PopulationThirdYear|}}} |{{nobold|&nbsp;•&nbsp;{{{PopulationThirdYear}}}}}}}
   | data3      = {{#if: {{{PopulationThird|}}} |{{{PopulationThird}}} }}
   | data3      = {{#if: {{{PopulationThird|}}} |{{{PopulationThird}}} }}
   | rowclass4  = mergedrow
   | rowclass4  = mergedrow
   | label4    = {{#if: {{{PopulationLastYear|}}} |&nbsp;•&nbsp;{{{PopulationLastYear}}} }}
   | label4    = {{#if: {{{PopulationLastYear|}}} |{{nobold|&nbsp;•&nbsp;{{{PopulationLastYear}}}}}}}
   | data4      = {{#if: {{{PopulationLast|}}} |{{{PopulationLast}}} }}
   | data4      = {{#if: {{{PopulationLast|}}} |{{{PopulationLast}}} }}
}}|{{#if:{{{stat_pop1|}}}{{{stat_pop2|}}}{{{stat_pop3|}}}{{{stat_pop4|}}}{{{stat_pop5|}}}|&nbsp;}}
}}|{{#if:{{{stat_pop1|}}}{{{stat_pop2|}}}{{{stat_pop3|}}}{{{stat_pop4|}}}{{{stat_pop5|}}}|&nbsp;}}
Line 157: Line 155:


-->{{#invoke:infobox|infoboxTemplate|child = yes
-->{{#invoke:infobox|infoboxTemplate|child = yes
  | labelstyle = font-weight:normal
   | rowclass1  = mergedrow
   | rowclass1  = mergedrow
   | label1    = {{#if: {{{DensityFirstYear|}}} |&nbsp;•&nbsp;{{{DensityFirstYear}}} }}
   | label1    = {{#if: {{{DensityFirstYear|}}} |{{nobold|&nbsp;•&nbsp;{{{DensityFirstYear}}}}}}}
   | data1      = {{#if: {{{DensityFirst|}}} |{{{DensityFirst}}} }}
   | data1      = {{#if: {{{DensityFirst|}}} |{{{DensityFirst}}} }}
   | rowclass2  = mergedrow
   | rowclass2  = mergedrow
   | label2    = {{#if: {{{DensitySecondYear|}}} |&nbsp;•&nbsp;{{{DensitySecondYear}}} }}
   | label2    = {{#if: {{{DensitySecondYear|}}} |{{nobold|&nbsp;•&nbsp;{{{DensitySecondYear}}}}}}}
   | data2      = {{#if: {{{DensitySecond|}}} |{{{DensitySecond}}} }}
   | data2      = {{#if: {{{DensitySecond|}}} |{{{DensitySecond}}} }}
   | rowclass3  = mergedrow  
   | rowclass3  = mergedrow  
   | label3    = {{#if: {{{DensityThirdYear|}}} |&nbsp;•&nbsp;{{{DensityThirdYear}}} }}
   | label3    = {{#if: {{{DensityThirdYear|}}} |{{nobold|&nbsp;•&nbsp;{{{DensityThirdYear}}}}}}}
   | data3      = {{#if: {{{DensityThird|}}} |{{{DensityThird}}} }}
   | data3      = {{#if: {{{DensityThird|}}} |{{{DensityThird}}} }}
   | rowclass4  = mergedrow
   | rowclass4  = mergedrow
   | label4    = {{#if: {{{DensityLastYear|}}} |&nbsp;•&nbsp;{{{DensityLastYear}}} }}
   | label4    = {{#if: {{{DensityLastYear|}}} |{{nobold|&nbsp;•&nbsp;{{{DensityLastYear}}}}}}}
   | data4      = {{#if: {{{DensityLast|}}} |{{{DensityLast}}} }}
   | data4      = {{#if: {{{DensityLast|}}} |{{{DensityLast}}} }}
}}
}}
Line 178: Line 175:
    
    
-->{{#invoke:infobox|infoboxTemplate|child = yes
-->{{#invoke:infobox|infoboxTemplate|child = yes
  | labelstyle = font-weight:normal
   | rowclass1  = mergedrow   
   | rowclass1  = mergedrow   
   | label1    = &nbsp;•&nbsp;Preceded&nbsp;by
   | label1    = {{nobold|&nbsp;•&nbsp;Preceded&nbsp;by}}
   | data1      = {{{preceded_by|}}}
   | data1      = {{{preceded_by|}}}
   | rowclass2  = mergedrow   
   | rowclass2  = mergedrow   
   | label2    = &nbsp;•&nbsp;Origin
   | label2    = {{nobold|&nbsp;•&nbsp;Origin}}
   | data2      = {{{Origin|}}}
   | data2      = {{{Origin|}}}
   | rowclass3  = mergedrow   
   | rowclass3  = mergedrow   
   | label3    = &nbsp;•&nbsp;Created
   | label3    = {{nobold|&nbsp;•&nbsp;Created}}
   | data3      = {{{Start|}}}
   | data3      = {{{Start|}}}
   | rowclass4  = mergedrow   
   | rowclass4  = mergedrow   
   | label4    = &nbsp;•&nbsp;Abolished
   | label4    = {{nobold|&nbsp;•&nbsp;Abolished}}
   | data4      = {{{End|}}}
   | data4      = {{{End|}}}
   | rowclass5  = mergedrow   
   | rowclass5  = mergedrow   
   | label5    = &nbsp;•&nbsp;Succeeded&nbsp;by  
   | label5    = {{nobold|&nbsp;•&nbsp;Succeeded&nbsp;by}}
   | data5      = {{{Replace|}}}
   | data5      = {{{Replace|}}}
}}
}}
Line 209: Line 205:


-->{{#invoke:infobox|infoboxTemplate|child = yes
-->{{#invoke:infobox|infoboxTemplate|child = yes
  | labelstyle = font-weight:normal
   | rowclass1  = mergedrow
   | rowclass1  = mergedrow
   | label1    = &nbsp;•&nbsp;Type
   | label1    = {{nobold|&nbsp;•&nbsp;Type}}
   | data1      = {{#ifexist:{{{government_type}}}|[[{{{government_type}}}]]|{{{government_type|}}}}}
   | data1      = {{#ifexist:{{{government_type}}}|[[{{{government_type}}}]]|{{{government_type|}}}}}
   | rowclass2  = mergedrow
   | rowclass2  = mergedrow
   | label2    = &nbsp;•&nbsp;[[Administrative centre|HQ]]
   | label2    = {{nobold|&nbsp;•&nbsp;[[Administrative centre|HQ]]}}
   | data2      = {{{HQ|}}}
   | data2      = {{{HQ|}}}
   | rowclass3  = mergedrow
   | rowclass3  = mergedrow
   | label3    = &nbsp;•&nbsp;[[Motto]]
   | label3    = {{nobold|&nbsp;•&nbsp;[[Motto]]}}
   | data3      = {{if empty|{{{motto|}}}|{{{Motto|}}}|{{{national_motto|}}}}}
   | data3      = {{if empty|{{{motto|}}}|{{{Motto|}}}|{{{national_motto|}}}}}


   | rowclass41    = mergedrow
   | rowclass41    = mergedrow
   | label41      = '''{{#if:{{{title_leader|}}}
   | label41      = {{#if:{{{title_leader|}}}
     |{{#ifexist:{{{title_leader}}}|[[{{{title_leader}}}]]|{{{title_leader|}}}}}
     |{{#ifexist:{{{title_leader}}}|[[{{{title_leader}}}]]|{{{title_leader|}}}}}
     |{{#switch:{{{government_type}}}
     |{{#switch:{{{government_type}}}
Line 243: Line 238:
       }}}}|President]]
       }}}}|President]]
       }}
       }}
     }}'''
     }}
   | data41        = {{#if:{{{year_leader1|}}}|&nbsp;}}
   | data41        = {{#if:{{{year_leader1|}}}|&nbsp;}}
   | rowclass42    = mergedrow
   | rowclass42    = mergedrow
Line 249: Line 244:


   | rowclass43    = mergedrow
   | rowclass43    = mergedrow
   | label43      = '''{{#if:{{{title_deputy|}}}|{{#ifexist:{{{title_deputy}}}|[[{{{title_deputy}}}]]|{{{title_deputy}}}}}|[[{{#ifexist:Prime minister of {{{common_name}}}|Prime minister of {{{common_name}}}|{{#ifexist:Prime minister of the {{{common_name}}}|Prime minister of the {{{common_name}}}|{{#ifexist:Prime Minister of {{{common_name}}}|Prime Minister of {{{common_name}}}|{{#ifexist:Prime Minister of the {{{common_name}}}|Prime Minister of the {{{common_name}}}|Prime minister}}}}}}}}|Prime minister]]}}'''
   | label43      = {{#if:{{{title_deputy|}}}|{{#ifexist:{{{title_deputy}}}|[[{{{title_deputy}}}]]|{{{title_deputy}}}}}|[[{{#ifexist:Prime minister of {{{common_name}}}|Prime minister of {{{common_name}}}|{{#ifexist:Prime minister of the {{{common_name}}}|Prime minister of the {{{common_name}}}|{{#ifexist:Prime Minister of {{{common_name}}}|Prime Minister of {{{common_name}}}|{{#ifexist:Prime Minister of the {{{common_name}}}|Prime Minister of the {{{common_name}}}|Prime minister}}}}}}}}|Prime minister]]}}
   | data43        = {{#if:{{{year_deputy1|}}}|&nbsp;}}
   | data43        = {{#if:{{{year_deputy1|}}}|&nbsp;}}
   | rowclass44    = mergedrow
   | rowclass44    = mergedrow
Line 264: Line 259:
| data45        = {{#if:{{{legislature|}}}|{{{legislature|}}}|{{#if:{{{house1|}}}{{{house2|}}}|&nbsp;}}}}
| data45        = {{#if:{{{legislature|}}}|{{{legislature|}}}|{{#if:{{{house1|}}}{{{house2|}}}|&nbsp;}}}}
| rowclass46    = mergedrow
| rowclass46    = mergedrow
| label46      = <div style="text-indent:-0.9em;margin-left:1.2em;font-weight:normal;">•&nbsp;{{#if:{{{type_house1|}}}|{{{type_house1|}}}|Upper house}}</div>
| label46      = <div class="ib-former-subdiv-fake-li">•&nbsp;{{#if:{{{type_house1|}}}|{{{type_house1|}}}|Upper house}}</div>
| data46        = {{{house1|}}}
| data46        = {{{house1|}}}
| rowclass47    = mergedrow
| rowclass47    = mergedrow
| label47      = <div style="text-indent:-0.9em;margin-left:1.2em;font-weight:normal;">•&nbsp;{{#if:{{{type_house2|}}}|{{{type_house2|}}}|Lower house}}</div>
| label47      = <div class="ib-former-subdiv-fake-li">•&nbsp;{{#if:{{{type_house2|}}}|{{{type_house2|}}}|Lower house}}</div>
| data47        = {{{house2|}}}
| data47        = {{{house2|}}}


Line 281: Line 276:
    
    
-->{{#invoke:infobox|infoboxTemplate|child = yes
-->{{#invoke:infobox|infoboxTemplate|child = yes
  | labelstyle = font-weight:normal
   | rowclass1  = mergedrow   
   | rowclass1  = mergedrow   
   | label1    = &nbsp;•&nbsp;{{{membership_title1|}}}
   | label1    = {{nobold|1=&nbsp;•&nbsp;{{{membership_title1|}}}}}
   | data1      = {{{membership1|}}}
   | data1      = {{{membership1|}}}
   | rowclass2  = mergedrow   
   | rowclass2  = mergedrow   
   | label2    = &nbsp;•&nbsp;{{{membership_title2|}}}
   | label2    = {{nobold|1=&nbsp;•&nbsp;{{{membership_title2|}}}}}
   | data2      = {{{membership2|}}}
   | data2      = {{{membership2|}}}
   | rowclass3  = mergedrow   
   | rowclass3  = mergedrow   
   | label3    = &nbsp;•&nbsp;{{{membership_title3|}}}
   | label3    = {{nobold|1=&nbsp;•&nbsp;{{{membership_title3|}}}}}
   | data3      = {{{membership3|}}}
   | data3      = {{{membership3|}}}
   | rowclass4  = mergedrow   
   | rowclass4  = mergedrow   
   | label4    = &nbsp;•&nbsp;{{{membership_title4|}}}
   | label4    = {{nobold|1=&nbsp;•&nbsp;{{{membership_title4|}}}}}
   | data4      = {{{membership4|}}}
   | data4      = {{{membership4|}}}
   | rowclass5  = mergedrow   
   | rowclass5  = mergedrow   
   | label5    = &nbsp;•&nbsp;{{{membership_title5|}}}
   | label5    = {{nobold|1=&nbsp;•&nbsp;{{{membership_title5|}}}}}
   | data5      = {{{membership5|}}}
   | data5      = {{{membership5|}}}
}}
}}


|rowclass52    = {{#if:{{{Divisions|}}} | mergedtoprow |  mergedrow }}   
|rowclass52    = {{#if:{{{Divisions|}}} | mergedtoprow|  mergedrow}}   
|label52        = {{#if:{{{Divisions|}}} | Subdivisions }}
|label52        = {{#if:{{{Divisions|}}} | Subdivisions }}
|data52        = <!--
|data52        = <!--


-->{{#invoke:infobox|infoboxTemplate|child = yes
-->{{#invoke:infobox|infoboxTemplate|child = yes
  | labelstyle = font-weight:normal
   | rowclass1  = mergedrow
   | rowclass1  = mergedrow
   | label1    = &nbsp;•&nbsp;Type
   | label1    = {{nobold|&nbsp;•&nbsp;Type}}
   | data1      = {{{Divisions|}}}
   | data1      = {{{Divisions|}}}
   | rowclass2  = mergedrow
   | rowclass2  = mergedrow
   | label2    = &nbsp;•&nbsp;Units
   | label2    = {{nobold|&nbsp;•&nbsp;Units}}
   | data2      = {{{DivisionsNames|}}}
   | data2      = {{{DivisionsNames|}}}
   | rowclass3  = mergedrow
   | rowclass3  = mergedrow
Line 386: Line 379:
     -->
     -->
   }}
   }}
}}<includeonly>{{#ifeq:{{{child|}}}|yes||{{Wikidata image|1={{{image_map|}}}|2={{{nocat_wdimage|}}}}}}}</includeonly>{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox former subdivision with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox former subdivision]] with unknown parameter "_VALUE_"|ignoreblank=y| _noautocat | alt | alt_coat | alt_flag | alt_flag2 | alt_symbol | AltName | anthem | area_gained_year1 | area_gained_year2 | area_gained_year3 | area_gained1 | area_gained2 | area_gained3 | area_lost_year1 | area_lost_year2 | area_lost_year3 | area_lost1 | area_lost2 | area_lost3 | AreaFirst | AreaFirstYear | AreaLast | AreaLastYear | AreaSecond | AreaSecondYear | AreaThird | AreaThirdYear | Arms | arms_caption | arms_image | arms_link | border_p1 | border_p10 | border_p11 | border_p12 | border_p13 | border_p14 | border_p15 | border_p16 | border_p17 | border_p18 | border_p19 | border_p2 | border_p20 | border_p21 | border_p3 | border_p4 | border_p5 | border_p6 | border_p7 | border_p8 | border_p9 | border_s1 | border_s10 | border_s11 | border_s12 | border_s13 | border_s14 | border_s15 | border_s16 | border_s17 | border_s18 | border_s19 | border_s2 | border_s20 | border_s21 | border_s3 | border_s4 | border_s5 | border_s6 | border_s7 | border_s8 | border_s9 | capital | child | Civic | civic_caption | coa_size | coat_alt | Code | CodeName | common_name | conventional_long_name | coordinates | date_end | date_event1 | date_event10 | date_event2 | date_event3 | date_event4 | date_event5 | date_event6 | date_event7 | date_event8 | date_event9 | date_post | date_pre | date_start | demonym | DensityFirst | DensityFirstYear | DensityLast | DensityLastYear | DensitySecond | DensitySecondYear | DensityThird | DensityThirdYear | deputy1 | deputy10 | deputy11 | deputy12 | deputy13 | deputy14 | deputy15 | deputy2 | deputy3 | deputy4 | deputy5 | deputy6 | deputy7 | deputy8 | deputy9 | Divisions | divisions_map_caption | DivisionsMap | DivisionsNames | End | era | event_end | event_post | event_pre | event_start | event1 | event10 | event2 | event3 | event4 | event5 | event6 | event7 | event8 | event9 | flag | flag_alt | flag_alt2 | flag_border | flag_caption | flag_image | flag_link | flag_p1 | flag_p10 | flag_p11 | flag_p12 | flag_p13 | flag_p14 | flag_p15 | flag_p16 | flag_p17 | flag_p18 | flag_p19 | flag_p2 | flag_p20 | flag_p21 | flag_p3 | flag_p4 | flag_p5 | flag_p6 | flag_p7 | flag_p8 | flag_p9 | flag_s1 | flag_s10 | flag_s11 | flag_s12 | flag_s13 | flag_s14 | flag_s15 | flag_s16 | flag_s17 | flag_s18 | flag_s19 | flag_s2 | flag_s20 | flag_s21 | flag_s3 | flag_s4 | flag_s5 | flag_s6 | flag_s7 | flag_s8 | flag_s9 | flag_size | flag_type | flag_width | flag2_border | footnotes | gained_from1 | gained_from2 | gained_from3 | Government | government_type | house1 | house2 | HQ | Image | image | image size | image_caption | image_coat | image_flag | image_flag2 | image_map | image_map_caption | image_map2 | image_map2_caption | image_p1 | image_p10 | image_p11 | image_p12 | image_p13 | image_p14 | image_p15 | image_p16 | image_p17 | image_p18 | image_p19 | image_p2 | image_p20 | image_p21 | image_p3 | image_p4 | image_p5 | image_p6 | image_p7 | image_p8 | image_p9 | image_s1 | image_s10 | image_s11 | image_s12 | image_s13 | image_s14 | image_s15 | image_s16 | image_s17 | image_s18 | image_s19 | image_s2 | image_s20 | image_s21 | image_s3 | image_s4 | image_s5 | image_s6 | image_s7 | image_s8 | image_s9 | image_size | image_symbol | imagesize | leader1 | leader10 | leader11 | leader12 | leader13 | leader14 | leader15 | leader2 | leader3 | leader4 | leader5 | leader6 | leader7 | leader8 | leader9 | legislature | life_span | linking_name | lost_to1 | lost_to2 | lost_to3 | Map | map_caption | membership_title1 | membership_title2 | membership_title3 | membership_title4 | membership_title5 | membership1 | membership2 | membership3 | membership4 | membership5 | Motto | motto| Name | name | nation | native_name | native_name_lang | nocat_wdimage | Origin | p1 | p10 | p11 | p12 | p13 | p14 | p15 | p16 | p17 | p18 | p19 | p2 | p20 | p21 | p3 | p4 | p5 | p6 | p7 | p8 | p9 | political_subdiv | PopulationFirst | PopulationFirstYear | PopulationLast | PopulationLastYear | PopulationSecond | PopulationSecondYear | PopulationThird | PopulationThirdYear | preceded_by | ref_area1 | ref_area2 | ref_area3 | ref_area4 | ref_area5 | ref_pop1 | ref_pop2 | ref_pop3 | ref_pop4 | ref_pop5 | Replace | s1 | s10 | s11 | s12 | s13 | s14 | s15 | s16 | s17 | s18 | s19 | s2 | s20 | s21 | s3 | s4 | s5 | s6 | s7 | s8 | s9 | Start | stat_area1 | stat_area2 | stat_area3 | stat_area4 | stat_area5 | stat_pop1 | stat_pop2 | stat_pop3 | stat_pop4 | stat_pop5 | stat_year1 | stat_year2 | stat_year3 | stat_year4 | stat_year5 | Status | status_text | subdivision | subdivision_type | symbol | symbol_type | symbol_width | title_deputy | title_leader | today | type_house1 | type_house2 | year_deputy1 | year_deputy10 | year_deputy11 | year_deputy12 | year_deputy13 | year_deputy14 | year_deputy15 | year_deputy2 | year_deputy3 | year_deputy4 | year_deputy5 | year_deputy6 | year_deputy7 | year_deputy8 | year_deputy9 | year_end | year_leader1 | year_leader10 | year_leader11 | year_leader12 | year_leader13 | year_leader14 | year_leader15 | year_leader2 | year_leader3 | year_leader4 | year_leader5 | year_leader6 | year_leader7 | year_leader8 | year_leader9 | year_start }}<noinclude>
}}<includeonly>{{#ifeq:{{{child|}}}|yes||{{Wikidata image|1={{{image_map|}}}|2={{{nocat_wdimage|}}}}}}}</includeonly>{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox former subdivision with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox former subdivision]] with unknown parameter "_VALUE_"|ignoreblank=y| _noautocat | alt | alt_coat | alt_flag | alt_flag2 | alt_symbol | AltName | AltNameModule | anthem | area_gained_year1 | area_gained_year2 | area_gained_year3 | area_gained1 | area_gained2 | area_gained3 | area_lost_year1 | area_lost_year2 | area_lost_year3 | area_lost1 | area_lost2 | area_lost3 | AreaFirst | AreaFirstYear | AreaLast | AreaLastYear | AreaSecond | AreaSecondYear | AreaThird | AreaThirdYear | Arms | arms_caption | arms_image | arms_link | border_p1 | border_p10 | border_p11 | border_p12 | border_p13 | border_p14 | border_p15 | border_p16 | border_p17 | border_p18 | border_p19 | border_p2 | border_p20 | border_p21 | border_p3 | border_p4 | border_p5 | border_p6 | border_p7 | border_p8 | border_p9 | border_s1 | border_s10 | border_s11 | border_s12 | border_s13 | border_s14 | border_s15 | border_s16 | border_s17 | border_s18 | border_s19 | border_s2 | border_s20 | border_s21 | border_s3 | border_s4 | border_s5 | border_s6 | border_s7 | border_s8 | border_s9 | capital | child | Civic | civic_caption | coa_size | coat_alt | Code | CodeName | common_name | conventional_long_name | coordinates | date_end | date_event1 | date_event10 | date_event2 | date_event3 | date_event4 | date_event5 | date_event6 | date_event7 | date_event8 | date_event9 | date_post | date_pre | date_start | demonym | DensityFirst | DensityFirstYear | DensityLast | DensityLastYear | DensitySecond | DensitySecondYear | DensityThird | DensityThirdYear | deputy1 | deputy10 | deputy11 | deputy12 | deputy13 | deputy14 | deputy15 | deputy2 | deputy3 | deputy4 | deputy5 | deputy6 | deputy7 | deputy8 | deputy9 | Divisions | divisions_map_caption | DivisionsMap | DivisionsNames | End | era | event_end | event_post | event_pre | event_start | event1 | event10 | event2 | event3 | event4 | event5 | event6 | event7 | event8 | event9 | flag | flag_alt | flag_alt2 | flag_border | flag_caption | flag_image | flag_link | flag_p1 | flag_p10 | flag_p11 | flag_p12 | flag_p13 | flag_p14 | flag_p15 | flag_p16 | flag_p17 | flag_p18 | flag_p19 | flag_p2 | flag_p20 | flag_p21 | flag_p3 | flag_p4 | flag_p5 | flag_p6 | flag_p7 | flag_p8 | flag_p9 | flag_s1 | flag_s10 | flag_s11 | flag_s12 | flag_s13 | flag_s14 | flag_s15 | flag_s16 | flag_s17 | flag_s18 | flag_s19 | flag_s2 | flag_s20 | flag_s21 | flag_s3 | flag_s4 | flag_s5 | flag_s6 | flag_s7 | flag_s8 | flag_s9 | flag_size | flag_type | flag_width | flag2_border | footnotes | gained_from1 | gained_from2 | gained_from3 | Government | government_type | house1 | house2 | HQ | Image | image | image size | image_caption | image_coat | image_flag | image_flag2 | image_map | image_map_caption | image_map2 | image_map2_caption | image_p1 | image_p10 | image_p11 | image_p12 | image_p13 | image_p14 | image_p15 | image_p16 | image_p17 | image_p18 | image_p19 | image_p2 | image_p20 | image_p21 | image_p3 | image_p4 | image_p5 | image_p6 | image_p7 | image_p8 | image_p9 | image_s1 | image_s10 | image_s11 | image_s12 | image_s13 | image_s14 | image_s15 | image_s16 | image_s17 | image_s18 | image_s19 | image_s2 | image_s20 | image_s21 | image_s3 | image_s4 | image_s5 | image_s6 | image_s7 | image_s8 | image_s9 | image_size | image_symbol | imagesize | leader1 | leader10 | leader11 | leader12 | leader13 | leader14 | leader15 | leader2 | leader3 | leader4 | leader5 | leader6 | leader7 | leader8 | leader9 | legislature | life_span | linking_name | lost_to1 | lost_to2 | lost_to3 | Map | map_caption | membership_title1 | membership_title2 | membership_title3 | membership_title4 | membership_title5 | membership1 | membership2 | membership3 | membership4 | membership5 | Motto | motto| Name | name | nation | native_name | native_name_lang | nocat_wdimage | Origin | p1 | p10 | p11 | p12 | p13 | p14 | p15 | p16 | p17 | p18 | p19 | p2 | p20 | p21 | p3 | p4 | p5 | p6 | p7 | p8 | p9 | political_subdiv | PopulationFirst | PopulationFirstYear | PopulationLast | PopulationLastYear | PopulationSecond | PopulationSecondYear | PopulationThird | PopulationThirdYear | preceded_by | ref_area1 | ref_area2 | ref_area3 | ref_area4 | ref_area5 | ref_pop1 | ref_pop2 | ref_pop3 | ref_pop4 | ref_pop5 | Replace | s1 | s10 | s11 | s12 | s13 | s14 | s15 | s16 | s17 | s18 | s19 | s2 | s20 | s21 | s3 | s4 | s5 | s6 | s7 | s8 | s9 | Start | stat_area1 | stat_area2 | stat_area3 | stat_area4 | stat_area5 | stat_pop1 | stat_pop2 | stat_pop3 | stat_pop4 | stat_pop5 | stat_year1 | stat_year2 | stat_year3 | stat_year4 | stat_year5 | Status | status_text | subdivision | subdivision_type | symbol | symbol_type | symbol_width | title_deputy | title_leader | today | type_house1 | type_house2 | year_deputy1 | year_deputy10 | year_deputy11 | year_deputy12 | year_deputy13 | year_deputy14 | year_deputy15 | year_deputy2 | year_deputy3 | year_deputy4 | year_deputy5 | year_deputy6 | year_deputy7 | year_deputy8 | year_deputy9 | year_end | year_leader1 | year_leader10 | year_leader11 | year_leader12 | year_leader13 | year_leader14 | year_leader15 | year_leader2 | year_leader3 | year_leader4 | year_leader5 | year_leader6 | year_leader7 | year_leader8 | year_leader9 | year_start }}<noinclude>
{{documentation}}</noinclude>
{{documentation}}</noinclude>

Revision as of 20:56, 4 August 2022

Template:Infobox former subdivision/doc