Template:Infobox settlement: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Galobtter (previous code incorrect, producing garbageish descriptions) |
meta>Johnuniq (Undid revision 839874692 by Galobtter (talk) there must be an error there although it is hidden; Category:Pages with script errors just got hundreds of articles ("Unmatched close-bracket")) |
||
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|{{{ | {{{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}}}}}}}}}}}}}}}} | ||
{{#if:{{#invoke:String|match|{{{ | {{#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]]}} | ||
{{Infobox | |||
| child = {{yesno|{{{embed|}}}}} | | child = {{yesno|{{{embed|}}}}} | ||
| bodyclass = geography vcard | | bodyclass = geography vcard |