Template:Infobox settlement: Difference between revisions

restore area code logic until the relevant category is cleared
(simplify label)
(restore area code logic until the relevant category is cleared)
Line 864:
<!-- ***Area Code(s)*** -->
| rowclass139 = {{#if:{{#if:{{{postal_code_type|}}}|{{#if:{{{postal_code|}}}|1}}}}{{#if:{{{postal_code_type|}}}|{{#if:{{{postal2_code_type|}}}|{{#if:{{{postal2_code|}}}|1}}}}}}|mergedrow|mergedtoprow}}
| label139 = {{#if:{{{area_code_type|}}}|{{{area_code_type}}}|{{#if:{{{area_code|}}}|[[Telephone numbering plan|Area code(s)]]|{{#if:{{{area_codes|}}}|s[[Telephone numbering plan|Area codes]]}}}}}}
| data139 = {{if empty|{{{area_code|}}}|{{{area_codes|}}}}}{{#if:{{{area_code_type|}}}||{{#if:{{detect singular|{{{area_code|}}}}}||{{Main other|[[Category:Pages using infobox settlement with possible area code list]]}}}}}}
 
Anonymous user