Jump to content

Àdàkọ:Infobox settlement

Permanently protected àdàkọ
Lát'ọwọ́ Wikipedia, ìwé ìmọ̀ ọ̀fẹ́
(Àtúnjúwe láti Àdàkọ:Infobox state)
Ìwé-alàyé àdàkọ[ìwò] [àtúnṣe] [ìtàn] [ìfọnù]

This template should be used to produce an Infobox for human settlements (cities, towns, villages, communities) as well as other administrative districts, counties, provinces, et cetera – in fact, any subdivision below the level of a country, for which {{Infobox Country}} should be used. Available fields are described in the table below. For questions see the talk page.

Redirects and calls

The following 0 templates call this one: Category:Templates calling Infobox settlement

The following Infobox templates redirect here:

  • Administrative division
  • area
  • borough
  • city
  • county
  • department
  • district
  • division
  • hamlet
  • location
  • municipality
  • neighborhood
  • neighbourhood
  • parish
  • place
  • province
  • region
  • state
  • subdivision
  • territory
  • town
  • township
  • village
  • voivod

Usage

  • Important: Please enter all numeric values in a raw, unformatted fashion. References are to be included in their respective section footnotes field. Numeric values that are not "raw" may create an "Expression error". Raw values will be automatically formatted by the template. If you find a raw value is not formatted in your usage of the template, please post a notice on the discussion page for this template.
  • Expression Error may also be caused when any coordinate parameter has a value, but one or more coordinate parameters are blank of invalid.

Basic blank template, ready to cut and paste. See the next section for a copy of the template with all parameters and comments. See the table below that for a full description of each parameter.

{{Infobox settlement
<!-- See Template:Infobox settlement for additional fields and descriptions -->
| name                    = 
| native_name             = 
| native_name_lang        = <!-- ISO 639-2 code e.g. "fr" for French. If more than one, use {{lang}} instead -->
| settlement_type         = 
| image_skyline           = 
| imagesize               = 
| image_alt               = 
| image_caption           = 
| image_flag              = 
| flag_alt                = 
| image_seal              = 
| seal_alt                = 
| image_shield            = 
| shield_alt              = 
| nickname                = 
| motto                   = 
| image_map               = 
| map_alt                 = 
| map_caption             = 
| image_dot_map           = 
| dot_mapsize             = 
| dot_map_base_alt        = 
| dot_map_alt             = 
| dot_map_caption         = 
| dot_x = |dot_y = 
| pushpin_map             = 
| pushpin_label_position  = 
| pushpin_map_alt         = 
| pushpin_map_caption     = 
| latd  =  |latm  =  |lats  =  |latNS  = 
| longd =  |longm =  |longs =  |longEW = 
| coor_pinpoint           = 
| coordinates_type        = 
| coordinates_display     = inline,title
| coordinates_footnotes   = 
| subdivision_type        = [[List of sovereign states|Country]]
| subdivision_name        = 
| subdivision_type1       = 
| subdivision_name1       = 
| subdivision_type2       = 
| subdivision_name2       = 
| established_title       = 
| established_date        = 
| founder                 = 
| named_for               = 
| seat_type               = 
| seat                    = 
| government_footnotes    = 
| leader_party            = 
| leader_title            = 
| leader_name             = 
| leader_title1           = 
| leader_name1            = 
| total_type              = 
| unit_pref               = 
| area_magnitude          = 
| area_footnotes          = 
| area_total_km2          = 
| area_total_sq_mi        = 
| area_land_km2           = 
| area_land_sq_mi         = 
| area_water_km2          = 
| area_water_sq_mi        = 
| area_water_percent      = 
| area_note               = 
| elevation_footnotes     = 
| elevation_m             = 
| elevation_ft            = 
| population_footnotes    = 
| population_total        = 
| population_as_of        = 
| population_density_km2  = 
| population_density_sq_mi= 
| population_est          = 
| pop_est_as_of           = 
| population_demonym      = 
| population_note         = 
| timezone1               = 
| utc_offset1             = 
| timezone1_DST           = 
| utc_offset1_DST         = 
| postal_code_type        = 
| postal_code             = 
| area_code_type          = 
| area_code               = 
| website                 = 
| footnotes               = 
}}

Complete empty syntax, with comments

This copy of the template lists all parameters except for some of the repeating numbered parameters which are noted in the comments. Comments here should be brief; see the table below for full descriptions of each parameter.

{{Infobox settlement
<!-- See Template:Infobox settlement for additional fields and descriptions -->
| name                    = <!-- at least one of the first two fields must be filled in -->
| official_name           = 
| native_name             = <!-- if different from the English name -->
| native_name_lang        = <!-- ISO 639-2 code e.g. "fr" for French. If more than one, use {{lang}} instead -->
| other_name              = 
| settlement_type         = <!-- such as Town, Village, City, Borough etc. -->
<!-- transliteration(s) -------->
| translit_lang1          = 
| translit_lang1_type     = 
| translit_lang1_info     = 
| translit_lang1_type1    = 
| translit_lang1_info1    = 
| translit_lang1_type2    = 
| translit_lang1_info2    = <!-- etc., up to translit_lang1_type6 / translit_lang1_info6 -->
| translit_lang2          = 
| translit_lang2_type     = 
| translit_lang2_info     = 
| translit_lang2_type1    = 
| translit_lang2_info1    = 
| translit_lang2_type2    = 
| translit_lang2_info2    = 
| translit_lang2_info2    = <!-- etc., up to translit_lang2_type6 / translit_lang2_info6 -->
<!-- images, nickname, motto --->
| image_skyline           = 
| imagesize               = 
| image_alt               = 
| image_caption           = 
| image_flag              = 
| flag_size               = 
| flag_alt                = 
| flag_link               =
| image_seal              = 
| seal_size               = 
| seal_alt                = 
| seal_link               = 
| image_shield            = 
| shield_size             = 
| shield_alt              = 
| shield_link             = 
| image_blank_emblem      = 
| blank_emblem_type       = <!-- defaults to Logo -->
| blank_emblem_size       = 
| blank_emblem_alt        = 
| blank_emblem_link       = 
| nickname                = 
| motto                   = 
| anthem                  = 
<!-- maps and coordinates ------>
| image_map               = 
| mapsize                 = 
| map_alt                 = 
| map_caption             = 
| image_map1              = 
| mapsize1                = 
| map_alt1                = 
| map_caption1            = 
| image_dot_map           = 
| dot_mapsize             = 
| dot_map_base_alt        = 
| dot_map_alt             = 
| dot_map_caption         = 
| dot_x = |dot_y = 
| pushpin_map             = <!-- name of a location map as per Template:Location_map -->
| pushpin_label_position  = <!-- position of the pushpin label: left, right, top, bottom, none -->
| pushpin_label           = <!-- only necessary if "name" or "official_name" are too long -->
| pushpin_map_alt         = 
| pushpin_mapsize         = 
| pushpin_map_caption     = 
| pushpin_map1            = 
| pushpin_label_position1 = 
| pushpin_label1          = <!-- only necessary if "name" or "official_name" are too long -->
| pushpin_map_alt1        = 
| pushpin_mapsize1        = 
| pushpin_map_caption1    = 
| latd  =  |latm  =  |lats  =  |latNS  = 
| longd =  |longm =  |longs =  |longEW = 
| coor_pinpoint           = <!-- to specify exact location of coordinates (was coor_type) -->
| coordinates_type        = 
| coordinates_display     = inline,title
| coordinates_footnotes   = <!-- for references: use <ref>tags -->
<!-- location ------------------>
| subdivision_type        = [[List of sovereign states|Country]]
| subdivision_name        = <!-- the name of the country -->
| subdivision_type1       = 
| subdivision_name1       = 
| subdivision_type2       = 
| subdivision_name2       = <!-- etc., subdivision_type6 / subdivision_name6 -->
<!-- established --------------->
| established_title       = <!-- Settled -->
| established_date        = 
| established_title1      = <!-- Incorporated (town) -->
| established_date1       = 
| established_title2      = <!-- Incorporated (city) -->
| established_date2       = 
| established_title3      = 
| established_date3       = 
| extinct_title           = 
| extinct_date            = 
| founder                 = 
| named_for               = 
<!-- seat, smaller parts ------->
| seat_type               = <!-- defaults to: Seat -->
| seat                    = 
| parts_type              = <!-- defaults to: Boroughs -->
| parts_style             = <!-- list, coll (collapsed list), para (paragraph format) -->
| parts                   = <!-- parts text, or header for parts list -->
| p1                      = 
| p2                      = <!-- etc., up to p50: for separate parts to be listed-->
<!-- government type, leaders -->
| government_footnotes    = <!-- for references: use <ref>tags -->
| government_type         = 
| leader_party            = 
| leader_title            = 
| leader_name             = <!-- add &nbsp; (no-break space) to disable automatic links -->
| leader_title1           = 
| leader_name1            = <!-- etc., up to leader_title4 / leader_name4 -->
<!-- display settings  --------->
| total_type              = <!-- to set a non-standard label for total area and population rows -->
| unit_pref               = <!-- enter: Imperial, to display imperial before metric -->
<!-- area ---------------------->
| area_footnotes          = <!-- for references: use <ref>tags -->
| area_magnitude          = <!-- use only to set a special wikilink -->
| area_total_km2          = <!-- ALL fields with measurements have automatic unit conversion -->
| area_total_sq_mi        = <!-- see table @ Template:Infobox settlement for details -->
| area_total_dunam        = <!-- used in Middle East articles only -->
| area_land_km2           = 
| area_land_sq_mi         = 
| area_water_km2          = 
| area_water_sq_mi        = 
| area_water_percent      = 
| area_urban_footnotes    = <!-- for references: use <ref>tags -->
| area_urban_km2          = 
| area_urban_sq_mi        = 
| area_metro_footnotes    = <!-- for references: use <ref>tags -->
| area_metro_km2          = 
| area_metro_sq_mi        = 
| area_rank               = 
| area_blank1_title       = 
| area_blank1_km2         = 
| area_blank1_sq_mi       = 
| area_blank2_title       = 
| area_blank2_km2         = 
| area_blank2_sq_mi       = 
| area_note               = 
<!-- elevation ----------------->
| elevation_footnotes     = <!-- for references: use <ref>tags -->
| elevation_m             = 
| elevation_ft            = 
| elevation_max_footnotes = <!-- for references: use <ref>tags -->
| elevation_max_m         = 
| elevation_max_ft        = 
| elevation_min_footnotes = <!-- for references: use <ref>tags -->
| elevation_min_m         = 
| elevation_min_ft        = 
<!-- population ---------------->
| population_footnotes    = <!-- for references: use <ref>tags -->
| population_total        = 
| population_as_of        = 
| population_rank         = 
| population_density_km2  = <!-- for automatic calculation of any density field, use: auto -->
| population_density_sq_mi= 
| population_est          = 
| pop_est_as_of           = 
| population_urban        = 
| population_density_urban_km2   = 
| population_density_urban_sq_mi = 
| population_metro        = 
| population_density_metro_km2   = 
| population_density_metro_sq_mi = 
| population_density      = 
| population_density_rank = 
| population_blank1_title = 
| population_blank1       = 
| population_density_blank1_km2  = 
| population_density_blank1_sq_mi= 
| population_blank2_title = 
| population_blank2       = 
| population_density_blank2_km2  = 
| population_density_blank2_sq_mi= 
| population_demonym      = <!-- demonym, ie. Liverpudlian for someone from Liverpool -->
| population_note         = 
<!-- demographics (section 1) -->
| demographics_type1      = 
| demographics1_footnotes = <!-- for references: use <ref>tags -->
| demographics1_title1    = 
| demographics1_info1     = <!-- etc., up to demographics1_title5 / demographics1_info5 -->
<!-- demographics (section 2) -->
| demographics_type2      = 
| demographics2_footnotes = <!-- for references: use <ref>tags -->
| demographics2_title1    = 
| demographics2_info1     = <!-- etc., up to demographics2_title5 / demographics2_info5 -->
<!-- time zone(s) -------------->
| timezone1               = 
| utc_offset1             = 
| timezone1_DST           = 
| utc_offset1_DST         = 
| timezone2               = 
| utc_offset2             = 
| timezone2_DST           = 
| utc_offset2_DST         = 
<!-- postal codes, area code --->
| postal_code_type        = <!-- enter ZIP code, Postcode, Post code, Postal code... -->
| postal_code             = 
| postal2_code_type       = <!-- enter ZIP code, Postcode, Post code, Postal code... -->
| postal2_code            = 
| area_code_type          = <!-- defaults to: Area code(s) -->
| area_code               = 
| geocode                 =
| iso_code                = 
| registration_plate      =
<!-- twin cities --------------->
| twin1                   = 
| twin1_country           = 
| twin2                   = 
| twin2_country           = <!-- etc., up to twin9 / twin9_country -->
<!-- blank fields (section 1) -->
| blank_name_sec1         = 
| blank_info_sec1         = 
| blank1_name_sec1        = 
| blank1_info_sec1        = 
| blank2_name_sec1        = 
| blank2_info_sec1        = <!-- etc., blank6_name_sec1 / blank6_info_sec1 -->
<!-- blank fields (section 2) -->
| blank_name_sec2         = 
| blank_info_sec2         = 
| blank1_name_sec2        = 
| blank1_info_sec2        = 
| blank2_name_sec2        = 
| blank2_info_sec2        = <!-- etc., blank6_name_sec2 / blank6_info_sec2 -->
<!-- website, footnotes -------->
| website                 = 
| footnotes               = 
}}

Parameter names and descriptions

Name and transliteration

Parameter nameUsageDescription
namerequired if official_name missingThe usual name in English
official_namerequired if name missingThe official name in English
native_nameoptionalThis will display under the name/official name
native_name_langoptionalUse ISO 639-2 code, e.g. "fr" for French. If there is more than one native name, in different languages, enter those names using {{lang}}, instead.
other_nameoptionalFor places with a former or more common name like Bombay or Saigon
settlement_typeoptionalAny type can be entered, such as City, Town, Village, Hamlet, Municipality, Reservation, etc. If set, will be displayed under the names, provided that either name or official_name is filled in. Might also be used as a label for total population/area (defaulting to City), if needed to distinguish from Urban or Metro (if urban and metro figures are not present, the label is Total unless total_type is set).
Transliteration(s)
translit_lang1optionalWill place the "entry" before the word "transliteration(s)". Can be used to specify a particular language like in Dêlêg or one may just enter "Other", like in Gaza's article.
translit_lang1_type
translit_lang1_type1
to
translit_lang1_type6
optional
translit_lang1_info
translit_lang1_info1
to
translit_lang1_info6
optional
translit_lang2optionalWill place a second transliteration. See Dêlêg
translit_lang2_type
translit_lang2_type1
to
translit_lang2_type6
optional
translit_lang2_info
translit_lang2_info1
to
translit_lang2_info6
optional

Images, Nickname, Motto

Parameter nameUsageDescription
Skyline image
image_skylineoptionalDespite the name it can be any image that an editor wishes. Default size will be 250px
imagesizeoptionalCan be used to tweak the size of the image_skyline up or down. This can can helpful if an editor want to make the infobox wider.
image_altoptionalAlt text for the image, used by visually-impaired readers who cannot see the image. See WP:ALT.
image_captionoptionalWill place a caption under the image_skyline (if present)
Flag image
image_flagoptionalUsed for a flag. Default size:100px
flag_sizeoptionalCan be used to tweak the size of the image_flag up or down from 100px as desired.
flag_altoptionalAlt text for the flag.
flag_linkoptional
Seal image
image_sealoptionalIf the place has an official seal.
seal_sizeoptionalDefault is 100px.
seal_altoptionalAlt text for the seal.
seal_linkoptional
Coat of arms image
image_shieldoptionalCan be used for a place with a coat of arms.
shield_sizeoptionalDefault is 100px.
shield_altoptionalAlt text for the shield.
shield_linkoptionalCan be used if a wiki article if known but is not automatically linked by the template. See Coquitlam, British Columbia's infobox for an example.
Logo or emblem image
image_blank_emblemoptionalCan be used if a place has an official logo, crest, emblem, etc. Logo is the default type. See Kingston upon Hull's infobox for an example.
Deprecated name =city_logo
blank_emblem_typeoptionalTo specify what type of emblem "image_blank_emblem" is. The default is Logo.
blank_emblem_sizeoptionalDefault is 100px. Deprecated name =citylogo_size
blank_emblem_altoptionalAlt text for blank emblem.
blank_emblem_linkoptionalDeprecated name =logo_link
Nickname and Motto
nicknameoptionalwell-known nickname(s)
mottooptionalWill place the motto under the nicknames
anthemoptionalWill place the anthem (song) under the nicknames

Maps, Coordinates

Parameter nameUsageDescription
Map images
image_mapoptional
mapsizeoptionalDefault is 250px.
map_altoptionalAlt text for map.
map_captionoptional
image_map1optionalA secondary map image. The field image_map must be filled in first. Example see: Bloomsburg, Pennsylvania.
mapsize1optionalDefault is 250px.
map_alt1optionalAlt text for secondary map.
map_caption1optional
Dot map
image_dot_mapoptionalA field for manually superimposing a dot over a blank map using an "X" & "Y" system. Blank maps, if available, can be found over at Wikimedia Commons. Example see: Rainbow Lake, Alberta
dot_mapsizeoptionalTo change the dot map size; default is 180px.
dot_map_base_altoptional
dot_map_altoptionalAlt text for the dot map.
dot_map_captionoptionalFor placing a caption under the dot map.
dot_x
dot_y
optionalFor manually superimposing the dot left/right and up/down on the map.
Pushpin map(s), Coordinates
pushpin_mapoptionalThe name of a location map as per Template:Location map (eg. Indonesia or Russia). The coordinate fields (eg. latd and longd) position a pushpin coordinate marker and label on the map automatically. Example see: Padang, Indonesia
pushpin_label_positionoptionalThe position of the label on the pushpin map relative to the pushpin coordinate marker. Valid options are {left, right, top, bottom, none}. If this field is not specified, the default value is right.
pushpin_map_altoptionalAlt text for pushpin map.
pushpin_mapsizeoptionalMust be entered as only a number—no need for px. The default value is 250.
pushpin_map_captionoptionalFill out if a different caption from map_caption is desired.
pushpin_map1optionalSet of parameters for second pushpin map
pushpin_label_position1optional
pushpin_map_alt1optional
pushpin_mapsize1optional
pushpin_map_caption1optional
latdoptionalLatitude degrees. Can also be used for decimal degrees.
latmoptionalLatitude minutes. Omit or leave blank if latd has a decimal value.
latsoptionalLatitude seconds. Omit or leave blank if latd has a decimal value.
latNSoptionalLatitude North or South (enter N or S). Omit or leave blank if latd has a decimal value.
longdoptionalLongitude degrees. Can also be used for decimal degrees.
longmoptionalLongitude minutes. Omit or leave blank if longd has a decimal value.
longsoptionalLongitude seconds. Omit or leave blank if longd has a decimal value.
longEWoptionalLongitude East or West (enter E or W). Omit or leave blank if longd has a decimal value.
Coordinates display
coor_pinpointoptionalIf needed, to specify more exactly where (or what) coordinates are given (e.g. Town Hall) or a specific place in a larger area (e.g. a city in a county). Example: Masovian Voivodeship Deprecated name =coor_type
coordinates_typeoptional Can be used to override the default type and region for coordinates.

If coordinates_type is not used:

  • region will be set according to "subdivision_name", e.g. subdivision_name = United Kingdom will generate coordinates with "region:GB". For Canada and the United States, in addition, "subdivision_name1" will be used, e.g. subdivision_name = Canada and subdivision_name1 = Ontario => "region:CA-ON".
  • type is set to "type:city". If population_total is a number without commas, it is set to type:city(population_total). If the population_total field includes text, symbols or commas, "type:city" is used instead.

If coordinates_type is needed, to specify region, type and scale in accordance with how it is done at {{coord}}, i.e. |coordinates_type =region:GB_type:city_scale:1000. See Birmingham or Pie Town for examples.

coordinates_displayoptional If the field is empty or not used, the coordinates will be displayed in the infobox only.

Any value will have the coordinates displayed in the article's title as well.
Infobox settlement uses {{Geobox coor}} to call {{Coord}} with the parameter "display=inline,title".

coordinates_footnotesoptionalReference(s) for coordinates, placed within <ref> </ref> tags, possibly using the citing format at {{Cite web}}

Location, Established, Seat, Subdivisions, Government, Leaders

Parameter nameUsageDescription
Location
subdivision_typeoptionalalmost always [[List of sovereign states|Country]]
subdivision_nameoptionalDepends on the subdivision_type – use the name in text form, sample: United States or [[United States]], don't add flag icons or flag templates in this field.
subdivision_type1
to
subdivision_type6
optionalCan be State/Province, region, county.
subdivision_name1
to
subdivision_name6
optionalUse the name in text form, sample: Florida or [[Florida]]. Don't add flag icons or flag templates in this field.
Established
established_titleoptionalExample: First settled
established_dateoptional
established_title1optionalExample: Incorporated (town)
established_date1optional
established_title2optionalExample: Incorporated (city)
established_date2optional
established_title3optional
established_date3optional
extinct_titleoptionalFor when a settlement ceases to exist
extinct_dateoptional
founderoptionalThe name of the settlement's founder
named_foroptionalThe source of the name of the settlement (a person, a place, et cetera)
Seat of government
seat_typeoptionalThe label for the seat of government (defaults to Seat).
seatoptionalThe seat of government.
Smaller parts (e.g. boroughs of a city)
parts_typeoptionalThe label for the smaller subdivisions (defaults to Boroughs).
parts_styleoptionalSet to list to display as a collapsible list, coll as a collapsed list, or para to use paragraph style. Default is list for up to 5 items, otherwise coll.
partsoptionalText or header of the list of smaller subdivisions.
p1
p2
to
p50
optionalThe smaller subdivisions to be listed. Example: Warsaw
Government type, Leaders
government_footnotesoptionalReference(s) for government, placed within <ref> </ref> tags, possibly using the citing format at {{Cite web}}
government_typeoptionalExample: Mayor-council government
leader_partyoptionalPolitical party of the place's leader
leader_titleoptionalFirst title of the place's leader, e.g. Mayor
leader_nameoptionalName of the place's leader
leader_title1
to
leader_title4
optional
leader_name1
to
leader_name4
optionalFor long lists use {{Collapsible list}}. See Halifax for an example.

Geographic information

These fields have dual automatic unit conversion meaning that if only metric values are entered, the imperial values will be automatically converted and vice versa. If an editor wishes to over-ride the automatic conversion, e.g. if the source gives both metric and imperial or if a range of values is needed, they should enter both values in their respective fields.
Parameter nameUsageDescription
Display settings
total_typeoptionalSpecifies what "total" area and population figure refer to, e.g. Greater London. This overrides other labels for total population/area. For no label, can be set to  ; (this precise value also causes the total population to be displayed on the same line as the word Population).
unit_prefoptionalTo change the unit order to imperial (metric), enter imperial. The default display style is metric (imperial). However, the template will swap the order automatically if the subdivision_name equals some variation of the USA or the UK.
For the middle east, a unit preference of dunam can be entered (only affects total area).
All values must be entered in a raw format: no commas, spaces, or unit symbols. The template will format them automatically.
Area
area_footnotesoptionalReference(s) for area, placed within <ref> </ref> tags, possibly using the citing format at {{Cite web}}
area_magnitudeoptionalArea magnitude of total_area in terms of m2. Should enter 1 E+6 for area of 1.0 km2. See 1 E+6 m²
area_total_km2optionalTotal area in square kilometers—symbol: km2, which is wiki-linked. Value must be entered in raw format, no commas or spaces. Auto-converted to display square miles if area_total_sq_mi is empty.
Deprecated name =area_total
area_total_sq_mioptionalTotal area in square miles—symbol: sq mi, which is wiki-linked. Value must be entered in raw format, no commas or spaces. Auto-converted to display square kilometers if area_total_km2 is empty.
Deprecated name =TotalArea_sq_mi
area_total_dunamoptionalTotal area in dunams, which is wiki-linked. Used in middle eastern places like Israel, Gaza, and the West Bank. Value must be entered in raw format, no commas or spaces. Auto-converted to display square kilometers and square miles if area_total_km2 and area_total_sq_mi are empty. Examples: Gaza and Ramallah
area_land_km2optionalLand area in square kilometers—symbol: km2. Value must be entered in raw format, no commas or spaces. Auto-converted to display square miles if area_land_sq_mi is empty.
Deprecated name =area_land
area_land_sq_mioptionalLand area in square miles—symbol: sq mi. Value must be entered in raw format, no commas or spaces. Auto-converted to display square kilometers if area_land_km2 is empty.
Deprecated name =LandArea_sq_mi
area_water_km2optionalWater area in square kilometers—symbol: km2. Value must be entered in raw format, no commas or spaces. Auto-converted to display square miles if area_water_sq_mi is empty.
Deprecated name =area_water
area_water_sq_mioptionalWater area in square miles—symbol: sq mi. Value must be entered in raw format, no commas or spaces. Auto-converted to display square kilometers if area_water_km2 is empty.
Deprecated name =WaterArea_sq_mi
area_water_percentoptionalpercent of water without the "%"
area_urban_km2optionalDeprecated name =area_urban
area_urban_sq_mioptionalDeprecated name =UrbanArea_sq_mi
area_metro_km2optionalDeprecated name =area_metro
area_metro_sq_mioptionalDeprecated name =MetroArea_sq_mi
area_rankoptionalThe settlement's area, as ranked within its parent sub-division
area_blank1_titleoptionalExample see London
area_blank1_km2optional
area_blank1_sq_mioptional
area_blank2_titleoptional
area_blank2_km2optional
area_blank2_sq_mioptional
area_noteoptionalA place for additional information such as the name of the source.
Elevation
elevation_footnotesoptionalReference(s) for elevation, placed within <ref> </ref> tags, possibly using the citing format at {{Cite web}}
elevation_moptionalRaw number entered in meters. Will automatically convert to display elevation in feet if elevation_ft is empty. However, if a range in elevation (i.e. 5–50 m ) is desired, the editor must enter a converted range in the elevation_ft field to over-ride the automatic conversion. use the "max" and "min" fields below
Deprecated name =elevation
elevation_ftoptionalRaw number, entered in feet. Will automatically convert to display the average elevation in meters if elevation_m field is empty. However, if a range in elevation (i.e. 50–500 ft ) is desired, the editor must enter a converted range in the elevation_m field to over-ride the automatic conversion. use the "max" and "min" fields below
elevation_max_footnotes
elevation_min_footnotes
optionalSame as above, but for the "max" and "min" elevations. See Leeds.
elevation_max_m
elevation_max_ft
elevation_min_m
elevation_min_ft
optionalUsed to give highest & lowest elevations, instead of just a single value. Example: Halifax Regional Municipality.

Population, Demographics

The density fields have dual automatic unit conversion meaning that if only metric values are entered, the imperial values will be automatically converted and vice-versa. If an editor wishes to over-ride the automatic conversion, e.g. if the source gives both metric and imperial or if a range of values is needed, they can enter both values in their respective fields. To calculate density with respect to the total area automatically, type auto in place of any density value.
Parameter nameUsageDescription
Population
population_footnotesoptionalReference(s) for population, placed within <ref> </ref> tags, possibly using the citing format at {{Cite web}}
population_totaloptionalActual population (see below for estimates) preferably consisting of digits only (without any commas)
population_as_ofoptionalThe year for the population total (usually a census year)
population_density_km2optionalDeprecated name =population_density
population_density_sq_mioptionalDeprecated name =population_density_mi2
population_estoptionalPopulation estimate.
pop_est_as_ofoptionalThe year or month & year of the population estimate
population_urban_footnotesoptionalReference(s) for urban population, placed within <ref> </ref> tags
population_urbanoptional
population_density_urban_km2optional
population_density_urban_sq_mioptionalDeprecated name =population_density_urban_mi2
population_metro_footnotesoptionalReference(s) for metro population, placed within <ref> </ref> tags
population_metrooptional
population_density_metro_km2optional
population_density_metro_sq_mioptionalDeprecated name =population_density_metro_mi2
population_rankoptionalThe settlement's population, as ranked within its parent sub-division
population_density_rankoptionalThe settlement's population density, as ranked within its parent sub-division
population_blank1_titleoptionalCan be used for estimates. Example: Windsor, Ontario
population_blank1optionalThe population value for blank1_title
population_density_blank1_km2optional
population_density_blank1_sq_mioptional
population_blank2_titleoptional
population_blank2optional
population_density_blank2_km2optional
population_density_blank2_sq_mioptional
population_demonymoptionalA demonym or gentilic is a word that denotes the members of a people or the inhabitants of a place. For example citizens in Liverpool are known as Liverpudlians.
population_noteoptionalA place for additional information such as the name of the source. See Windsor, Ontario for example.
Demographics (section 1)
demographics_type1optionalSection Header. For example: Ethnicity
demographics1_footnotesoptionalReference(s) for demographics section 1, placed within <ref> </ref> tags, possibly using the citing format at {{Cite web}}
demographics1_title1
to
demographics1_title5
optionalTitles related to demographics_type1. For example: White, Black, Hispanic...
demographics1_info1
to
demographics1_info5
optionalInformation related to the "titles". For example: 50%, 25%, 10%...
Demographics (section 2)
demographics_type2optionalA second section header. For example: Languages
demographics2_footnotesoptionalReference(s) for demographics section 2, placed within <ref> </ref> tags, possibly using the citing format at {{Cite web}}
demographics2_title1
to
demographics2_title5
optionalTitles related to demographics_type2. For example: English, French, Arabic...
demographics2_info1
to
demographics2_info5
optionalInformation related to the "titles" for type2. For example: 50%, 25%, 10%...

Other information

Parameter nameUsageDescription
Time zone(s)
timezone1optional
utc_offset1optional
timezone1_DSToptional
utc_offset1_DSToptional
timezone2optionalA second timezone field for larger areas such as a Province.
utc_offset2optional
timezone2_DSToptional
utc_offset2_DSToptional
Postal code(s) & area code
postal_code_typeoptional
postal_codeoptional
postal2_code_typeoptional
postal2_codeoptional
area_code_typeoptionalIf left blank/not used template will default to "Area code(s)"
area_codeoptional
geocodeoptionalSee Geocode
iso_codeoptionalSee ISO 3166
registration_plateoptionalSee Vehicle registration plate
Twin cities
twin1
to
twin9
optionalName of a twin city
twin1_country
to
twin9_country
optionalCountry of the twin city
Blank fields (section 1)
blank_name_sec1optionalFields used to display other information. The name is displayed in bold on the left side of the infobox.
blank_info_sec1optionalThe information associated with the blank_name heading. The info is displayed on right side of infobox, in the same row as the name. For an example, see: Warsaw
blank1_name_sec1
to
blank6_name_sec1
optionalUp to 6 additional fields (7 total) can be displayed in this section
blank1_info_sec1
to
blank6_info_sec1
optional
Blank fields (section 2)
blank_name_sec2optionalFor a second section of blank fields
blank_info_sec2optionalExample: Beijing
blank1_name_sec2
to
blank6_name_sec2
optionalUp to 6 additional field (7 total) can be displayed in this section
blank1_info_sec2
to
blank6_info_sec2
optional
Website, Footnotes
websiteoptionalExternal link to official website, suggested format is

[http://www.detroitmi.gov/ www.detroitmi.gov]
which prevents unnecessary display of leading http://

footnotesoptionalText to be displayed at the bottom of the infobox

Example

from Detroit, Michigan -- Note Pipe characters are in front of the line of cell data, instead of at the end of the line, which simplify the spacing:

{{Infobox settlement
<!-- See Template:Infobox settlement for additional fields and descriptions -->
| name                    = Detroit
| settlement_type         = City
| official_name           = City of Detroit
| image_skyline           = DetroitSkyline.jpg
| image_alt               = Tall buildings with city lights at dusk, reflected over still dark water
| image_caption           = Skyline of Detroit
| image_flag              = Detroit flag.png
| flag_alt                = Quartered flag. Top left: blue with 17 white stars. Top right: Red with 3 golden lions. Bottom left: White with 5 gold fleur-de-lis. Bottom right: 13 alternating white and red stripes, diagonally downward. Center is covered by the city seal in color
| image_seal              = Detroit Seal.png
| seal_alt                = Light blue seal with two women, "THE CITY OF DETROIT", "MICHIGAN", and the city motto in Latin
| nickname                = Motor City, Motown, Rock City, The D
| motto                   = "{{lang|la|Speramus Meliora; Resurget Cineribus}}"<br>([[Latin]] for, "We Hope For Better Things; It Shall Rise From the Ashes")
| image_map               = Wayne County Michigan Incorporated and Unincorporated areas Detroit highlighted.svg
| map_alt                 = Detroit covers most of the northeast part of Wayne County, which in turn is in the far southeast of Michigan.
| map_caption             = Location in [[Wayne County, Michigan|Wayne County]], [[Michigan]]
| latd  = 42 |latm  = 19 |lats  = 54 |latNS  = N
| longd = 83 |longm = 02 |longs = 51 |longEW = W
| coordinates_display     = yes
| coordinates_footnotes   = <ref name="GNIS">{{cite gnis|1617959|Detroit|2009-07-27}}.</ref>
| subdivision_type        = [[Countries of the world|Country]]
| subdivision_name        = [[United States]]
| subdivision_type1       = [[U.S. state|State]]
| subdivision_name1       = [[Michigan]]
| subdivision_type2       = [[List of counties in Michigan|County]]
| subdivision_name2       = [[Wayne County, Michigan|Wayne County]]
| established_title       = Founded
| established_date        = 1701
| established_title2      = Incorporation
| established_date2       = 1806
| government_footnotes    = <!-- for references: use <ref>tags -->
| government_type         = [[Mayor-council government|Mayor-Council]]
| leader_title            = [[List of mayors of Detroit, Michigan|Mayor]]
| leader_name             = [[Dave Bing]]
| leader_party            = D
| leader_title1           = City Council
| leader_name1            = {{Collapsible list
 |title       = Members' List
 |frame_style = border:none; padding: 0;
 |title_style = <!-- (optional) -->
 |list_style  = text-align:left;display:none;
 |1           = • [[Kenneth Cockrel, Jr.]] – Council President
 |2           = • ''(Vacant)''
 |3           = • [[JoAnn Watson]]
 |4           = • [[Sheila Cockrel]]
 |5           = • [[Barbara-Rose Collins]]
 |6           = • [[Alberta Tinsley-Talabi]]
 |7           = • [[Martha Reeves]]
 |8           = • [[Brenda Jones (politician)|Brenda Jones]]
 |9           = • [[Kwame Kenyatta]]
}}
| area_footnotes          = 
| area_magnitude          = 1 E8
| area_total_sq_mi        = 143.0
| area_land_sq_mi         = 138.8
| area_water_sq_mi        = 4.2
| area_urban_sq_mi        = 1295
| area_metro_sq_mi        = 3913
| elevation_footnotes     = <ref name="GNIS" />
| elevation_ft            = 600
| population_footnotes    = <ref name="metro">{{cite web|url=http://www.census.gov/popest/metro/CBSA-est2008-annual.html|title=Annual Estimates of the Population of Combined Statistical Areas: April 1, 2000 to July 1, 2008|publisher=U.S. Census Bureau|accessdate=May 5, 2009}}</ref>
| population_as_of        = 2008
| population_total        = 912062
| population_density_sq_mi= auto
| population_urban        = 3903377
| population_metro        = 4425110
| population_blank1_title = [[Combined statistical area|CSA]]
| population_blank1       = 5354225
| population_blank2_title = [[Demonym]]
| population_blank2       = Detroiter
| population_note         =
| timezone                = [[Eastern Time Zone (North America)|EST]]
| utc_offset              = -5
| timezone_DST            = [[Eastern Daylight Time|EDT]]
| utc_offset_DST          = -4
| area_code               = [[Area code 313|313]]
| blank_name              = [[Federal Information Processing Standard|FIPS code]]
| blank_info              = 26-22000{{GR|2}}
| blank1_name             = [[Geographic Names Information System|GNIS]] feature ID
| blank1_info             = 1617959{{GR|3}}
| blank2_name             = Major airport
| blank2_info             = [[Detroit Metropolitan Wayne County Airport]] (DTW)
| website                 = [http://www.detroitmi.gov/ DetroitMI.gov]
| footnotes               = 
}}

Microformat

The HTML mark up produced by this template includes an hCard microformat, which makes the place-name and location parsable by computers, either acting automatically to catalogue article across Wikipedia, or via a browser tool operated by a person, to (for example) add the subject to an address book. Within the hCard is a Geo microformat, which additionally makes the coordinates (latitude & longitude) parsable, so that they can be, say, looked up on a map, or downloaded to a GPS unit. For more information about the use of microformats on Wikipedia, please see the microformat project.

If the place or venue has an "established", "founded", "opened" or similar date, use {{Start date}} (unless the date is before 1583 CE); if it has a URL, use {{Url}}.

hCard uses HTML classes including:

  • adr
  • agent
  • category
  • county-name
  • extended-address
  • fn
  • label
  • locality
  • nickname
  • note
  • org
  • region
  • street-address
  • url
  • vcard

Geo is produced by calling {{coord}}, and uses HTML classes:

  • geo
  • latitude
  • longitude

Please do not rename or remove these classes; nor collapse nested elements which use them.

When giving coordinates, please don't be overly precise.