Template:Infobox settlement: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Jonesey95
(rm the test of the caption small tags after more testing in sandbox. See previous edit summary.)
m (1,000 revisions imported)
 
(6 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{#ifeq:{{{short_description|}}}|no||{{short description|{{#invoke:Plain text|main|{{#if:{{{short_description|}}}|{{{short_description|}}}|{{#if:{{{subdivision_name|}}}|
{{Tfm/dated|page=Infobox settlement|otherpage=Infobox former subdivision|link=Wikipedia:Templates for discussion/Log/2019 February 6#Template:Infobox settlement|type=sidebar|help=off|bigbox={{#invoke:Noinclude|noinclude|text=yes}}}}<includeonly>{{#invoke:Settlement short description|main|{{{settlement_type|{{{type|}}}}}}|{{{short_description|}}}|{{{subdivision_name|}}}|{{{subdivision_name1|}}}|{{{subdivision_name2|}}}}}</includeonly>{{Infobox
{{{settlement_type|{{{type|Place}}}}}} in {{comma separated entries|{{#if:{{#invoke:String|match|{{#invoke:Plain text|main|{{{settlement_type|}}}}}|[nN]eighbo[u]?rhood|plain=false|ignore_errors=1}}|{{{subdivision_name2|}}}}}|{{{subdivision_name1|}}}|{{{subdivision_name|}}}}}|{{{settlement_type|{{{type|Place}}}}}}}}}}}}|noreplace}}}}
{{#if:{{#invoke:String|match|{{#invoke:Plain text|main|{{{settlement_type|{{{type|}}}}}}}}|{{#invoke:Plain text|main|{{{subdivision_name|}}}}}|plain=true|ignore_errors=1}}{{#if:{{{subdivision_name1|}}}|{{#invoke:String|match|{{#invoke:Plain text|main|{{{settlement_type|{{{type|}}}}}}}}|{{#invoke:Plain text|main|{{{subdivision_name1|}}}}}|plain=true|ignore_errors=1}}}}|[[Category:Infobox settlement pages with bad settlement type]]}}{{Infobox
| child = {{yesno|{{{embed|}}}}}
| child = {{yesno|{{{embed|}}}}}
| bodyclass = geography vcard
| bodyclass = geography vcard
Line 127: Line 125:
<!-- ***Nickname*** -->
<!-- ***Nickname*** -->
| rowclass21 = {{#if:{{{etymology|}}}|mergedrow|mergedtoprow}}
| rowclass21 = {{#if:{{{etymology|}}}|mergedrow|mergedtoprow}}
|  data21 = {{#if:{{{nickname|}}}|Nickname(s):|{{#if:{{{nicknames|}}}|Nicknames:}}}}{{#if:{{{nickname|}}}{{{nicknames|}}}|&nbsp;<div style="display:inline" class="nickname">{{if empty|{{{nickname|}}}|{{{nicknames|}}}}}</div>}}{{#if:{{detect singular|{{{nickname|}}}}}||[[Category:Pages using infobox settlement with possible nickname list]]}}
|  data21 = {{#if:{{{nickname|}}}|Nickname(s):|{{#if:{{{nicknames|}}}|Nicknames:}}}}{{#if:{{{nickname|}}}{{{nicknames|}}}|&nbsp;<div style="display:inline" class="nickname">{{if empty|{{{nickname|}}}|{{{nicknames|}}}}}</div>}}{{#if:{{detect singular|{{{nickname|}}}}}||{{Main other|[[Category:Pages using infobox settlement with possible nickname list]]}}}}
<!-- ***Motto*** -->
<!-- ***Motto*** -->
| rowclass22 = {{#if:{{{etymology|}}}{{{nickname|}}}{{{nicknames|}}}|mergedrow|mergedtoprow}}
| rowclass22 = {{#if:{{{etymology|}}}{{{nickname|}}}{{{nicknames|}}}|mergedrow|mergedtoprow}}
|  data22 = {{#if:{{{motto|}}}|Motto(s):|{{#if:{{{mottoes|}}}|Mottoes:}}}}{{#if:{{{motto|}}}{{{mottoes|}}}|&nbsp;<div style="display:inline"  class="nickname">{{if empty|{{{motto|}}}|{{{mottoes|}}}}}</div>}}{{#if:{{detect singular|{{{motto|}}}}}||[[Category:Pages using infobox settlement with possible motto list]]}}
|  data22 = {{#if:{{{motto|}}}|Motto(s):|{{#if:{{{mottoes|}}}|Mottoes:}}}}{{#if:{{{motto|}}}{{{mottoes|}}}|&nbsp;<div style="display:inline"  class="nickname">{{if empty|{{{motto|}}}|{{{mottoes|}}}}}</div>}}{{#if:{{detect singular|{{{motto|}}}}}||{{Main other|[[Category:Pages using infobox settlement with possible motto list]]}}}}
<!-- ***Anthem*** -->
<!-- ***Anthem*** -->
| rowclass23 = {{#if:{{{etymology|}}}{{{nickname|}}}{{{nicknames|}}}{{{motto|}}}{{{mottoes|}}}|mergedrow|mergedtoprow}}
| rowclass23 = {{#if:{{{etymology|}}}{{{nickname|}}}{{{nicknames|}}}{{{motto|}}}{{{mottoes|}}}|mergedrow|mergedtoprow}}
Line 659: Line 657:
| rowclass95 = mergedtoprow
| rowclass95 = mergedtoprow
| label95 = {{#if:{{{population_demonym|}}}|[[Demonym|Demonym(s)]]|{{#if:{{{population_demonyms|}}}|[[Demonym]]s}}}}
| label95 = {{#if:{{{population_demonym|}}}|[[Demonym|Demonym(s)]]|{{#if:{{{population_demonyms|}}}|[[Demonym]]s}}}}
|  data95 = {{if empty|{{{population_demonym|}}}|{{{population_demonyms|}}}}}{{#if:{{detect singular|{{{population_demonym|}}}}}||[[Category:Pages using infobox settlement with possible demonym list]]}}
|  data95 = {{if empty|{{{population_demonym|}}}|{{{population_demonyms|}}}}}{{#if:{{detect singular|{{{population_demonym|}}}}}||{{Main other|[[Category:Pages using infobox settlement with possible demonym list]]}}}}


<!-- ***Demographics 1*** -->
<!-- ***Demographics 1*** -->
Line 801: Line 799:
| rowclass124 = {{#if:{{#if:{{{postal_code_type|}}}|{{#if:{{{postal_code|}}}|1}}}}{{#if:{{{postal_code_type|}}}|{{#if:{{{postal2_code_type|}}}|{{#if:{{{postal2_code|}}}|1}}}}}}|mergedrow|mergedtoprow}}
| rowclass124 = {{#if:{{#if:{{{postal_code_type|}}}|{{#if:{{{postal_code|}}}|1}}}}{{#if:{{{postal_code_type|}}}|{{#if:{{{postal2_code_type|}}}|{{#if:{{{postal2_code|}}}|1}}}}}}|mergedrow|mergedtoprow}}
| label124 = {{#if:{{{area_code_type|}}}|{{{area_code_type}}}|{{#if:{{{area_code|}}}|[[Telephone numbering plan|Area code(s)]]|{{#if:{{{area_codes|}}}|[[Telephone numbering plan|Area codes]]}}}}}}
| label124 = {{#if:{{{area_code_type|}}}|{{{area_code_type}}}|{{#if:{{{area_code|}}}|[[Telephone numbering plan|Area code(s)]]|{{#if:{{{area_codes|}}}|[[Telephone numbering plan|Area codes]]}}}}}}
|  data124 = {{if empty|{{{area_code|}}}|{{{area_codes|}}}}}{{#if:{{{area_code_type|}}}||{{#if:{{detect singular|{{{area_code|}}}}}||[[Category:Pages using infobox settlement with possible area code list]]}}}}
|  data124 = {{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]]}}}}}}


<!-- Geocode-->
<!-- Geocode-->

Latest revision as of 22:54, 3 September 2020

Infobox settlement