Template:Infobox settlement: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Fram
(Add short description (from sandbox). If this causes problems, please revert (or correct of course))
meta>Galobtter
(previous code incorrect, producing garbageish descriptions)
Line 1: Line 1:
{{#ifeq:{{{short_description|}}}|no||{{short description|{{#invoke:Plain text|main|{{#if:{{{short_description|}}}|{{{short_description||}}}|{{#if:{{{subdivision_name||}}}|
{{#ifeq:{{{short_description|}}}|no||{{short description|{{#invoke:Plain text|main|{{#if:{{{short_description|}}}|{{{short_description||}}}|{{#if:{{{subdivision_name||}}}|
{{{settlement_type|{{{type|Place}}}}}} in {{comma separated entries|{{#if:{{#invoke:String|match|{{{subdivision_name2|}}}|[nN]eighbo[u]?rhood|plain=false|ignore_errors=1}}||{{{subdivision_name2|}}}}}|{{{subdivision_name1|}}}|{{{subdivision_name|}}}}}|{{{settlement_type|{{{type|Place}}}}}}}}}}}}}}}}
{{{settlement_type|{{{type|Place}}}}}} in {{comma separated entries|{{#if:{{#invoke:String|match|{{{settlement_type|}}}|[nN]eighbo[u]?rhood|plain=false|ignore_errors=1}}|{{{subdivision_name2|}}}}}|{{{subdivision_name1|}}}|{{{subdivision_name|}}}}}|{{{settlement_type|{{{type|Place}}}}}}}}}}}}}}}}
{{#if:{{#invoke:String|match|{{{1|}}}|{{{3|}}}|ignore_errors=1}}{{#if:{{{4|}}}|{{#invoke:String|find|{{{1|}}}|{{{4|}}|ignore_errors=1}}}}|[[Category:Infobox settlement pages with bad settlement type]]}}
{{#if:{{#invoke:String|match|{{{settlement_type|{{{type|}}}}}}|{{{subdivision_name|}}}|ignore_errors=1}}{{#if:{{{subdivision_name1|}}}|{{#invoke:String|find|{{{settlement_type|{{{type|}}}}}}||{{{subdivision_name1|}}}|ignore_errors=1}}}}|[[Category:Infobox settlement pages with bad settlement type]]}}{{Infobox
{{Infobox
| child = {{yesno|{{{embed|}}}}}
| child = {{yesno|{{{embed|}}}}}
| bodyclass = geography vcard
| bodyclass = geography vcard

Revision as of 07:58, 6 May 2018

Infobox settlement