Template:Infobox former country: Difference between revisions

From FasciPedia
Jump to navigation Jump to search
m (𝗔𝗿𝗰𝗵𝗮𝗻𝗴𝗲𝗹 moved page NatSoc:Infobox former country to Template:Infobox former country without leaving a redirect)
No edit summary
 
Line 3: Line 3:
{{#if:{{{common_name|}}}||
{{#if:{{{common_name|}}}||
{{!}}- style="font-size: 85%;"
{{!}}- style="font-size: 85%;"
{{!}}'''Warning''':  ''Value not specified for "[[Template:Infobox former country/doc#Name|common_name]]"''{{#if:{{{_noautocat|<noinclude>yes</noinclude>}}}||[[Category:Former country articles requiring maintenance|N]]}}
{{!}}'''Warning''':  ''Value not specified for "[[Template:Infobox former country/doc#Name|common_name]]"''{{#if:{{{_noautocat|<noinclude>yes</noinclude>}}}||}}
}}  
}}  
{{#if:{{{continent|}}}|
{{#if:{{{continent|}}}|
  {{#switch:{{{region}}}
  {{#switch:{{{region}}}
   |Italy = {{#if:{{{_noautocat|<noinclude>yes</noinclude>}}}||[[Category:Former countries on the Italian Peninsula|{{{common_name}}}, {{{year_start}}}]]}}
   |Italy = {{#if:{{{_noautocat|<noinclude>yes</noinclude>}}}||}}
   |Balkans = {{#if:{{{_noautocat|<noinclude>yes</noinclude>}}}||[[Category:Former countries in the Balkans|{{{common_name}}}, {{{year_start}}}]]}}
   |Balkans = {{#if:{{{_noautocat|<noinclude>yes</noinclude>}}}||}}
   |British Isles = {{#if:{{{_noautocat|<noinclude>yes</noinclude>}}}||[[Category:Former countries in the British Isles|{{{common_name}}}, {{{year_start}}}]]}}
   |British Isles = {{#if:{{{_noautocat|<noinclude>yes</noinclude>}}}||}}
   |Low Countries |Netherlands = {{#if:{{{_noautocat|<noinclude>yes</noinclude>}}}||[[Category:Former polities in the Netherlands|{{{common_name}}}, {{{year_start}}}]]}}
   |Low Countries |Netherlands = {{#if:{{{_noautocat|<noinclude>yes</noinclude>}}}||}}
   |China = {{#if:{{{_noautocat|<noinclude>yes</noinclude>}}}||[[Category:Former countries in Chinese history|{{{common_name}}}, {{{year_start}}}]]}}
   |China = {{#if:{{{_noautocat|<noinclude>yes</noinclude>}}}||}}
   |Japan = {{#if:{{{_noautocat|<noinclude>yes</noinclude>}}}||[[Category:Former countries in Japanese history|{{{common_name}}}, {{{year_start}}}]]}}
   |Japan = {{#if:{{{_noautocat|<noinclude>yes</noinclude>}}}||}}
   |Korea = {{#if:{{{_noautocat|<noinclude>yes</noinclude>}}}||[[Category:Former countries in Korean history|{{{common_name}}}, {{{year_start}}}]]}}
   |Korea = {{#if:{{{_noautocat|<noinclude>yes</noinclude>}}}||}}
   |#default = {{#switch:{{ucfirst:{{{country}}}}}
   |#default = {{#switch:{{ucfirst:{{{country}}}}}
     |China = {{#if:{{{_noautocat|<noinclude>yes</noinclude>}}}||[[Category:Former countries in Chinese history|{{{common_name}}}, {{{year_start}}}]]}}
     |China = {{#if:{{{_noautocat|<noinclude>yes</noinclude>}}}||}}
     |Japan = {{#if:{{{_noautocat|<noinclude>yes</noinclude>}}}||[[Category:Former countries in Japanese history|{{{common_name}}}, {{{year_start}}}]]}}
     |Japan = {{#if:{{{_noautocat|<noinclude>yes</noinclude>}}}||}}
     |Korea = {{#if:{{{_noautocat|<noinclude>yes</noinclude>}}}||[[Category:Former countries in Korean history|{{{common_name}}}, {{{year_start}}}]]}}
     |Korea = {{#if:{{{_noautocat|<noinclude>yes</noinclude>}}}||}}
     |Malaysia = {{#if:{{{_noautocat|<noinclude>yes</noinclude>}}}||[[Category:Former countries in Malaysian history|{{{common_name}}}, {{{year_start}}}]]}}
     |Malaysia = {{#if:{{{_noautocat|<noinclude>yes</noinclude>}}}||}}
     |#default = {{#switch:{{ucfirst:{{{continent}}}}}
     |#default = {{#switch:{{ucfirst:{{{continent}}}}}
       |Europe = {{#if:{{{_noautocat|<noinclude>yes</noinclude>}}}||[[Category:Former countries in Europe|{{{common_name}}}, {{{year_start}}}]]}}
       |Europe = {{#if:{{{_noautocat|<noinclude>yes</noinclude>}}}||}}
       |Asia = {{#if:{{{_noautocat|<noinclude>yes</noinclude>}}}||[[Category:Former countries in Asia|{{{common_name}}}, {{{year_start}}}]]}}
       |Asia = {{#if:{{{_noautocat|<noinclude>yes</noinclude>}}}||}}
       |North America = {{#if:{{{_noautocat|<noinclude>yes</noinclude>}}}||[[Category:Former countries in North America|{{{common_name}}}, {{{year_start}}}]]}}
       |North America = {{#if:{{{_noautocat|<noinclude>yes</noinclude>}}}||}}
       |South America = {{#if:{{{_noautocat|<noinclude>yes</noinclude>}}}||[[Category:Former countries in South America|{{{common_name}}}, {{{year_start}}}]]}}
       |South America = {{#if:{{{_noautocat|<noinclude>yes</noinclude>}}}||}}
       |Africa = {{#if:{{{_noautocat|<noinclude>yes</noinclude>}}}||[[Category:Former countries in Africa|{{{common_name}}}, {{{year_start}}}]]}}
       |Africa = {{#if:{{{_noautocat|<noinclude>yes</noinclude>}}}||}}
       |Oceania = {{#if:{{{_noautocat|<noinclude>yes</noinclude>}}}||[[Category:Former countries in Oceania|{{{common_name}}}, {{{year_start}}}]]}}
       |Oceania = {{#if:{{{_noautocat|<noinclude>yes</noinclude>}}}||}}
       |Eurasia = {{#if:{{{_noautocat|<noinclude>yes</noinclude>}}}||[[Category:Former countries in Europe|{{{common_name}}}, {{{year_start}}}]][[Category:Former countries in Asia|{{{common_name}}}, {{{year_start}}}]]}}
       |Eurasia = {{#if:{{{_noautocat|<noinclude>yes</noinclude>}}}||}}
       |Afroasia = {{#if:{{{_noautocat|<noinclude>yes</noinclude>}}}||[[Category:Former countries in Africa|{{{common_name}}}, {{{year_start}}}]][[Category:Former countries in Asia|{{{common_name}}}, {{{year_start}}}]]}}
       |Afroasia = {{#if:{{{_noautocat|<noinclude>yes</noinclude>}}}||}}
       |Afroeurasia = {{#if:{{{_noautocat|<noinclude>yes</noinclude>}}}||[[Category:Former countries in Europe|{{{common_name}}}, {{{year_start}}}]][[Category:Former countries in Asia|{{{common_name}}}, {{{year_start}}}]][[Category:Former countries in Africa|{{{common_name}}}, {{{year_start}}}]]}}
       |Afroeurasia = {{#if:{{{_noautocat|<noinclude>yes</noinclude>}}}||}}
       |{{!}}- style="font-size: 85%;"
       |{{!}}- style="font-size: 85%;"
       {{!}}'''Warning''': ''Value specified for "[[Template:Infobox former country/doc#Location|continent]]" [[Template:Infobox former country/doc#Location|does not comply]]''{{#if:{{{_noautocat|<noinclude>yes</noinclude>}}}||[[Category:Former country articles requiring maintenance|C]]}}
       {{!}}'''Warning''': ''Value specified for "[[Template:Infobox former country/doc#Location|continent]]" [[Template:Infobox former country/doc#Location|does not comply]]''{{#if:{{{_noautocat|<noinclude>yes</noinclude>}}}||}}
   }}}}}}
   }}}}}}
  |{{!}}- style="font-size: 85%;"
  |{{!}}- style="font-size: 85%;"
   {{!}} '''Warning''': ''Value not specified for "[[Template:Infobox former country/doc#Location|continent]]"''{{#if:{{{_noautocat|<noinclude>yes</noinclude>}}}||[[Category:Former country articles requiring maintenance|C]]}}}}
   {{!}} '''Warning''': ''Value not specified for "[[Template:Infobox former country/doc#Location|continent]]"''{{#if:{{{_noautocat|<noinclude>yes</noinclude>}}}||}}}}
<!-- Categorisation for status, now separate from its placement within infobox to make the coding clearer  
<!-- Categorisation for status, now separate from its placement within infobox to make the coding clearer  
-->{{#if:{{{_noautocat|<noinclude>yes</noinclude>}}}||  
-->{{#if:{{{_noautocat|<noinclude>yes</noinclude>}}}||  
  {{#if:{{{status|}}}| {{#switch:{{ucfirst:{{{status}}}}}
  {{#if:{{{status|}}}| {{#switch:{{ucfirst:{{{status}}}}}
   |Empire = [[Category:Former empires|{{{common_name}}}]]
   |Empire =  
   |Federation |Federal = [[Category:Former federations|{{{common_name}}}]]
   |Federation |Federal =  
   |Confederation = [[Category:Former confederations|{{{common_name}}}]]
   |Confederation =  
   |State union |State Union |Union = [[Category:Former state unions|{{{common_name}}}, {{{year_start}}}]]
   |State union |State Union |Union =  
   |Unrecognized |Unrecognised |Unrecognized state |Unrecognised state |Unrecognized State |Unrecognised State=[[Category:Former unrecognized countries|{{{common_name}}}]]
   |Unrecognized |Unrecognised |Unrecognized state |Unrecognised state |Unrecognized State |Unrecognised State=
   |City-state |City-State |City state |City State |City ={{#switch:{{{empire|}}}
   |City-state |City-State |City state |City State |City ={{#switch:{{{empire|}}}
     |Holy Roman Empire |HRE = [[Category:States of the Holy Roman Empire|{{{common_name}}}, {{{year_start}}}]][[Category:City-states|{{{common_name}}}, {{{year_start}}}]][[Category:Imperial free cities|{{{common_name}}}, {{{year_start}}}]]
     |Holy Roman Empire |HRE =  
     |#default = [[Category:City-states|{{{common_name}}}, {{{year_start}}}]]
     |#default =  
   }}
   }}
   |Commonwealth realm |Commonwealth Realm = [[Category:Former Commonwealth realms|{{{common_name}}}]]
   |Commonwealth realm |Commonwealth Realm =  
   |League of Nations Mandate |League of Nations |Mandate = [[Category:League of Nations mandates|{{{common_name}}}, {{{empire}}}]]
   |League of Nations Mandate |League of Nations |Mandate =  
   |United Nations Trust Territory| UN Trust Territory |Trust Territory=[[Category:United Nations Trust Territories|{{{common_name}}}, {{{empire}}}]]
   |United Nations Trust Territory| UN Trust Territory |Trust Territory=
   |Protectorate = [[Category:Former {{#switch:{{{empire}}}|United Kingdom|UK|Britain=British}} protectorates|{{{common_name}}}, {{{empire}}}]]
   |Protectorate = nat
   |Client |Client state |Client State |Puppet |Puppet-state |Puppet state={{#switch:{{{empire|}}}
   |Client |Client state |Client State |Puppet |Puppet-state |Puppet state={{#switch:{{{empire|}}}
     |First French Empire | France = [[Category:Client states of the Great French War|{{{common_name}}}, {{{year_start}}}]]
     |First French Empire | France =  
     |#default =  [[Category:Former client states|{{{common_name}}}, {{{year_start}}}]]
     |#default =   
   }}
   }}
   |Vassal |Fief |Abbey= {{#switch:{{{empire|}}}
   |Vassal |Fief |Abbey= {{#switch:{{{empire|}}}
     |Holy Roman Empire |HRE = [[Category:States of the Holy Roman Empire|{{{common_name}}}, {{{year_start}}}]]
     |Holy Roman Empire |HRE =  
     |#default =  [[Category:Former vassal states|{{{common_name}}}, {{{year_start}}}]]
     |#default =   
   }}
   }}
   |Satellite |Satellite State | Satellite state =[[Category:Soviet satellite states|{{{common_name}}}]]
   |Satellite |Satellite State | Satellite state =
   |Colony={{#switch:{{ucfirst:{{{empire}}}}}
   |Colony={{#switch:{{ucfirst:{{{empire}}}}}
     |United Kingdom |UK |British Empire |England| Britain= [[Category:Former British colonies|{{{common_name}}}, {{{empire}}}]]
     |United Kingdom |UK |British Empire |England| Britain=  
     |France |First French Empire| French Empire=[[Category:Former colonies of France|{{{common_name}}}, {{{empire}}}]]
     |France |First French Empire| French Empire=
     |NL |Netherlands |The Netherlands=[[Category:Former Dutch colonies|{{{common_name}}}, {{{empire}}}]]
     |NL |Netherlands |The Netherlands=
     |Belgium=[[Category:Former Belgian colonies|{{{common_name}}}, {{{empire}}}]]
     |Belgium=
     |Spain |Spanish Empire=[[Category:Former Spanish colonies|{{{common_name}}}, {{{empire}}}]]
     |Spain |Spanish Empire=
     |Portugal=[[Category:Former Portuguese colonies|{{{common_name}}}, {{{empire}}}]]
     |Portugal=
     |Germany |German Empire=[[Category:Former German colonies|{{{common_name}}}, {{{empire}}}]]
     |Germany |German Empire=
     |Italy=[[Category:Former Italian colonies|{{{common_name}}}, {{{empire}}}]]
     |Italy=
     |Sweden=[[Category:Former Swedish colonies|{{{common_name}}}, {{{empire}}}]]
     |Sweden=
     |Denmark=[[Category:Former Danish colonies|{{{common_name}}}, {{{empire}}}]]
     |Denmark=
     |Norway=[[Category:Former Norwegian colonies|{{{common_name}}}, {{{empire}}}]]
     |Norway=
     |Japan=[[Category:Former Japanese colonies|{{{common_name}}}, {{{empire}}}]]
     |Japan=
     |#default = [[Category:Former colonies|{{{common_name}}}, {{{empire}}}]]
     |#default =  
   }}
   }}
   |Exile |Exiled Government = [[Category:Governments in exile|{{{common_name}}}]]
   |Exile |Exiled Government =
   |Provisional |Provisional Government |Provisional government = [[Category:Provisional governments|{{{common_name}}}]]
   |Provisional |Provisional Government |Provisional government =
   |Special |Special territory |Military occupation |Rump state=  
   |Special |Special territory |Military occupation |Rump state=  
   |#default=[[Category:Former country articles requiring maintenance|S]]
   |#default=
}}}}}}
}}}}}}
|-
|-
Line 89: Line 89:
  | {{#if:{{{conventional_long_name|}}}  
  | {{#if:{{{conventional_long_name|}}}  
   | {{{conventional_long_name}}}
   | {{{conventional_long_name}}}
   | ''Error: No name(s) given'' {{#if:{{{_noautocat|<noinclude>yes</noinclude>}}}||[[Category:Former country articles requiring maintenance|N]]}}
   | ''Error: No name(s) given'' {{#if:{{{_noautocat|<noinclude>yes</noinclude>}}}||}}
   }}
   }}
}}'''
}}'''
Line 128: Line 128:
     |United States |US |USA =the [[United States]]
     |United States |US |USA =the [[United States]]
     |#default = {{#ifexist:{{{empire}}}|[[{{{empire}}}]]|{{{empire}}}}}
     |#default = {{#ifexist:{{{empire}}}|[[{{{empire}}}]]|{{{empire}}}}}
     }} |whom? {{#if:{{{_noautocat|<noinclude>yes</noinclude>}}}||[[Category:Former country articles requiring maintenance|S]]}}
     }} |whom? {{#if:{{{_noautocat|<noinclude>yes</noinclude>}}}||}}
   }}}}
   }}}}
   |Client |Client state |Client State |Puppet |Puppet-state |Puppet state= {{#if:{{{status_text|}}}|{{{status_text}}}|{{#if:{{{empire|}}}| {{#switch:{{{empire}}}
   |Client |Client state |Client State |Puppet |Puppet-state |Puppet state= {{#if:{{{status_text|}}}|{{{status_text}}}|{{#if:{{{empire|}}}| {{#switch:{{{empire}}}
     |First French Empire |France = [[French client republic|Client]] of the [[First French Empire]]
     |First French Empire |France = [[French client republic|Client]] of the [[First French Empire]]
     |#default = [[Puppet state]] of {{#ifexist:{{{empire}}}|[[{{{empire}}}]]|{{{empire}}}}}
     |#default = [[Puppet state]] of {{#ifexist:{{{empire}}}|[[{{{empire}}}]]|{{{empire}}}}}
     }} | Puppet state ''(of whom?)'' {{#if:{{{_noautocat|<noinclude>yes</noinclude>}}}||[[Category:Former country articles requiring maintenance|S]]}}
     }} | Puppet state ''(of whom?)'' {{#if:{{{_noautocat|<noinclude>yes</noinclude>}}}||}}
   }}}}
   }}}}
   |Vassal={{#if:{{{status_text|}}}|{{{status_text}}}|{{#switch:{{{empire|}}}
   |Vassal={{#if:{{{status_text|}}}|{{{status_text}}}|{{#switch:{{{empire|}}}
     |Holy Roman Empire |HRE = [[States of the Holy Roman Empire|State]] of the [[Holy Roman Empire]] {{#if:{{{year_end|}}}|{{#ifexpr:{{{year_end}}}>1806|<small>(until 1806)</small>}}|}}
     |Holy Roman Empire |HRE = [[States of the Holy Roman Empire|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>}}}||[[Category:Former country articles requiring maintenance|S]]}}}}
     |#default =  Vassal{{#if:{{{empire|}}}|&nbsp;of&nbsp;{{{empire}}}|&nbsp;of whom? {{#if:{{{_noautocat|<noinclude>yes</noinclude>}}}||}}}}
   }}}}
   }}}}
   |Fief={{#if:{{{status_text|}}}|{{{status_text}}}|{{#switch:{{{empire|}}}
   |Fief={{#if:{{{status_text|}}}|{{{status_text}}}|{{#switch:{{{empire|}}}
     |#default =  Fief{{#if:{{{empire|}}}|&nbsp;of&nbsp;{{{empire}}}|&nbsp;of whom? {{#if:{{{_noautocat|<noinclude>yes</noinclude>}}}||[[Category:Former country articles requiring maintenance|S]]}}}}
     |#default =  Fief{{#if:{{{empire|}}}|&nbsp;of&nbsp;{{{empire}}}|&nbsp;of whom? {{#if:{{{_noautocat|<noinclude>yes</noinclude>}}}||}}}}
   }}}}
   }}}}
   |Abbey={{#if:{{{status_text|}}}|{{{status_text}}}|{{#switch:{{{empire|}}}
   |Abbey={{#if:{{{status_text|}}}|{{{status_text}}}|{{#switch:{{{empire|}}}
     |Holy Roman Empire |HRE = [[Imperial Abbey]] of the [[Holy Roman Empire]] [[Category:Imperial abbeys|{{{common_name}}}]]
     |Holy Roman Empire |HRE = [[Imperial Abbey]] of the [[Holy Roman Empire]]  
     |#default =  Abbey{{#if:{{{empire|}}}|&nbsp;of&nbsp;{{{empire}}}|&nbsp;of whom? {{#if:{{{_noautocat|<noinclude>yes</noinclude>}}}||[[Category:Former country articles requiring maintenance|S]]}}}}
     |#default =  Abbey{{#if:{{{empire|}}}|&nbsp;of&nbsp;{{{empire}}}|&nbsp;of whom? {{#if:{{{_noautocat|<noinclude>yes</noinclude>}}}||}}}}
   }}}}
   }}}}
   |Satellite |Satellite State | Satellite state ={{#if:{{{status_text|}}}|{{{status_text}}}| Satellite state of the [[Soviet Union]]}}  
   |Satellite |Satellite State | Satellite state ={{#if:{{{status_text|}}}|{{{status_text}}}| Satellite state of the [[Soviet Union]]}}  
Line 161: Line 161:
     |Russia=Russian colony
     |Russia=Russian colony
     |Japan=[[Japanese Empire|Japanese colony]]
     |Japan=[[Japanese Empire|Japanese colony]]
     |#default = Colony ({{#if:{{{empire|}}}|{{{empire}}}|''of whom?''{{#if:{{{_noautocat|<noinclude>yes</noinclude>}}}||[[Category:Former country articles requiring maintenance|S]]}}}})
     |#default = Colony ({{#if:{{{empire|}}}|{{{empire}}}|''of whom?''{{#if:{{{_noautocat|<noinclude>yes</noinclude>}}}||}}}})
   }}
   }}
   |Provisional |Provisional Government |Provisional government ={{#if:{{{status_text|}}}|{{{status_text}}}| [[Provisional government]]}}  
   |Provisional |Provisional Government |Provisional government ={{#if:{{{status_text|}}}|{{{status_text}}}| [[Provisional government]]}}  
Line 249: Line 249:
   |Constitutional monarchy |Constitutional Monarchy|Elective monarchy|Elective Monarchy |Absolute Monarchy |Absolute monarchy
   |Constitutional monarchy |Constitutional Monarchy|Elective monarchy|Elective Monarchy |Absolute Monarchy |Absolute monarchy
   |Monarchy=[[{{{government_type}}}]] {{#if:{{{_noautocat|<noinclude>yes</noinclude>}}}||{{#switch:{{{continent}}}
   |Monarchy=[[{{{government_type}}}]] {{#if:{{{_noautocat|<noinclude>yes</noinclude>}}}||{{#switch:{{{continent}}}
     |Europe=[[Category:Former monarchies of Europe|{{{common_name}}}, {{{year_start}}}]]
     |Europe=
     |Asia=[[Category:Former monarchies of Asia|{{{common_name}}}, {{{year_start}}}]]
     |Asia=
     |North America=[[Category:Former monarchies of North America|{{{common_name}}}, {{{year_start}}}]]
     |North America=
     |South America=[[Category:Former monarchies of South America|{{{common_name}}}, {{{year_start}}}]]
     |South America=
     |Africa=[[Category:Former monarchies of Africa|{{{common_name}}}, {{{year_start}}}]]
     |Africa=
     |Oceania=[[Category:Former monarchies of Oceania|{{{common_name}}}, {{{year_start}}}]]
     |Oceania=
     |Eurasia=[[Category:Former monarchies of Europe|{{{common_name}}}, {{{year_start}}}]][[Category:Former monarchies of Asia|{{{common_name}}}, {{{year_start}}}]]
     |Eurasia=
     |Afroasia=[[Category:Former monarchies of Africa|{{{common_name}}}, {{{year_start}}}]][[Category:Former monarchies of Asia|{{{common_name}}}, {{{year_start}}}]]
     |Afroasia=
     |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}}}]]|[[Category:Former monarchies|{{{common_name}}}, {{{year_start}}}]]
     |Afroeurasia=|
     }}}}
     }}}}
   |Republic|Federal Republic|Federal republic=[[Republic]] {{#if:{{{_noautocat|<noinclude>yes</noinclude>}}}|| [[Category:Former republics|{{{common_name}}}, {{{year_start}}}]]}}
   |Republic|Federal Republic|Federal republic=[[Republic]] {{#if:{{{_noautocat|<noinclude>yes</noinclude>}}}|| }}
   |Principality=[[Principality]] {{#if:{{{_noautocat|<noinclude>yes</noinclude>}}}|| [[Category:Former principalities|{{{common_name}}}, {{{year_start}}}]]}}
   |Principality=[[Principality]] {{#if:{{{_noautocat|<noinclude>yes</noinclude>}}}|| }}
   |Emirate=[[Emirate]] {{#if:{{{_noautocat|<noinclude>yes</noinclude>}}}|| [[Category:Former emirates|{{{common_name}}}, {{{year_start}}}]]}}
   |Emirate=[[Emirate]] {{#if:{{{_noautocat|<noinclude>yes</noinclude>}}}|| }}
   |Socialist state |Socialist republic |Socialist State |Socialist Republic=[[Socialist state|Socialist republic]] {{#if:{{{_noautocat|<noinclude>yes</noinclude>}}}|| [[Category:Former socialist republics|{{{common_name}}}, {{{year_start}}}]]}}
   |Socialist state |Socialist republic |Socialist State |Socialist Republic=[[Socialist state|Socialist republic]] {{#if:{{{_noautocat|<noinclude>yes</noinclude>}}}|| }}
   |Dictatorship |Military Dictatorship=[[Dictatorship]]  
   |Dictatorship |Military Dictatorship=[[Dictatorship]]  
   |Theocracy = [[Theocracy]] {{#if:{{{_noautocat|<noinclude>yes</noinclude>}}}|| [[Category:Former theocracies|{{{common_name}}}, {{{year_start}}}]]}}
   |Theocracy = [[Theocracy]] {{#if:{{{_noautocat|<noinclude>yes</noinclude>}}}|| }}
   |Unknown = ''Unknown''
   |Unknown = ''Unknown''
   |Various =  
   |Various =  
   |#default = {{#ifexist:{{{government_type}}}|[[{{{government_type}}}]]|{{{government_type}}}}}<!-- ''Value specified for "government_type" [[Template:Infobox former country/doc#Politics|does not comply]]'' -->{{ns0|[[Category:Former country articles requiring maintenance|G]]}}
   |#default = {{#ifexist:{{{government_type}}}|[[{{{government_type}}}]]|{{{government_type}}}}}<!-- ''Value specified for "government_type" [[Template:Infobox former country/doc#Politics|does not comply]]'' -->{{ns0|}}
   }}|{{#if:{{{status|}}}|{{#ifexist:{{{status}}}|[[{{{status}}}]]|{{{status}}}}}|''Not specified''}}
   }}|{{#if:{{{status|}}}|{{#ifexist:{{{status}}}|[[{{{status}}}]]|{{{status}}}}}|''Not specified''}}
}}
}}
Line 391: Line 391:
| {{#if:{{{era|}}}|'''Historical era'''|'''History'''}}
| {{#if:{{{era|}}}|'''Historical era'''|'''History'''}}
|| {{#if:{{{era|}}}|{{#ifexist:{{{era|}}}|[[{{{era}}}]]|{{{era}}}}} {{#if:{{{_noautocat|<noinclude>yes</noinclude>}}}||{{#switch:{{{era}}}
|| {{#if:{{{era|}}}|{{#ifexist:{{{era|}}}|[[{{{era}}}]]|{{{era}}}}} {{#if:{{{_noautocat|<noinclude>yes</noinclude>}}}||{{#switch:{{{era}}}
   |Cold War=[[Category:Former polities of the Cold War|{{{common_name}}}, {{{year_start}}}]]
   |Cold War=
   |Interwar period=[[Category:Former polities of the Interwar period|{{{common_name}}}, {{{year_start}}}]]
   |Interwar period=
   }} }} }}
   }} }} }}
{{#if:{{{_noautocat|<noinclude>yes</noinclude>}}}|| {{#ifeq:0|{{#expr:{{{year_end}}}>({{{year_start}}}+10)}}|[[Category:{{#switch:{{{era}}}
{{#if:{{{_noautocat|<noinclude>yes</noinclude>}}}|| {{#ifeq:0|{{#expr:{{{year_end}}}>({{{year_start}}}+10)}}| }} }}
  |World War II=Short-lived states of World War II
  |World War I=Short-lived states of World War I
  |#default=Short-lived states}}|{{{common_name}}}, {{{year_start}}}]] }} }}
|- class="mergedrow"  
|- class="mergedrow"  
{{#if:{{{event_pre|}}}|{{WPFCevent|event={{{event_pre}}}|year=|date={{#if:{{{date_pre|}}}|{{{date_pre}}}}}}}}}
{{#if:{{{event_pre|}}}|{{WPFCevent|event={{{event_pre}}}|year=|date={{#if:{{{date_pre|}}}|{{{date_pre}}}}}}}}}
|- class="mergedrow"  
|- class="mergedrow"  
{{WPFCevent|event={{#if:{{{event_start|}}}|{{{event_start}}}|Established}}|year={{#if:{{{year_start|}}}|{{{year_start}}}|''Enter start year''{{#if:{{{_noautocat|<noinclude>yes</noinclude>}}}||[[Category:Former country articles requiring maintenance|D]]}}}}
{{WPFCevent|event={{#if:{{{event_start|}}}|{{{event_start}}}|Established}}|year={{#if:{{{year_start|}}}|{{{year_start}}}|''Enter start year''{{#if:{{{_noautocat|<noinclude>yes</noinclude>}}}||}}}}
|date={{#if:{{{date_start|}}}|{{{date_start}}}}}}}
|date={{#if:{{{date_start|}}}|{{{date_start}}}}}}}
|- class="mergedrow"
|- class="mergedrow"
Line 412: Line 409:
{{#if:{{{event4|}}}|{{WPFCevent|event={{{event4}}}|year=|date={{#if:{{{date_event4|}}}|{{{date_event4}}}}}}}}}
{{#if:{{{event4|}}}|{{WPFCevent|event={{{event4}}}|year=|date={{#if:{{{date_event4|}}}|{{{date_event4}}}}}}}}}
|- {{#if:{{{event_post|}}}|class="mergedrow"|class="mergedbottomrow"}}  
|- {{#if:{{{event_post|}}}|class="mergedrow"|class="mergedbottomrow"}}  
{{WPFCevent|event={{#if:{{{event_end|}}}|{{{event_end}}}|Disestablished}}|year={{#if:{{{year_end|}}}|{{{year_end}}}|''Enter end year''{{#if:{{{_noautocat|<noinclude>yes</noinclude>}}}||[[Category:Former country articles requiring maintenance|D]]}}}}|date={{#if:{{{date_end|}}}|{{{date_end}}}}}}}
{{WPFCevent|event={{#if:{{{event_end|}}}|{{{event_end}}}|Disestablished}}|year={{#if:{{{year_end|}}}|{{{year_end}}}|''Enter end year''{{#if:{{{_noautocat|<noinclude>yes</noinclude>}}}||}}}}|date={{#if:{{{date_end|}}}|{{{date_end}}}}}}}
|- class="mergedbottomrow"  
|- class="mergedbottomrow"  
{{#if:{{{event_post|}}}|{{WPFCevent|event={{{event_post}}}|year=|date={{#if:{{{date_post|}}}|{{{date_post}}}}}}}}}
{{#if:{{{event_post|}}}|{{WPFCevent|event={{{event_post}}}|year=|date={{#if:{{{date_post|}}}|{{{date_post}}}}}}}}}
Line 521: Line 518:
}}
}}
|- class="mergedtoprow"
|- class="mergedtoprow"
{{#if:{{{pn1|}}} |[[Category:Former country articles requiring maintenance|F]]}}{{#if:{{{sn1|}}} |[[Category:Former country articles requiring maintenance|F]]}}
{{#if:{{{pn1|}}} |}}{{#if:{{{sn1|}}} |}}
{{#ifeq: {{#expr: {{#expr:{{#if:{{{p5|}}}|1|0}}+{{#if:{{{s5|}}}|1|0}}}} > 0}} | 1 |
{{#ifeq: {{#expr: {{#expr:{{#if:{{{p5|}}}|1|0}}+{{#if:{{{s5|}}}|1|0}}}} > 0}} | 1 |
<!----- Preceding and succeding entities without flags (used if more than 5) ----->
<!----- Preceding and succeding entities without flags (used if more than 5) ----->
Line 670: Line 667:
{{!}} colspan="2" {{!}} <small>{{{footnotes2}}}</small> }}
{{!}} colspan="2" {{!}} <small>{{{footnotes2}}}</small> }}
|-
|-
{{#if:{{{_noautocat|<noinclude>yes</noinclude>}}}||{{#ifeq:{{{year_start|}}}|8th century|{{{category|[[Category:States and territories established in the 8th century|{{{common_name}}}, {{{year_start}}}]]}}}|{{#if:{{{year_start|}}}|{{{category|[[Category:States and territories established in {{{year_start}}}|{{{common_name}}}, {{{year_start}}}]]}}}}}}}{{#ifeq:{{{year_end}}}|11th century|{{{category|[[Category:11th-century disestablishments|{{{common_name}}}, {{{year_end}}}]]}}}|{{#if:{{{year_end|}}}|{{{category|[[Category:{{{year_end}}} disestablishments|{{{common_name}}}, {{{year_end}}}]]}}}}} }}}}
{{#if:{{{_noautocat|<noinclude>yes</noinclude>}}}||{{#ifeq:{{{year_start|}}}|8th century|{{{category|}}}|{{#if:{{{year_start|}}}|{{{category|}}}}}}}{{#ifeq:{{{year_end}}}|11th century|{{{category|}}}|{{#if:{{{year_end|}}}|{{{category|}}}}} }}}}
|}<!-- End Template proper -->
|}<!-- End Template proper -->
|}<!-- End padding table --></includeonly><noinclude>
|}<!-- End padding table --></includeonly><noinclude>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>

Latest revision as of 00:17, 6 March 2024

[[{{fullurl:Template:Documentation/docname|action=edit&preload=Template:Documentation/preload}} create]] Template documentation