User:Ontopofthewall/cities

{{#if:{{{capital|}}}{{{admin_ctr|}}} {{{largest_city|}}}{{{largest_settlement|}}}|  {{#if:{{{capital|}}}{{{admin_ctr|}}}| {{#if:{{{admin_ctr|}}}| {{{admin_ctr_type|Administrative ctr}}}| {{#if:{{{capital|}}}| {{{capital_type}}}|Capital}}}}

{{#ifeq:{{{largest_city|}}}{{{largest_settlement|}}}|capital|capital| {{#switch:{{{capital}}}| }}}{{{largest_settlement|}}} = capital| {{{largest_city|}}}{{{largest_settlement|}}} = capital| not capital}}}}|capital| (and {{{largest_settlement_type|largest city}}}) {{{capital}}} | {{{capital|}}}{{{admin_ctr|}}}

{{#if:{{{largest_city|}}}{{{largest_settlement|}}}|  Largest {{{largest_settlement_type|city}}} {{{largest_city|}}}{{{largest_settlement|}}} }} }}| {{#if:{{{largest_city|}}}{{{largest_settlement|}}}| Largest {{{largest_settlement_type|city}}} {{{largest_city|}}}{{{largest_settlement|}}} }}