Template:Infobox country: Difference between revisions

From Thetacola Wiki
Jump to navigationJump to search
(Created page with "{{infobox |templatestyles = Template:Infobox country/styles.css | bodyclass = ib-country vcard | aboveclass = adr | above = {{#if:{{{conventional_long_name|}}}{{{native_name|}}}{{{name|}}} | {{#if:{{{conventional_long_name|}}} |<div class="fn org country-name">{{{conventional_long_name|}}}</div> }}{{#if:{{{native_name|}}}{{{name|}}} |<div class="ib-country-names"><!-- -->{{br separated entries...")
 
(no more iso code :3)
 
Line 550: Line 550:
| data126= {{{calling_code|}}}
| data126= {{{calling_code|}}}


| label127= [[ISO 3166|ISO 3166 code]]
| data127= {{#switch:{{{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= [[Country code top-level domain|Internet TLD]]

Latest revision as of 04:26, 17 May 2024