Page move-protected

Template:Infobox country: Difference between revisions

Jump to navigation Jump to search
(Possible fix for ISO-3166-2 bug.)
(Disabled ISO-3166 until the issue can be fixed.)
Line 565: Line 565:
| data126= {{{calling_code|}}}
| data126= {{{calling_code|}}}


| label127= {{wp|ISO 3166|ISO 3166 code}}
<!-- Disabled due to bug; will try to fix later. -->
<!-- | label127= {{wp|ISO 3166|ISO 3166 code}}
| data127= {{#switch:{{{iso3166code|}}}
| data127= {{#switch:{{{iso3166code|}}}
     |omit = <!--(do nothing)-->
     |omit = <!--(do nothing)--><!--
     | = <!--if iso3166code is not supplied:
     | = <!--if iso3166code is not supplied:
           -->{{#if:{{{common_name|}}}
           --><!--{{#if:{{{common_name|}}}
               | {{#if:{{wp|ISO 3166 code|{{{common_name}}}|nocat=true}}
               | {{#if:{{wp|ISO 3166 code|{{{common_name}}}|nocat=true}}
                 | {{wp|ISO 3166-2:{{ISO 3166 code|{{{common_name}}}}}|{{ISO 3166 code|{{{common_name}}}}}}}
                 | {{wp|ISO 3166-2:{{ISO 3166 code|{{{common_name}}}}}|{{ISO 3166 code|{{{common_name}}}}}}}
                 }}
                 }}
             }}
             }}
     }}
     }} -->


| label128= {{wp|Country code top-level domain|Internet TLD}}
| label128= {{wp|Country code top-level domain|Internet TLD}}

Revision as of 06:30, 31 March 2022