Template:Infobox country: Difference between revisions

From The Democratikan Wiki
(add p/s22 per talk page, simplify param check)
 
mNo edit summary
 
(2 intermediate revisions by the same user not shown)
Line 157: Line 157:
| data18 = {{{languages2|}}}
| data18 = {{{languages2|}}}
    
    
| label19 = [[Ethnic group|Ethnic&nbsp;groups]] <!--
| label19 = Ethnic&nbsp;groups <!--
           -->{{#if:{{{ethnic_groups_year|}}} |<div class="ib-country-ethnic"> ({{{ethnic_groups_year}}}){{{ethnic_groups_ref|}}}</div>|<div class="ib-country-ethnic">{{{ethnic_groups_ref|}}}</div>}}
           -->{{#if:{{{ethnic_groups_year|}}} |<div class="ib-country-ethnic"> ({{{ethnic_groups_year}}}){{{ethnic_groups_ref|}}}</div>|<div class="ib-country-ethnic">{{{ethnic_groups_ref|}}}</div>}}
| data19 = {{{ethnic_groups|}}}
| data19 = {{{ethnic_groups|}}}
Line 165: Line 165:
| data20 = {{{religion|}}}
| data20 = {{{religion|}}}


| label21 = [[Demonym|Demonym(s)]]
| label21 = Demonym(s)
| data21 = {{#if:{{{demonym|}}}
| data21 = {{#if:{{{demonym|}}}
   |{{#ifexist:{{{demonym}}} people
   |{{#ifexist:{{{demonym}}} people
Line 221: Line 221:
| data40 = {{{legislature|}}}
| data40 = {{{legislature|}}}
| rowclass41 = mergedrow
| rowclass41 = mergedrow
| label41 = <div class="ib-country-fake-li">•&nbsp;{{#if:{{{type_house1|}}}|{{{type_house1}}}|[[Upper house]]}}</div>
| label41 = <div class="ib-country-fake-li">•&nbsp;{{#if:{{{type_house1|}}}|{{{type_house1}}}|Upper house}}</div>
| data41 = {{{upper_house|{{{house1|}}}}}}
| data41 = {{{upper_house|{{{house1|}}}}}}
| rowclass42 = mergedbottomrow
| rowclass42 = mergedbottomrow
| label42 = <div class="ib-country-fake-li">•&nbsp;{{#if:{{{type_house2|}}}|{{{type_house2}}}|[[Lower house]]}}</div>
| label42 = <div class="ib-country-fake-li">•&nbsp;{{#if:{{{type_house2|}}}|{{{type_house2}}}|Lower house}}</div>
| data42 = {{{lower_house|{{{house2|}}}}}}
| data42 = {{{lower_house|{{{house2|}}}}}}


Line 513: Line 513:
| label109= {{#ifeq:{{{micronation|}}}|yes|Purported currency|Currency}}
| label109= {{#ifeq:{{{micronation|}}}|yes|Purported currency|Currency}}
| data109= {{#if:{{{currency|}}}
| data109= {{#if:{{{currency|}}}
     | {{{currency}}} {{#if:{{{currency_code|}}} |([[ISO 4217|{{{currency_code}}}]])}}
     | {{{currency}}} {{#if:{{{currency_code|}}} |({{{currency_code}}})}}
   }}
   }}


Line 539: Line 539:
| data123= {{{date_format|}}}
| data123= {{{date_format|}}}


| label125= [[Left- and right-hand traffic|Driving side]]
| label125= Driving side
| data125= {{#if:{{{drives_on|}}} | {{lcfirst:{{{drives_on}}}}} }}
| data125= {{#if:{{{drives_on|}}} | {{lcfirst:{{{drives_on}}}}} }}


Line 550: Line 550:
| data126= {{{calling_code|}}}
| data126= {{{calling_code|}}}


| label127= [[ISO 3166|ISO 3166 code]]
| label127= WC Country Code
| data127= {{#switch:{{{iso3166code|}}}
| data127= {{{iso3166code|}}}
    |omit = <!--(do nothing)-->
    | = <!--if iso3166code is not supplied:
          -->{{#if:{{{common_name|}}}
              | {{#if:{{ISO 3166 code|{{{common_name}}}|nocat=true}}
                | [[ISO 3166-2:{{ISO 3166 code|{{{common_name}}}}}|{{ISO 3166 code|{{{common_name}}}}}]]
                }}
            }}
    |#default = [[ISO 3166-2:{{uc:{{{iso3166code}}}}}|{{uc:{{{iso3166code}}}}}]]
    }}


| label128= [[Country code top-level domain|Internet TLD]]
| label128= Internet TLD
| data128= {{{cctld|}}}
| data128= {{{cctld|}}}



Latest revision as of 02:23, 17 February 2024