Difference between revisions of "Template:Largest cities/doc"
Jump to navigation
Jump to search
imported>RidwanFadilArif |
imported>Funandtrvl (fx /doc) |
||
| Line 1: | Line 1: | ||
| − | + | {{Documentation subpage}} | |
| − | <!-- | + | <!-- Categories and interwikis go at the bottom of this page. --> |
| − | + | 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 == | |
| − | + | <pre style="font-size:95%; overflow:auto;"> | |
| − | ! | + | {{Largest cities |
| − | + | | name = <!-- name of the template, e.g. Largest cities of Chile --> | |
| − | + | | class = <!-- can be changed to "nav" to alter the template's colour scheme --> | |
| − | + | | country = <!-- the name of the country, e.g. Chile --> | |
| − | + | | 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 --> | |
| − | | | + | | 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 = | ||
}} | }} | ||
| − | + | </pre> | |
| − | + | ||
| − | [[ | + | == Test == |
| − | + | {{Largest cities/testcases}} | |
| − | + | ||
| − | + | <includeonly> | |
| − | + | <!-- Categories and interwikis go here: --> | |
| − | + | [[Category:City population templates| ]] | |
| − | + | ||
| − | + | [[ar:قالب:المدن_الكبرى]] | |
| − | + | [[bs:Šablon:Najveći gradovi]] | |
| − | + | [[eo:Ŝablono:Plej grandaj urboj]] | |
| − | + | [[fa:الگو:شهرهای اصلی]] | |
| − | + | [[ko:틀:최대 도시]] | |
| − | + | [[it:Template:Città principali]] | |
| − | + | [[ka:თარგი:უდიდესი ქალაქები]] | |
| − | + | [[pt:Predefinição:Maiores cidades]] | |
| − | + | [[zh:Template:Largest cities]] | |
| − | + | [[nl:Sjabloon:Grootste steden]] | |
| − | + | [[ur:سانچہ:بڑے شہر]] | |
| − | + | </includeonly> | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
Revision as of 00:50, 1 March 2013
| 40px | This is a documentation subpage for Template:Largest cities. It contains usage information, categories and other content that is not part of the original template page. |
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 alter the template's colour scheme -->
| country = <!-- the name of the country, e.g. Chile -->
| 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 -->
| 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 =
}}
Test
| Rank | English region/country | Pop. | Rank | English region/country | Pop. | ||||
|---|---|---|---|---|---|---|---|---|---|
| London London ![]() Birmingham |
1 | London | Greater London | 7,172,091 | 11 | Coventry | West Midlands | 303,475 | Glasgow Glasgow Liverpool |
| 2 | Birmingham | West Midlands | 970,892 | 12 | Kingston upon Hull | Yorkshire and the Humber | 301,416 | ||
| 3 | Glasgow | Scotland | 629,501 | 13 | Bradford | Yorkshire and the Humber | 293,717 | ||
| 4 | Liverpool | North West England | 469,017 | 14 | Cardiff | Wales | 292,150 | ||
| 5 | Leeds | Yorkshire and the Humber | 443,247 | 15 | Belfast | Northern Ireland | 276,459 | ||
| 6 | Sheffield | Yorkshire and the Humber | 439,866 | 16 | Stoke-on-Trent | West Midlands | 259,252 | ||
| 7 | Edinburgh | Scotland | 430,082 | 17 | Newcastle-upon-Tyne | North East England | 259,000 | ||
| 8 | Bristol | South West England | 420,556 | 18 | Wolverhampton | West Midlands | 251,462 | ||
| 9 | Manchester | North West England | 394,269 | 19 | Nottingham | East Midlands | 249,584 | ||
| 10 | Leicester | East Midlands | 330,574 | 20 | Plymouth | South West England | 243,795 | ||
