Difference between revisions of "Template:Infobox country"

(Undo revision 2605 by Ayzek (talk))
(Tag: Undo)
(Removing some category things, please feel free to reverse if causes problems.)
 
Line 622: Line 622:
 
Tracking categories from merge with {{infobox former country}}. After all cats are empty/have been checked, these can be removed.
 
Tracking categories from merge with {{infobox former country}}. After all cats are empty/have been checked, these can be removed.
  
-->{{#if:{{{status_text|}}}|{{#ifeq:{{ucfirst:{{{status|}}}}}|Colony|{{main other|[[Category:Former country articles using status text with Colony or Exile]]}}|{{#ifeq:{{ucfirst:{{{status|}}}}}|Exile|{{main other|[[Category:Former country articles using status text with Colony or Exile]]}}}}}}
 
}}{{#if:{{{government_type|}}}
 
  | {{#switch:{{ucfirst:{{{government_type}}}}}
 
      |Constitutional monarchy |Constitutional Monarchy|Elective monarchy|Elective Monarchy |Absolute Monarchy |Absolute monarchy
 
      |Monarchy={{Main other|{{#switch:{{{continent}}}
 
            |Europe=[[Category:Former country articles categorised by government type|A]]
 
            |Asia=[[Category:Former country articles categorised by government type|B]]
 
            |North America=[[Category:Former country articles categorised by government type|C]]
 
            |South America=[[Category:Former country articles categorised by government type|D]]
 
            |Africa=[[Category:Former country articles categorised by government type|E]]
 
            |Oceania=[[Category:Former country articles categorised by government type|F]]
 
            |Eurasia=[[Category:Former country articles categorised by government type|G]]
 
            |Afroasia=[[Category:Former country articles categorised by government type|H]]
 
            |Afroeurasia=[[Category:Former country articles categorised by government type|I]]
 
            |[[Category:Former country articles categorised by government type|J]]
 
            }} }}
 
      |Republic|Federal Republic|Federal republic={{Main other|[[Category:Former country articles categorised by government type|K]]}}
 
      |Principality={{Main other|[[Category:Former country articles categorised by government type|L]]}}
 
      |Emirate={{Main other|[[Category:Former country articles categorised by government type|M]]}}
 
      |Socialist republic |Socialist Republic |Socialist State
 
      |Socialist state={{Main other|[[Category:Former country articles categorised by government type|N]]}}
 
      |Theocracy={{Main other|[[Category:Former country articles categorised by government type|O]]}}
 
    }}
 
}}<!--End of former country tracking cats--><noinclude>
 
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 08:50, 7 August 2019

Lua error: Internal error: The interpreter exited with status 127.Lua error: Internal error: The interpreter exited with status 127.