Jump to content

Template:Largest cities: Difference between revisions

no edit summary
(Created page with "{| {{#if:{{{class|}}} | class="navbox {{#if:{{{collapsed_state|}}}|collapsible {{{collapsed_state}}}}}" | {{#if:{{{collapsed_state|}}}|class="collapsible {{{collapsed_state}}}...")
 
No edit summary
Line 7: Line 7:
! {{#if:{{{name_link|}}} | [[{{{name_link}}}|Name]] | {{#ifexist: List of cities in {{{country}}} | [[List of cities in {{{country}}}|Name]]}} }}
! {{#if:{{{name_link|}}} | [[{{{name_link}}}|Name]] | {{#ifexist: List of cities in {{{country}}} | [[List of cities in {{{country}}}|Name]]}} }}
! {{#if:{{{div_link|}}} | [[{{{div_link}}}]] | [[{{{div_name|Administrative division}}}s of {{{country}}}|{{{div_name|Administrative division}}}]] }}
! {{#if:{{{div_link|}}} | [[{{{div_link}}}]] | [[{{{div_name|Administrative division}}}s of {{{country}}}|{{{div_name|Administrative division}}}]] }}
! {{#if:{{{div2_link|}}} | [[{{{div2_link}}}]] | [[{{{div2_name|Administrative division}}}s of {{{country}}}|{{{div2_name|Administrative division}}}]] }}
! {{#if:{{{list_by_pop|}}} | [[{{{list_by_pop}}}| Pop.]] | {{#ifexist: List of cities in {{{country}}} by population | [[List of cities in {{{country}}} by population|Pop.]] | Pop. }} }}
! {{#if:{{{list_by_pop|}}} | [[{{{list_by_pop}}}| Pop.]] | {{#ifexist: List of cities in {{{country}}} by population | [[List of cities in {{{country}}} by population|Pop.]] | Pop. }} }}
{{#if:{{{city_11|}}} | <!-- determines whether there should be two columns or just one -->
{{#if:{{{city_11|}}} | <!-- determines whether there should be two columns or just one -->
Line 12: Line 13:
! {{#if:{{{name_link|}}} | [[{{{name_link}}}|Name]] | {{#ifexist: List of cities in {{{country}}} | [[List of cities in {{{country}}}|Name]]}} }}
! {{#if:{{{name_link|}}} | [[{{{name_link}}}|Name]] | {{#ifexist: List of cities in {{{country}}} | [[List of cities in {{{country}}}|Name]]}} }}
! {{#if:{{{div_link|}}} | [[{{{div_link}}}]] | [[{{{div_name}}}s of {{{country}}}|{{{div_name}}}]] }}
! {{#if:{{{div_link|}}} | [[{{{div_link}}}]] | [[{{{div_name}}}s of {{{country}}}|{{{div_name}}}]] }}
! {{#if:{{{div2_link|}}} | [[{{{div2_link}}}]] | [[{{{div2_name}}}s of {{{country}}}|{{{div2_name}}}]] }}
! {{#if:{{{list_by_pop|}}} | [[{{{list_by_pop}}}| Pop.]] | {{#ifexist: List of cities in {{{country}}} by population | [[List of cities in {{{country}}} by population|Pop.]] | Pop. }} }} {{#if:{{{img_3|}}}{{{img_4|}}} | !!  }}<!-- blank heading over images 3 & 4 -->
! {{#if:{{{list_by_pop|}}} | [[{{{list_by_pop}}}| Pop.]] | {{#ifexist: List of cities in {{{country}}} by population | [[List of cities in {{{country}}} by population|Pop.]] | Pop. }} }} {{#if:{{{img_3|}}}{{{img_4|}}} | !!  }}<!-- blank heading over images 3 & 4 -->
| {{#if:{{{img_3|}}}{{{img_4|}}} | !  }}<!-- blank heading over images 3 & 4 -->
| {{#if:{{{img_3|}}}{{{img_4|}}} | !  }}<!-- blank heading over images 3 & 4 -->
Line 22: Line 24:
}} }}
}} }}
<!-- LIST OF CITIES, SUBDIVISIONS, POPULATION FIGURES -->
<!-- LIST OF CITIES, SUBDIVISIONS, POPULATION FIGURES -->
| style="text-align:center;background:#f0f0f0;" | 1 || style="text-align:left;" | [[{{{city_1}}}]] || style="text-align:left;" | [[{{{div_1}}}]] || style="text-align:right;" | {{{pop_1}}} {{#if:{{{city_11|}}} | {{!!}} style="text-align:center;background:#f0f0f0;" {{!}} 11 {{!!}} style="text-align:left;" {{!}} [[{{{city_11}}}]] {{!!}} style="text-align:left;" {{!}} [[{{{div_11}}}]] {{!!}} style="text-align:right;" {{!}} {{{pop_11}}}
| style="text-align:center;background:#f0f0f0;" | 1 || style="text-align:left;" | [[{{{city_1}}}]] || style="text-align:left;" | [[{{{div_1}}}]] || style="text-align:left;" | [[{{{div2_1}}}]] || style="text-align:right;" | {{{pop_1}}} {{#if:{{{city_11|}}} | {{!!}} style="text-align:center;background:#f0f0f0;" {{!}} 11 {{!!}} style="text-align:left;" {{!}} [[{{{city_11}}}]] {{!!}} style="text-align:left;" {{!}} [[{{{div_11}}}]] {{!!}} style="text-align:right;" {{!}} {{{pop_11}}}
}}
}}
{{#if:{{{img_3|}}}{{{img_4|}}} | <!-- IMAGES 3 & 4 -->
{{#if:{{{img_3|}}}{{{img_4|}}} | <!-- IMAGES 3 & 4 -->