Template:Largest cities/doc

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.

This template is also used with the names of U.S. states in place of "country".

Usage
Second and fourth population columns with the header "Metro." can be created by adding "metro_1", "metro_2", etc. This is used for displaying both the incorporated city and metropolitan area populations.

Display in the mobile view
This template is not very mobile-friendly and does not display at all if the  class is used.

Template data
{	"params": { "class": { "description": "when set to nav, table will show in full navbox style and not appear in mobile view or print (see WP:NAVBOX)", "example": "class=nav", "type": "string", "suggestedvalues": [ "nav or " ],			"default": "blank" },		"collapsed_state": {}, "nonav": {}, "name": {}, "kind": {}, "country": {}, "stat_ref": {}, "img_1": {}, "img_2": {}, "list_by_pop": {}, "name_link": {}, "div_1": {}, "div_2": {}, "div_4": {}, "div_5": {}, "div_link": {}, "div_name": {}, "city_11": {}, "img_3": {}, "img_4": {}, "city_1": {}, "city_2": {}, "pop_1": {}, "div_11": {}, "pop_11": {}, "city_3": {}, "city_4": {}, "pop_2": {}, "city_12": {}, "div_12": {}, "pop_12": {}, "div_3": {}, "pop_3": {}, "city_13": {}, "div_13": {}, "pop_13": {}, "pop_4": {}, "city_14": {}, "div_14": {}, "pop_14": {}, "city_5": {}, "pop_5": {}, "city_15": {}, "div_15": {}, "pop_15": {}, "city_6": {}, "div_6": {}, "pop_6": {}, "city_16": {}, "div_16": {}, "pop_16": {}, "city_7": {}, "div_7": {}, "pop_7": {}, "city_17": {}, "div_17": {}, "pop_17": {}, "city_8": {}, "div_8": {}, "pop_8": {}, "city_18": {}, "div_18": {}, "pop_18": {}, "city_9": {}, "div_9": {}, "pop_9": {}, "city_19": {}, "div_19": {}, "pop_19": {}, "city_10": {}, "div_10": {}, "pop_10": {}, "city_20": {}, "div_20": {}, "pop_20": {} } }