Largest cities or towns in {{{country}}}
Source? | |||||||||
---|---|---|---|---|---|---|---|---|---|
Rank | Pop. | ||||||||
1 | [[{{{city_1}}}]] | {{{pop_1}}} | |||||||
2 | [[{{{city_2}}}]] | {{{pop_2}}} | |||||||
3 | [[{{{city_3}}}]] | {{{pop_3}}} | |||||||
4 | [[{{{city_4}}}]] | {{{pop_4}}} | |||||||
5 | [[{{{city_5}}}]] | {{{pop_5}}} | |||||||
6 | [[{{{city_6}}}]] | {{{pop_6}}} | |||||||
7 | [[{{{city_7}}}]] | {{{pop_7}}} | |||||||
8 | [[{{{city_8}}}]] | {{{pop_8}}} | |||||||
9 | [[{{{city_9}}}]] | {{{pop_9}}} | |||||||
10 | [[{{{city_10}}}]] | {{{pop_10}}} |
This template uses TemplateStyles:
|
This template contains coding that is not compatible with mobile versions of Wikipedia, causing display and accessibility problems. Read the documentation for an explanation. |
A template meant to facilitate the creation of a "Largest cities in country X" template. It accommodates either 10 or 20 entries, plus 4 pictures representing the 4 largest cities.
{{Largest cities
| name = <!-- name of the template, e.g. Largest cities of Chile -->
| class = <!-- can be changed to "nav" to hide the table in mobile view and print -->
| country = <!-- the name of the country, e.g. Chile -->
| kind = <!-- replace "cities and towns" in the title w/ anything, e.g. "conurbations" -->
| stat_ref = <!-- source of the pop. figures, e.g. Instituto Nacional de Estadisticas de Chile or use {{URL| }} -->
| list_by_pop = <!-- link to the list of cities in the given country, if possible sorted by population -->
| div_name = <!-- the name of the main administrative subdivision, e.g. Province, State, Region... -->
| div_link = <!-- the template will automatically create a link for "div_name of country" (e.g. Provinces of Chile), if this doesn't work you can use this field -->
| city_1 = <!-- a link to the article about the largest city. Use {{!}} as pipe to separate article name and link text if needed. -->
| div_1 = <!-- link to the administrative subdivision where said city is located -->
| pop_1 = <!-- population, do include the commas to separate the thousands -->
| img_1 = <!-- a picture showing an overview of the city -->
| city_2 = | div_2 = | pop_2 = | img_2 =
| city_3 = | div_3 = | pop_3 = | img_3 =
| city_4 = | div_4 = | pop_4 = | img_4 =
| city_5 = | div_5 = | pop_5 =
| city_6 = | div_6 = | pop_6 =
| city_7 = | div_7 = | pop_7 =
| city_8 = | div_8 = | pop_8 =
| city_9 = | div_9 = | pop_9 =
| city_10 = | div_10 = | pop_10 =
| city_11 = | div_11 = | pop_11 =
| city_12 = | div_12 = | pop_12 =
| city_13 = | div_13 = | pop_13 =
| city_14 = | div_14 = | pop_14 =
| city_15 = | div_15 = | pop_15 =
| city_16 = | div_16 = | pop_16 =
| city_17 = | div_17 = | pop_17 =
| city_18 = | div_18 = | pop_18 =
| city_19 = | div_19 = | pop_19 =
| city_20 = | div_20 = | pop_20 =
}}
This template is not very mobile-friendly and does not display at all if the navbox
class is used.
class
when set to nav, table will show in full navbox style and not appear in mobile view or print (see [[WP:NAVBOX]])
nav or <blank>
collapsed_state
no description
nonav
no description
name
no description
kind
no description
country
no description
stat_ref
no description
img_1
no description
img_2
no description
list_by_pop
no description
name_link
no description
div_1
no description
div_2
no description
div_4
no description
div_5
no description
div_link
no description
div_name
no description
city_11
no description
img_3
no description
img_4
no description
city_1
no description
city_2
no description
pop_1
no description
div_11
no description
pop_11
no description
city_3
no description
city_4
no description
pop_2
no description
city_12
no description
div_12
no description
pop_12
no description
div_3
no description
pop_3
no description
city_13
no description
div_13
no description
pop_13
no description
pop_4
no description
city_14
no description
div_14
no description
pop_14
no description
city_5
no description
pop_5
no description
city_15
no description
div_15
no description
pop_15
no description
city_6
no description
div_6
no description
pop_6
no description
city_16
no description
div_16
no description
pop_16
no description
city_7
no description
div_7
no description
pop_7
no description
city_17
no description
div_17
no description
pop_17
no description
city_8
no description
div_8
no description
pop_8
no description
city_18
no description
div_18
no description
pop_18
no description
city_9
no description
div_9
no description
pop_9
no description
city_19
no description
div_19
no description
pop_19
no description
city_10
no description
div_10
no description
pop_10
no description
city_20
no description
div_20
no description
pop_20
no description