< Template:Largest cities(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.
Usage
{{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 =
}}
Template data
Template data
|
Template parameters Parameter | Description | Type | Status |
---|
class | class | when set to nav, table will show in full navbox style and not appear in mobile view or print (see [[WP:NAVBOX]]) - Suggested values
-
nav or <blank> - Default
- blank
- Example
- class=nav
| String | optional |
---|
collapsed_state | collapsed_state | no description
| Unknown | optional |
---|
nonav | nonav | no description
| Unknown | optional |
---|
name | name | no description
| Unknown | optional |
---|
kind | kind | no description
| Unknown | optional |
---|
country | country | no description
| Unknown | optional |
---|
stat_ref | stat_ref | no description
| Unknown | optional |
---|
img_1 | img_1 | no description
| Unknown | optional |
---|
img_2 | img_2 | no description
| Unknown | optional |
---|
list_by_pop | list_by_pop | no description
| Unknown | optional |
---|
name_link | name_link | no description
| Unknown | optional |
---|
div_1 | div_1 | no description
| Unknown | optional |
---|
div_2 | div_2 | no description
| Unknown | optional |
---|
div_4 | div_4 | no description
| Unknown | optional |
---|
div_5 | div_5 | no description
| Unknown | optional |
---|
div_link | div_link | no description
| Unknown | optional |
---|
div_name | div_name | no description
| Unknown | optional |
---|
city_11 | city_11 | no description
| Unknown | optional |
---|
img_3 | img_3 | no description
| Unknown | optional |
---|
img_4 | img_4 | no description
| Unknown | optional |
---|
city_1 | city_1 | no description
| Unknown | optional |
---|
city_2 | city_2 | no description
| Unknown | optional |
---|
pop_1 | pop_1 | no description
| Unknown | optional |
---|
div_11 | div_11 | no description
| Unknown | optional |
---|
pop_11 | pop_11 | no description
| Unknown | optional |
---|
city_3 | city_3 | no description
| Unknown | optional |
---|
city_4 | city_4 | no description
| Unknown | optional |
---|
pop_2 | pop_2 | no description
| Unknown | optional |
---|
city_12 | city_12 | no description
| Unknown | optional |
---|
div_12 | div_12 | no description
| Unknown | optional |
---|
pop_12 | pop_12 | no description
| Unknown | optional |
---|
div_3 | div_3 | no description
| Unknown | optional |
---|
pop_3 | pop_3 | no description
| Unknown | optional |
---|
city_13 | city_13 | no description
| Unknown | optional |
---|
div_13 | div_13 | no description
| Unknown | optional |
---|
pop_13 | pop_13 | no description
| Unknown | optional |
---|
pop_4 | pop_4 | no description
| Unknown | optional |
---|
city_14 | city_14 | no description
| Unknown | optional |
---|
div_14 | div_14 | no description
| Unknown | optional |
---|
pop_14 | pop_14 | no description
| Unknown | optional |
---|
city_5 | city_5 | no description
| Unknown | optional |
---|
pop_5 | pop_5 | no description
| Unknown | optional |
---|
city_15 | city_15 | no description
| Unknown | optional |
---|
div_15 | div_15 | no description
| Unknown | optional |
---|
pop_15 | pop_15 | no description
| Unknown | optional |
---|
city_6 | city_6 | no description
| Unknown | optional |
---|
div_6 | div_6 | no description
| Unknown | optional |
---|
pop_6 | pop_6 | no description
| Unknown | optional |
---|
city_16 | city_16 | no description
| Unknown | optional |
---|
div_16 | div_16 | no description
| Unknown | optional |
---|
pop_16 | pop_16 | no description
| Unknown | optional |
---|
city_7 | city_7 | no description
| Unknown | optional |
---|
div_7 | div_7 | no description
| Unknown | optional |
---|
pop_7 | pop_7 | no description
| Unknown | optional |
---|
city_17 | city_17 | no description
| Unknown | optional |
---|
div_17 | div_17 | no description
| Unknown | optional |
---|
pop_17 | pop_17 | no description
| Unknown | optional |
---|
city_8 | city_8 | no description
| Unknown | optional |
---|
div_8 | div_8 | no description
| Unknown | optional |
---|
pop_8 | pop_8 | no description
| Unknown | optional |
---|
city_18 | city_18 | no description
| Unknown | optional |
---|
div_18 | div_18 | no description
| Unknown | optional |
---|
pop_18 | pop_18 | no description
| Unknown | optional |
---|
city_9 | city_9 | no description
| Unknown | optional |
---|
div_9 | div_9 | no description
| Unknown | optional |
---|
pop_9 | pop_9 | no description
| Unknown | optional |
---|
city_19 | city_19 | no description
| Unknown | optional |
---|
div_19 | div_19 | no description
| Unknown | optional |
---|
pop_19 | pop_19 | no description
| Unknown | optional |
---|
city_10 | city_10 | no description
| Unknown | optional |
---|
div_10 | div_10 | no description
| Unknown | optional |
---|
pop_10 | pop_10 | no description
| Unknown | optional |
---|
city_20 | city_20 | no description
| Unknown | optional |
---|
div_20 | div_20 | no description
| Unknown | optional |
---|
pop_20 | pop_20 | no description
| Unknown | optional |
---|
|
Tracking category
See also