Contents

Template:Infobox place/doc

Infobox place is WikiPartner's standard infobox for geographic places.

Use it for cities, countries, states, provinces, regions, districts, and other notable geographic or administrative places.

All parameters are optional. Add only information supported by reliable sources. Empty fields are automatically hidden.

Adding this template to an article also generates WikiPartner place structured data automatically. Editors do not need to create schema markup manually.

Short usage

Use this version for most place articles.

{{Infobox place
| name =
| image =
| image_alt =
| caption =
| type =
| country =
| region =
| population =
| area =
| coordinates =
| timezone =
| website =
}}

Full usage

Use this version when more geographic information is available. Remove parameters that are not needed.

{{Infobox place
| name =
| native_name =

| image =
| image_alt =
| caption =

| type =

| country =
| region =
| district =

| population =
| population_as_of =
| area =
| elevation =

| coordinates =
| latitude =
| longitude =

| timezone =

| website =
}}

Place types

For structured data, use one of these values in type when applicable:

  • City
  • Country
  • State
  • Administrative area

Other place descriptions may still be displayed in the infobox, but these four values have dedicated WikiPartner place-schema mappings.

Examples

The examples below show both the wikitext entered by an editor and the rendered WikiPartner infobox.

City — Lahore

Wikitext

{{Infobox place
| name = Lahore
| native_name = لاہور
| type = City
| country = Pakistan
| region = Punjab
| district = Lahore District
| elevation = 217 m
| coordinates = 31.5497°N, 74.3436°E
| latitude = 31.5497
| longitude = 74.3436
| timezone = Pakistan Standard Time (UTC+05:00)
| website = https://lahore.punjab.gov.pk/
}}

Rendered infobox

Lahore
City



Native name
لاہور
Type
City
Country
Pakistan
Region
Punjab
District
Lahore District



Elevation
217 m
Coordinates
31.5497°N, 74.3436°E
Time zone
Pakistan Standard Time (UTC+05:00)

Country — France

Wikitext

{{Infobox place
| name = France
| native_name = République française
| type = Country
| coordinates = 46°N, 2°E
| latitude = 46
| longitude = 2
| timezone = Central European Time
}}

Rendered infobox

France
Country



Native name
République française
Type
Country







Coordinates
46°N, 2°E
Time zone
Central European Time


State — California

Wikitext

{{Infobox place
| name = California
| type = State
| country = United States
| area = 423,970 km²
| coordinates = 37°N, 120°W
| latitude = 37
| longitude = -120
| timezone = Pacific Time
| website = https://www.ca.gov/
}}

Rendered infobox

California
State




Type
State
Country
United States




Area
423,970 km²


Coordinates
37°N, 120°W
Time zone
Pacific Time

Usage notes

  • Use name for the commonly recognized English article name.
  • Use native_name for the place name in its native language or writing system when useful.
  • Use type to identify the kind of place.
  • Use country, region, and district to describe the geographic hierarchy.
  • Do not set country to the same place when the article itself is about a country.
  • Use population_as_of whenever a population figure is provided.
  • Include units with area and elevation.
  • Use coordinates for the human-readable coordinates shown in the infobox.
  • Use decimal latitude and longitude for structured data.
  • Longitude values west of Greenwich should normally use a negative number.
  • Use image for the image filename only. Do not include File:....
  • Use image_alt for short alternative text describing the image.
  • Leave unused parameters out.
  • Do not guess population, coordinates, area, elevation, administrative divisions, or other geographic information.
  • Geographic information should be supported by reliable sources.

TemplateData

WikiPartner's standard infobox for cities, countries, states, regions, districts, and other geographic places.

Template parameters

ParameterDescriptionTypeStatus
Namename

Common or article name of the place.

Stringoptional
Native namenative_name

Name of the place in its native language or writing system.

Stringoptional
Imageimage

Main image filename for the place.

Fileoptional
Image alternative textimage_alt alt

Short alternative text describing the place image.

Stringoptional
Image captioncaption

Short caption displayed below the image.

Stringoptional
Place typetype

Type of place, such as City, Country, State, or Administrative area.

Stringoptional
Countrycountry

Country containing the place.

Stringoptional
Regionregion

State, province, region, or other major administrative area containing the place.

Stringoptional
Districtdistrict

District or smaller administrative area containing the place.

Stringoptional
Populationpopulation

Population of the place.

Stringoptional
Population as ofpopulation_as_of

Year or date applicable to the population figure.

Stringoptional
Areaarea

Area of the place, including the unit.

Stringoptional
Elevationelevation

Elevation of the place, including the unit.

Stringoptional
Coordinatescoordinates

Human-readable geographic coordinates displayed in the infobox.

Stringoptional
Latitudelatitude

Decimal latitude used for structured geographic data.

Numberoptional
Longitudelongitude

Decimal longitude used for structured geographic data.

Numberoptional
Time zonetimezone

Time zone used by the place.

Stringoptional
Websitewebsite

Official website for the place or its government.

URLoptional