Jump to content

Template:Infobox settlement

Preview

City
Example City
उदाहरण नगर
Nickname(s)Example Nickname
CountryIndia
StateRajasthan
DistrictExample District
Founded1727
Government
 • TypeMunicipal corporation
 • MayorExample Name
Area
 • Total484.64 km2 (187.12 sq mi)
Elevation431 m (1,414 ft)
Population (2011)
 • Total3,073,350
 • Density6,341.5/km2 (16,424.4/sq mi)
Demonym(s)Example-ite
Time zoneIST (UTC+05:30)
PIN302001
Telephone code0141
ISO 3166 codeIN-RJ
Websiteexample.org

A lightweight infobox for cities, towns, villages and other places. Works without Lua/Scribunto; needs only ParserFunctions. Empty fields are hidden, and area, length, elevation and population density are converted between metric and imperial automatically.

Notes

  • Write numbers plainly (484.64 or 3,073,350). Put references in the _footnotes fields, not inside number fields; otherwise the raw value is shown without conversion.
  • Give each area in one unit only: _km2, _ha, _sq_mi or _acre. km² / sq mi values show as km² (sq mi); ha / acre values show as ha (acres).
  • population_density_km2 = auto uses land area if given, otherwise total area.
  • unit_pref = Imperial shows imperial units first. Default is metric.
  • Also accepted: image_skyline, imagesize, image_caption, settlement_type, official_name, timezone1, utc_offset, area_codes, registration_plate, map_size, subdivisions up to 6, established_title1–3.
  • pushpin_map needs Lua (Module:Location map) and mapframe needs the Kartographer extension, so they are accepted but not shown. Use image_map with a map image instead.

TemplateData

Infobox for cities, towns, villages and other places. Area, length, elevation and density are converted between metric and imperial automatically.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Namename

Common English name. Defaults to page name.

Linesuggested
Native namenative_name

Name in local language/script.

Lineoptional
Native name langnative_name_lang

no description

Lineoptional
Typetype settlement_type

e.g. City, Town, Village, District

Linesuggested
Imageimage image_skyline

File name only, e.g. Jaipur skyline.jpg

Filesuggested
Image sizeimage_size imagesize

no description

Lineoptional
Altalt

no description

Lineoptional
Captioncaption image_caption

no description

Contentsuggested
Image flagimage_flag

no description

Fileoptional
Flag altflag_alt

no description

Lineoptional
Image sealimage_seal

no description

Fileoptional
Seal altseal_alt

no description

Lineoptional
Image shieldimage_shield

no description

Fileoptional
Shield altshield_alt

no description

Lineoptional
Etymologyetymology

no description

Lineoptional
Nicknamenickname

no description

Lineoptional
Mottomotto

no description

Lineoptional
Image mapimage_map

no description

Fileoptional
Map altmap_alt

no description

Lineoptional
Map captionmap_caption

no description

Lineoptional
Pushpin mappushpin_map

Needs Lua (Module:Location map); not shown by this template. Use image_map.

Lineoptional
Pushpin altpushpin_alt

no description

Lineoptional
Pushpin captionpushpin_caption

no description

Lineoptional
Pushpin map sizepushpin_map_size

no description

Lineoptional
Pushpin label positionpushpin_label_position

no description

Lineoptional
Mapframemapframe

Needs Kartographer extension; not shown by this template.

Lineoptional
Coordinatescoordinates

Text, or {{coord}} if that template exists.

Contentoptional
Coor pinpointcoor_pinpoint

no description

Lineoptional
Coordinates footnotescoordinates_footnotes

no description

Contentoptional
Subdivision typesubdivision_type

Default: Country

Linesuggested
Subdivision namesubdivision_name

e.g. {{Flag icon|India}} India

Contentsuggested
Subdivision type 1subdivision_type1

e.g. State

Linesuggested
Subdivision name 1subdivision_name1

e.g. Rajasthan

Contentsuggested
Subdivision type 2subdivision_type2

e.g. District

Linesuggested
Subdivision name 2subdivision_name2

e.g. Jaipur

Contentsuggested
Subdivision type3subdivision_type3

no description

Lineoptional
Subdivision name3subdivision_name3

no description

Lineoptional
Established titleestablished_title

no description

Lineoptional
Established dateestablished_date

no description

Lineoptional
Founderfounder

no description

Lineoptional
Seat typeseat_type

no description

Lineoptional
Seatseat

no description

Lineoptional
Government footnotesgovernment_footnotes

no description

Contentoptional
Government typegovernment_type

no description

Lineoptional
Governing bodygoverning_body

no description

Lineoptional
Leader partyleader_party

no description

Lineoptional
Leader titleleader_title

no description

Lineoptional
Leader nameleader_name

no description

Lineoptional
Leader title1leader_title1

no description

Lineoptional
Leader name1leader_name1

no description

Lineoptional
Leader title2leader_title2

no description

Lineoptional
Leader name2leader_name2

no description

Lineoptional
Leader title3leader_title3

no description

Lineoptional
Leader name3leader_name3

no description

Lineoptional
Leader title4leader_title4

no description

Lineoptional
Leader name4leader_name4

no description

Lineoptional
Unit preferenceunit_pref

Metric (default) or Imperial; controls which unit is shown first.

Lineoptional
Area footnotesarea_footnotes

no description

Contentoptional
Area urban footnotesarea_urban_footnotes

no description

Contentoptional
Area rural footnotesarea_rural_footnotes

no description

Contentoptional
Area metro footnotesarea_metro_footnotes

no description

Contentoptional
Area notearea_note

no description

Contentoptional
Area water percentarea_water_percent

no description

Lineoptional
Area rankarea_rank

no description

Lineoptional
Area blank1 titlearea_blank1_title

no description

Lineoptional
Area blank2 titlearea_blank2_title

no description

Lineoptional
Area total (km²)area_total_km2

Number only; converted automatically.

Numbersuggested
Area land km2area_land_km2

no description

Numberoptional
Area water km2area_water_km2

no description

Numberoptional
Area urban km2area_urban_km2

no description

Numberoptional
Area rural km2area_rural_km2

no description

Numberoptional
Area metro km2area_metro_km2

no description

Numberoptional
Area blank1 km2area_blank1_km2

no description

Numberoptional
Area blank2 km2area_blank2_km2

no description

Numberoptional
Area total haarea_total_ha

no description

Numberoptional
Area land haarea_land_ha

no description

Numberoptional
Area water haarea_water_ha

no description

Numberoptional
Area urban haarea_urban_ha

no description

Numberoptional
Area rural haarea_rural_ha

no description

Numberoptional
Area metro haarea_metro_ha

no description

Numberoptional
Area blank1 haarea_blank1_ha

no description

Numberoptional
Area blank2 haarea_blank2_ha

no description

Numberoptional
Length kmlength_km

no description

Numberoptional
Width kmwidth_km

no description

Numberoptional
Dimensions footnotesdimensions_footnotes

no description

Contentoptional
Elevation footnoteselevation_footnotes

no description

Contentoptional
Elevation (m)elevation_m

Number only.

Numbersuggested
Population footnotespopulation_footnotes

no description

Contentoptional
Population as ofpopulation_as_of

e.g. 2011 census

Linesuggested
Populationpopulation_total

Number only, e.g. 3073350

Numbersuggested
Density (/km²)population_density_km2

auto = calculate from population and area

Lineoptional
Population notepopulation_note

no description

Contentoptional
Population demonympopulation_demonym

no description

Lineoptional
Time zonetime_zone1

e.g. IST

Linesuggested
UTC offsetutc_offset1

e.g. +05:30

Linesuggested
Time zone1 dsttime_zone1_DST

no description

Lineoptional
Utc offset1 dstutc_offset1_DST

no description

Lineoptional
Postal code typepostal_code_type

e.g. PIN

Linesuggested
Postal codepostal_code

no description

Linesuggested
Area code typearea_code_type

e.g. Telephone code

Lineoptional
Area codearea_code

no description

Lineoptional
Area codesarea_codes

no description

Lineoptional
Iso codeiso_code

no description

Lineoptional
Websitewebsite

e.g. [https://example.gov.in example.gov.in]

Contentsuggested
Modulemodule

no description

Contentoptional
Footnotesfootnotes

no description

Contentoptional
Area total sq miarea_total_sq_mi

no description

Numberoptional
Area land sq miarea_land_sq_mi

no description

Numberoptional
Area water sq miarea_water_sq_mi

no description

Numberoptional
Area urban sq miarea_urban_sq_mi

no description

Numberoptional
Area rural sq miarea_rural_sq_mi

no description

Numberoptional
Area metro sq miarea_metro_sq_mi

no description

Numberoptional
Area blank1 sq miarea_blank1_sq_mi

no description

Numberoptional
Area blank2 sq miarea_blank2_sq_mi

no description

Numberoptional
Area total acrearea_total_acre

no description

Numberoptional
Area land acrearea_land_acre

no description

Numberoptional
Area water acrearea_water_acre

no description

Numberoptional
Area urban acrearea_urban_acre

no description

Numberoptional
Area rural acrearea_rural_acre

no description

Numberoptional
Area metro acrearea_metro_acre

no description

Numberoptional
Area blank1 acrearea_blank1_acre

no description

Numberoptional
Area blank2 acrearea_blank2_acre

no description

Numberoptional
Length milength_mi

no description

Numberoptional
Width miwidth_mi

no description

Numberoptional
Elevation ftelevation_ft

no description

Numberoptional
Population density sq mipopulation_density_sq_mi

no description

Numberoptional
Subdivision type4subdivision_type4

no description

Lineoptional
Subdivision name4subdivision_name4

no description

Lineoptional
Subdivision type5subdivision_type5

no description

Lineoptional
Subdivision name5subdivision_name5

no description

Lineoptional
Subdivision type6subdivision_type6

no description

Lineoptional
Subdivision name6subdivision_name6

no description

Lineoptional
Established title1established_title1

no description

Lineoptional
Established date1established_date1

no description

Lineoptional
Established title2established_title2

no description

Lineoptional
Established date2established_date2

no description

Lineoptional
Established title3established_title3

no description

Lineoptional
Established date3established_date3

no description

Lineoptional
Map sizemap_size

no description

Lineoptional
Registration plateregistration_plate

no description

Lineoptional

Usage

{{Infobox settlement
|name                   = 
|native_name            = <!-- Settlement name in the dominant local language(s), if different from the English name -->
|native_name_lang       = <!-- ISO 639-1 code e.g. "fr" for French. If more than one, use {{lang}} instead -->
|type                   = 
|image                  = 
|image_size             = 
|alt                    = 
|caption                = 
|image_flag             = 
|flag_alt               = 
|image_seal             = 
|seal_alt               = 
|image_shield           = 
|shield_alt             = 
|etymology              = 
|nickname               = 
|motto                  = 
|image_map              = 
|map_alt                = 
|map_caption            = 
|pushpin_map            = 
|pushpin_alt            = 
|pushpin_caption        = 
|pushpin_map_size       = 
|pushpin_label_position = 
|mapframe               = <!-- "yes" to show an interactive map -->
|coordinates            = <!-- {{coord|latitude|longitude|type:city|display=inline,title}} -->
|coor_pinpoint          = 
|coordinates_footnotes  = 
|subdivision_type       = Country
|subdivision_name       = 
|subdivision_type1      = 
|subdivision_name1      = 
|subdivision_type2      = 
|subdivision_name2      = 
|subdivision_type3      = 
|subdivision_name3      = 
|established_title      = 
|established_date       = 
|founder                = 
|seat_type              = 
|seat                   = 
|government_footnotes   = 
|government_type        = 
|governing_body         = 
|leader_party           = 
|leader_title           = 
|leader_name            = 
|leader_title1          = 
|leader_name1           = 
|leader_title2          = 
|leader_name2           = 
|leader_title3          = 
|leader_name3           = 
|leader_title4          = 
|leader_name4           = 
|unit_pref              = Metric
<!-- ALL fields with measurements have automatic unit conversion -->
<!-- for references: use <ref> tags -->
|area_footnotes         = 
|area_urban_footnotes   = <!-- <ref> </ref> -->
|area_rural_footnotes   = <!-- <ref> </ref> -->
|area_metro_footnotes   = <!-- <ref> </ref> -->
|area_note              = 
|area_water_percent     = 
|area_rank              = 
|area_blank1_title      = 
|area_blank2_title      = 
<!-- square kilometers -->
|area_total_km2         = 
|area_land_km2          = 
|area_water_km2         = 
|area_urban_km2         = 
|area_rural_km2         = 
|area_metro_km2         = 
|area_blank1_km2        = 
|area_blank2_km2        = 
<!-- hectares -->
|area_total_ha          = 
|area_land_ha           = 
|area_water_ha          = 
|area_urban_ha          = 
|area_rural_ha          = 
|area_metro_ha          = 
|area_blank1_ha         = 
|area_blank2_ha         = 
|length_km              = 
|width_km               = 
|dimensions_footnotes   = 
|elevation_footnotes    = 
|elevation_m            = 
|population_footnotes   = 
|population_as_of       = 
|population_total       = 
|population_density_km2 = auto
|population_note        = 
|population_demonym     = 
|time_zone1             = 
|utc_offset1            = 
|time_zone1_DST         = 
|utc_offset1_DST        = 
|postal_code_type       = 
|postal_code            = 
|area_code_type         = 
|area_code              = 
|area_codes             = <!-- for multiple area codes -->
|iso_code               = 
|website                = <!-- {{Official URL}} -->
|module                 = 
|footnotes              = 
}}