Template:Infobox settlement: Difference between revisions

From Roses, Tulips, & Liberty
Content added Content deleted
(add 'short_description' to allowed parameters)
(add |noreplace)
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|{{#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}}}}}}}}}}}}}}}}
{{{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
{{#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|}}}}}

Revision as of 00:31, 22 June 2018

Infobox settlement