Template:Infobox country: Difference between revisions

From Pantonian Republic Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
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]]

Revision as of 14:45, 4 December 2022