Contents

Template:Infobox place: Difference between revisions

No edit summary
No edit summary
 
Line 1: Line 1:
<includeonly>
<includeonly>{{#if:{{{image|}}}|{{#setmainimage:{{{image}}}}}}}<div class="wp-infobox">
 
{{#if:{{{image|}}}|{{#setmainimage:{{{image}}}}}}}
 
<div class="wp-infobox">


<div class="wp-infobox-header">
<div class="wp-infobox-header">
Line 9: Line 5:
{{#if:{{{type|}}}|<div class="wp-infobox-subtitle">{{{type}}}</div>}}
{{#if:{{{type|}}}|<div class="wp-infobox-subtitle">{{{type}}}</div>}}
</div>
</div>


{{#if:{{{image|}}}|
{{#if:{{{image|}}}|
<div class="wp-infobox-image">
<div class="wp-infobox-image" style="padding:12px 14px 0 !important;box-sizing:border-box;">
[[File:{{{image}}}|320px|alt={{{image_alt|{{{name|{{PAGENAME}}}}}}}}]]
[[File:{{{image}}}|320px|alt={{{image_alt|{{{alt|{{{name|{{PAGENAME}}}}}}}}}}}}]]
</div>
</div>
}}
}}


{{#if:{{{image|}}}|
{{#if:{{{caption|}}}|
{{#if:{{{caption|}}}|
<div class="wp-infobox-caption">{{{caption}}}</div>
<div class="wp-infobox-caption">{{{caption}}}</div>
}}
}}
}}


<div class="wp-infobox-data">
<div class="wp-infobox-data">


{{#if:{{{native_name|}}}|
{{#if:{{{native_name|}}}|
Line 34: Line 24:
</div>
</div>
}}
}}
{{#if:{{{other_name|}}}|
<div class="wp-infobox-row">
<div class="wp-infobox-label">Other name</div>
<div class="wp-infobox-value">{{{other_name}}}</div>
</div>
}}
{{#if:{{{official_name|}}}|
<div class="wp-infobox-row">
<div class="wp-infobox-label">Official name</div>
<div class="wp-infobox-value">{{{official_name}}}</div>
</div>
}}


{{#if:{{{type|}}}|
{{#if:{{{type|}}}|
Line 58: Line 31:
</div>
</div>
}}
}}


{{#if:{{{country|}}}|
{{#if:{{{country|}}}|
Line 66: Line 38:
</div>
</div>
}}
}}
{{#if:{{{state|}}}|
<div class="wp-infobox-row">
<div class="wp-infobox-label">State</div>
<div class="wp-infobox-value">{{{state}}}</div>
</div>
}}
{{#if:{{{province|}}}|
<div class="wp-infobox-row">
<div class="wp-infobox-label">Province</div>
<div class="wp-infobox-value">{{{province}}}</div>
</div>
}}


{{#if:{{{region|}}}|
{{#if:{{{region|}}}|
Line 90: Line 45:
</div>
</div>
}}
}}
{{#if:{{{county|}}}|
<div class="wp-infobox-row">
<div class="wp-infobox-label">County</div>
<div class="wp-infobox-value">{{{county}}}</div>
</div>
}}


{{#if:{{{district|}}}|
{{#if:{{{district|}}}|
Line 107: Line 53:
}}
}}


 
{{#if:{{{population|}}}|
{{#if:{{{municipality|}}}|
<div class="wp-infobox-row">
<div class="wp-infobox-row">
<div class="wp-infobox-label">Municipality</div>
<div class="wp-infobox-label">Population</div>
<div class="wp-infobox-value">{{{municipality}}}</div>
<div class="wp-infobox-value">{{{population}}}{{#if:{{{population_as_of|}}}| ({{{population_as_of}}})}}</div>
</div>
</div>
}}
}}


 
{{#if:{{{area|}}}|
{{#if:{{{location|}}}|
<div class="wp-infobox-row">
<div class="wp-infobox-row">
<div class="wp-infobox-label">Location</div>
<div class="wp-infobox-label">Area</div>
<div class="wp-infobox-value">{{{location}}}</div>
<div class="wp-infobox-value">{{{area}}}</div>
</div>
</div>
}}
}}


 
{{#if:{{{elevation|}}}|
{{#if:{{{address|}}}|
<div class="wp-infobox-row">
<div class="wp-infobox-row">
<div class="wp-infobox-label">Address</div>
<div class="wp-infobox-label">Elevation</div>
<div class="wp-infobox-value">{{{address}}}</div>
<div class="wp-infobox-value">{{{elevation}}}</div>
</div>
</div>
}}
}}


{{#if:{{{coordinates|}}}|
{{#if:{{{coordinates|}}}|
Line 138: Line 80:
</div>
</div>
}}
}}
{{#if:{{{elevation|}}}|
<div class="wp-infobox-row">
<div class="wp-infobox-label">Elevation</div>
<div class="wp-infobox-value">{{{elevation}}}</div>
</div>
}}
{{#if:{{{area|}}}|
<div class="wp-infobox-row">
<div class="wp-infobox-label">Area</div>
<div class="wp-infobox-value">{{{area}}}</div>
</div>
}}
{{#if:{{{population|}}}|
<div class="wp-infobox-row">
<div class="wp-infobox-label">Population</div>
<div class="wp-infobox-value">{{{population}}}</div>
</div>
}}
{{#if:{{{population_as_of|}}}|
<div class="wp-infobox-row">
<div class="wp-infobox-label">Population as of</div>
<div class="wp-infobox-value">{{{population_as_of}}}</div>
</div>
}}
{{#if:{{{density|}}}|
<div class="wp-infobox-row">
<div class="wp-infobox-label">Population density</div>
<div class="wp-infobox-value">{{{density}}}</div>
</div>
}}
{{#if:{{{founded|}}}|
<div class="wp-infobox-row">
<div class="wp-infobox-label">Founded</div>
<div class="wp-infobox-value">{{{founded}}}</div>
</div>
}}
{{#if:{{{established|}}}|
<div class="wp-infobox-row">
<div class="wp-infobox-label">Established</div>
<div class="wp-infobox-value">{{{established}}}</div>
</div>
}}
{{#if:{{{built|}}}|
<div class="wp-infobox-row">
<div class="wp-infobox-label">Built</div>
<div class="wp-infobox-value">{{{built}}}</div>
</div>
}}
{{#if:{{{opened|}}}|
<div class="wp-infobox-row">
<div class="wp-infobox-label">Opened</div>
<div class="wp-infobox-value">{{{opened}}}</div>
</div>
}}
{{#if:{{{completed|}}}|
<div class="wp-infobox-row">
<div class="wp-infobox-label">Completed</div>
<div class="wp-infobox-value">{{{completed}}}</div>
</div>
}}
{{#if:{{{founded_by|}}}|
<div class="wp-infobox-row">
<div class="wp-infobox-label">Founded by</div>
<div class="wp-infobox-value">{{{founded_by}}}</div>
</div>
}}
{{#if:{{{architect|}}}|
<div class="wp-infobox-row">
<div class="wp-infobox-label">Architect</div>
<div class="wp-infobox-value">{{{architect}}}</div>
</div>
}}
{{#if:{{{architecture|}}}|
<div class="wp-infobox-row">
<div class="wp-infobox-label">Architecture</div>
<div class="wp-infobox-value">{{{architecture}}}</div>
</div>
}}
{{#if:{{{height|}}}|
<div class="wp-infobox-row">
<div class="wp-infobox-label">Height</div>
<div class="wp-infobox-value">{{{height}}}</div>
</div>
}}
{{#if:{{{length|}}}|
<div class="wp-infobox-row">
<div class="wp-infobox-label">Length</div>
<div class="wp-infobox-value">{{{length}}}</div>
</div>
}}
{{#if:{{{width|}}}|
<div class="wp-infobox-row">
<div class="wp-infobox-label">Width</div>
<div class="wp-infobox-value">{{{width}}}</div>
</div>
}}
{{#if:{{{area_built|}}}|
<div class="wp-infobox-row">
<div class="wp-infobox-label">Built-up area</div>
<div class="wp-infobox-value">{{{area_built}}}</div>
</div>
}}
{{#if:{{{owner|}}}|
<div class="wp-infobox-row">
<div class="wp-infobox-label">Owner</div>
<div class="wp-infobox-value">{{{owner}}}</div>
</div>
}}
{{#if:{{{operator|}}}|
<div class="wp-infobox-row">
<div class="wp-infobox-label">Operator</div>
<div class="wp-infobox-value">{{{operator}}}</div>
</div>
}}
{{#if:{{{governing_body|}}}|
<div class="wp-infobox-row">
<div class="wp-infobox-label">Governing body</div>
<div class="wp-infobox-value">{{{governing_body}}}</div>
</div>
}}
{{#if:{{{government|}}}|
<div class="wp-infobox-row">
<div class="wp-infobox-label">Government</div>
<div class="wp-infobox-value">{{{government}}}</div>
</div>
}}
{{#if:{{{capital|}}}|
<div class="wp-infobox-row">
<div class="wp-infobox-label">Capital</div>
<div class="wp-infobox-value">{{{capital}}}</div>
</div>
}}
{{#if:{{{largest_city|}}}|
<div class="wp-infobox-row">
<div class="wp-infobox-label">Largest city</div>
<div class="wp-infobox-value">{{{largest_city}}}</div>
</div>
}}
{{#if:{{{official_language|}}}|
<div class="wp-infobox-row">
<div class="wp-infobox-label">Official language</div>
<div class="wp-infobox-value">{{{official_language}}}</div>
</div>
}}
{{#if:{{{currency|}}}|
<div class="wp-infobox-row">
<div class="wp-infobox-label">Currency</div>
<div class="wp-infobox-value">{{{currency}}}</div>
</div>
}}


{{#if:{{{timezone|}}}|
{{#if:{{{timezone|}}}|
Line 346: Line 87:
</div>
</div>
}}
}}
{{#if:{{{postal_code|}}}|
<div class="wp-infobox-row">
<div class="wp-infobox-label">Postal code</div>
<div class="wp-infobox-value">{{{postal_code}}}</div>
</div>
}}
{{#if:{{{area_code|}}}|
<div class="wp-infobox-row">
<div class="wp-infobox-label">Area code</div>
<div class="wp-infobox-value">{{{area_code}}}</div>
</div>
}}


{{#if:{{{website|}}}|
{{#if:{{{website|}}}|
Line 370: Line 94:
</div>
</div>
}}
}}


</div>
</div>
 
</div><!--
</div>
-->{{#wikipartner_place_schema:
 
 
{{#wikipartner_place_schema:
name={{{name|{{PAGENAME}}}}}
name={{{name|{{PAGENAME}}}}}
|native_name={{{native_name|}}}
|image={{{image|}}}
|image={{{image|}}}
|image_alt={{{image_alt|}}}
|image_alt={{{image_alt|{{{alt|}}}}}}
|description={{{description|}}}
|caption={{{caption|}}}
|type={{{type|}}}
|type={{{type|}}}
|country={{{country|}}}
|country={{{country|}}}
|state={{{state|}}}
|province={{{province|}}}
|region={{{region|}}}
|region={{{region|}}}
|location={{{location|}}}
|district={{{district|}}}
|address={{{address|}}}
|population={{{population|}}}
|population_as_of={{{population_as_of|}}}
|area={{{area|}}}
|elevation={{{elevation|}}}
|coordinates={{{coordinates|}}}
|coordinates={{{coordinates|}}}
|elevation={{{elevation|}}}
|latitude={{{latitude|}}}
|area={{{area|}}}
|longitude={{{longitude|}}}
|population={{{population|}}}
|timezone={{{timezone|}}}
|founded={{{founded|}}}
|architect={{{architect|}}}
|owner={{{owner|}}}
|operator={{{operator|}}}
|website={{{website|}}}
|website={{{website|}}}
}}
|wikidata={{{wikidata|}}}
 
}}<!--
</includeonly>
--></includeonly><noinclude>
 
{{:Template:Infobox place/doc}}
<noinclude>
 
== Usage ==
 
Use this template for articles about notable geographic places, administrative areas, natural places, landmarks, buildings, and other significant locations.
 
Suitable subjects include:
 
* Countries
* States and provinces
* Cities and towns
* Villages
* Regions
* Islands
* Mountains
* Rivers
* Lakes
* Parks
* Landmarks
* Monuments
* Buildings
* Historic sites
* Other notable places
 
All parameters are optional. Empty fields are not displayed.
 
Use the basic version when only the main location details are needed. Use the full version when additional geographic, administrative, historical, architectural, or physical information is useful and reliably sourced.
 
Do not add private addresses, speculative information, promotional claims, or unnecessary details.
 
 
== Basic usage ==
 
<pre>
{{Infobox place
| name =
| image =
| image_alt =
| caption =
| type =
| country =
| state =
| region =
| location =
| coordinates =
| founded =
| established =
| population =
| area =
| website =
}}
</pre>
 
 
== Full usage ==
 
<pre>
{{Infobox place
| name =
| native_name =
| other_name =
| official_name =
| image =
| image_alt =
| caption =
| description =
| type =
| country =
| state =
| province =
| region =
| county =
| district =
| municipality =
| location =
| address =
| coordinates =
| elevation =
| area =
| population =
| population_as_of =
| density =
| founded =
| established =
| built =
| opened =
| completed =
| founded_by =
| architect =
| architecture =
| height =
| length =
| width =
| area_built =
| owner =
| operator =
| governing_body =
| government =
| capital =
| largest_city =
| official_language =
| currency =
| timezone =
| postal_code =
| area_code =
| website =
}}
</pre>
 
 
== Parameter guidance ==
 
'''name''' 
The commonly used name of the place.
 
'''native_name''' 
The place name in another language or writing system.
 
'''other_name''' 
A notable alternative, historical, or commonly used name.
 
'''official_name''' 
The official name when different from the commonly used name.
 
'''image''' 
The main representative image of the place.
 
'''image_alt''' 
A short accessibility description of the image.
 
'''caption''' 
A short factual caption for the image.
 
'''description''' 
A brief factual description of the place.
 
'''type''' 
The type of place, such as city, country, building, landmark, island, park, mountain, or historic site.
 
'''country''' 
The country containing the place.
 
'''state''' 
The state or equivalent first-level administrative division.
 
'''province''' 
The province when applicable.
 
'''region''' 
The broader geographic or administrative region.
 
'''county''' 
The county or equivalent administrative area.
 
'''district''' 
The district or equivalent local administrative area.
 
'''municipality''' 
The municipality containing or governing the place.
 
'''location''' 
The general physical location of the place.
 
'''address''' 
The public street address when appropriate, particularly for buildings and landmarks. Do not use private residential addresses.
 
'''coordinates''' 
Geographic coordinates of the place.
 
'''elevation''' 
Elevation above sea level when relevant.
 
'''area''' 
The geographic area of the place.
 
'''population''' 
Population when the place is populated and a reliable figure is available.
 
'''population_as_of''' 
The date or year associated with the population figure.
 
'''density''' 
Population density when relevant.
 
'''founded''' 
The date or year when a settlement or other place was founded.
 
'''established''' 
The date or year when an institution, site, park, district, or other place was formally established.
 
'''built''' 
The date or period when a building or structure was built.
 
'''opened''' 
The date when a building, facility, park, or attraction opened to the public.
 
'''completed''' 
The date or period when construction was completed.
 
'''founded_by''' 
The person, group, or authority credited with founding the place.
 
'''architect''' 
The architect or architectural firm responsible for a building or structure.
 
'''architecture''' 
The architectural style or significant architectural characteristics.
 
'''height''' 
Height of a building, structure, mountain, or other appropriate physical feature.
 
'''length''' 
Length of a structure or geographic feature when relevant.
 
'''width''' 
Width of a structure or geographic feature when relevant.
 
'''area_built''' 
Built-up or constructed area of a building or site.
 
'''owner''' 
The documented owner of a building, landmark, or other privately or institutionally owned place.
 
'''operator''' 
The organization or entity responsible for operating the place.
 
'''governing_body''' 
The authority responsible for managing or governing the place.
 
'''government''' 
Government or administrative authority when applicable, particularly for countries or territories.
 
'''capital''' 
Capital city of a country, state, province, or other administrative area.
 
'''largest_city''' 
Largest city of a country, state, province, or other administrative area.
 
'''official_language''' 
Official language or languages when applicable to countries or territories.
 
'''currency''' 
Official currency or currencies when applicable to countries or territories.
 
'''timezone''' 
Time zone or time zones associated with the place.
 
'''postal_code''' 
Postal or ZIP code when useful for a public location.
 
'''area_code''' 
Telephone area code when relevant.
 
'''website''' 
Official website of the place, governing authority, attraction, or institution when one exists.
 
 
== Example 1: WikiPartner ==
 
<pre>
{{Infobox place
| name = WikiPartner
| native_name =
| other_name =
| official_name = WikiPartner
| image =
| image_alt = WikiPartner website
| caption =
| description = English-language knowledge and publishing platform
| type = Online platform
| country =
| state =
| province =
| region =
| county =
| district =
| municipality =
| location = Online
| address =
| coordinates =
| elevation =
| area =
| population =
| population_as_of =
| density =
| founded = 2026
| established = 2026
| built =
| opened =
| completed =
| founded_by =
| architect =
| architecture =
| height =
| length =
| width =
| area_built =
| owner =
| operator = WikiPartner
| governing_body =
| government =
| capital =
| largest_city =
| official_language = English
| currency =
| timezone =
| postal_code =
| area_code =
| website = https://wikipartner.org
}}
</pre>
 
 
=== Example infobox ===
 
<div class="wp-infobox">
 
<div class="wp-infobox-header">
<div class="wp-infobox-name">WikiPartner</div>
<div class="wp-infobox-subtitle">Online platform</div>
</div>
 
<div class="wp-infobox-data">
 
<div class="wp-infobox-row">
<div class="wp-infobox-label">Official name</div>
<div class="wp-infobox-value">WikiPartner</div>
</div>
 
<div class="wp-infobox-row">
<div class="wp-infobox-label">Type</div>
<div class="wp-infobox-value">Online platform</div>
</div>
 
<div class="wp-infobox-row">
<div class="wp-infobox-label">Location</div>
<div class="wp-infobox-value">Online</div>
</div>
 
<div class="wp-infobox-row">
<div class="wp-infobox-label">Founded</div>
<div class="wp-infobox-value">2026</div>
</div>
 
<div class="wp-infobox-row">
<div class="wp-infobox-label">Established</div>
<div class="wp-infobox-value">2026</div>
</div>
 
<div class="wp-infobox-row">
<div class="wp-infobox-label">Operator</div>
<div class="wp-infobox-value">WikiPartner</div>
</div>
 
<div class="wp-infobox-row">
<div class="wp-infobox-label">Official language</div>
<div class="wp-infobox-value">English</div>
</div>
 
</div>
</div>
 
 
== Example 2: Eiffel Tower ==
 
<pre>
{{Infobox place
| name = Eiffel Tower
| native_name = Tour Eiffel
| other_name =
| official_name =
| image =
| image_alt = Eiffel Tower in Paris
| caption =
| description = Iron lattice tower on the Champ de Mars in Paris
| type = Landmark
| country = France
| state =
| province =
| region = Île-de-France
| county =
| district =
| municipality = Paris
| location = Champ de Mars, Paris, France
| address = Champ de Mars, 5 Avenue Anatole France, Paris, France
| coordinates =
| elevation =
| area =
| population =
| population_as_of =
| density =
| founded =
| established = 1889
| built = 1887–1889
| opened = 31 March 1889
| completed = 1889
| founded_by =
| architect = Stephen Sauvestre
| architecture = Iron lattice
| height = 330 metres
| length =
| width =
| area_built =
| owner = City of Paris
| operator = Société d'exploitation de la tour Eiffel
| governing_body =
| government =
| capital =
| largest_city =
| official_language =
| currency =
| timezone = Central European Time
| postal_code =
| area_code =
| website = https://www.toureiffel.paris
}}
</pre>
 
 
=== Example infobox ===
 
<div class="wp-infobox">
 
<div class="wp-infobox-header">
<div class="wp-infobox-name">Eiffel Tower</div>
<div class="wp-infobox-subtitle">Landmark</div>
</div>
 
<div class="wp-infobox-data">
 
<div class="wp-infobox-row">
<div class="wp-infobox-label">Native name</div>
<div class="wp-infobox-value">Tour Eiffel</div>
</div>
 
<div class="wp-infobox-row">
<div class="wp-infobox-label">Type</div>
<div class="wp-infobox-value">Landmark</div>
</div>
 
<div class="wp-infobox-row">
<div class="wp-infobox-label">Country</div>
<div class="wp-infobox-value">France</div>
</div>
 
<div class="wp-infobox-row">
<div class="wp-infobox-label">Region</div>
<div class="wp-infobox-value">Île-de-France</div>
</div>
 
<div class="wp-infobox-row">
<div class="wp-infobox-label">Municipality</div>
<div class="wp-infobox-value">Paris</div>
</div>
 
<div class="wp-infobox-row">
<div class="wp-infobox-label">Location</div>
<div class="wp-infobox-value">Champ de Mars, Paris, France</div>
</div>
 
<div class="wp-infobox-row">
<div class="wp-infobox-label">Established</div>
<div class="wp-infobox-value">1889</div>
</div>
 
<div class="wp-infobox-row">
<div class="wp-infobox-label">Built</div>
<div class="wp-infobox-value">1887–1889</div>
</div>
 
<div class="wp-infobox-row">
<div class="wp-infobox-label">Opened</div>
<div class="wp-infobox-value">31 March 1889</div>
</div>
 
<div class="wp-infobox-row">
<div class="wp-infobox-label">Architect</div>
<div class="wp-infobox-value">Stephen Sauvestre</div>
</div>
 
<div class="wp-infobox-row">
<div class="wp-infobox-label">Architecture</div>
<div class="wp-infobox-value">Iron lattice</div>
</div>
 
<div class="wp-infobox-row">
<div class="wp-infobox-label">Height</div>
<div class="wp-infobox-value">330 metres</div>
</div>
 
<div class="wp-infobox-row">
<div class="wp-infobox-label">Owner</div>
<div class="wp-infobox-value">City of Paris</div>
</div>
 
<div class="wp-infobox-row">
<div class="wp-infobox-label">Operator</div>
<div class="wp-infobox-value">Société d'exploitation de la tour Eiffel</div>
</div>
 
</div>
</div>
 
 
== Example 3: United States ==
 
<pre>
{{Infobox place
| name = United States
| native_name =
| other_name = United States of America
| official_name = United States of America
| image =
| image_alt = Flag and map representing the United States
| caption =
| description = Federal republic in North America
| type = Country
| country =
| state =
| province =
| region = North America
| county =
| district =
| municipality =
| location = North America
| address =
| coordinates =
| elevation =
| area = 9,833,520 km²
| population =
| population_as_of =
| density =
| founded = 1776
| established = 1776
| built =
| opened =
| completed =
| founded_by =
| architect =
| architecture =
| height =
| length =
| width =
| area_built =
| owner =
| operator =
| governing_body =
| government = Federal republic
| capital = Washington, D.C.
| largest_city = New York City
| official_language =
| currency = United States dollar
| timezone = Multiple
| postal_code =
| area_code =
| website = https://www.usa.gov
}}
</pre>
 
 
=== Example infobox ===
 
<div class="wp-infobox">
 
<div class="wp-infobox-header">
<div class="wp-infobox-name">United States</div>
<div class="wp-infobox-subtitle">Country</div>
</div>
 
<div class="wp-infobox-data">
 
<div class="wp-infobox-row">
<div class="wp-infobox-label">Other name</div>
<div class="wp-infobox-value">United States of America</div>
</div>
 
<div class="wp-infobox-row">
<div class="wp-infobox-label">Official name</div>
<div class="wp-infobox-value">United States of America</div>
</div>
 
<div class="wp-infobox-row">
<div class="wp-infobox-label">Type</div>
<div class="wp-infobox-value">Country</div>
</div>
 
<div class="wp-infobox-row">
<div class="wp-infobox-label">Region</div>
<div class="wp-infobox-value">North America</div>
</div>
 
<div class="wp-infobox-row">
<div class="wp-infobox-label">Location</div>
<div class="wp-infobox-value">North America</div>
</div>
 
<div class="wp-infobox-row">
<div class="wp-infobox-label">Area</div>
<div class="wp-infobox-value">9,833,520 km²</div>
</div>
 
<div class="wp-infobox-row">
<div class="wp-infobox-label">Founded</div>
<div class="wp-infobox-value">1776</div>
</div>
 
<div class="wp-infobox-row">
<div class="wp-infobox-label">Established</div>
<div class="wp-infobox-value">1776</div>
</div>
 
<div class="wp-infobox-row">
<div class="wp-infobox-label">Government</div>
<div class="wp-infobox-value">Federal republic</div>
</div>
 
<div class="wp-infobox-row">
<div class="wp-infobox-label">Capital</div>
<div class="wp-infobox-value">Washington, D.C.</div>
</div>
 
<div class="wp-infobox-row">
<div class="wp-infobox-label">Largest city</div>
<div class="wp-infobox-value">New York City</div>
</div>
 
<div class="wp-infobox-row">
<div class="wp-infobox-label">Currency</div>
<div class="wp-infobox-value">United States dollar</div>
</div>
 
<div class="wp-infobox-row">
<div class="wp-infobox-label">Time zone</div>
<div class="wp-infobox-value">Multiple</div>
</div>
 
</div>
</div>
 
 
== Notes for editors ==
 
* Use this infobox for places rather than people, organizations, companies, products, or events.
* Choose the most suitable '''type''' for the subject.
* Use geographic and administrative fields only when they are relevant to the subject.
* Do not duplicate the same information in several fields unless the fields have different purposes.
* Use '''founded''' for the founding of settlements or places and '''built''', '''opened''', or '''completed''' for structures when appropriate.
* Use '''population''' only with a reliable source and include '''population_as_of''' when the date matters.
* Use '''coordinates''' when reliable geographic coordinates are available.
* Do not add private residential addresses or other sensitive location information.
* Use '''website''' for the official website only.
* Do not add social-media profiles or authority identifiers.
 
<templatedata>
{
"description":"Infobox for countries, states, provinces, cities, towns, villages, regions, islands, mountains, rivers, lakes, parks, landmarks, monuments, buildings, historic sites, and other notable places.",
"params":{
 
"name":{
"label":"Name",
"description":"Commonly used name of the place.",
"type":"string"
},
 
"native_name":{
"label":"Native name",
"description":"Place name in another language or writing system.",
"type":"string"
},
 
"other_name":{
"label":"Other name",
"description":"Alternative, historical, or commonly used name.",
"type":"string"
},
 
"official_name":{
"label":"Official name",
"description":"Official name when different from the commonly used name.",
"type":"string"
},
 
"image":{
"label":"Image",
"description":"Main representative image of the place.",
"type":"wiki-file-name"
},
 
"image_alt":{
"label":"Image alt text",
"description":"Short accessibility description of the image.",
"type":"string"
},
 
"caption":{
"label":"Caption",
"description":"Short factual caption for the image.",
"type":"string"
},
 
"description":{
"label":"Description",
"description":"Brief factual description of the place.",
"type":"string"
},
 
"type":{
"label":"Type",
"description":"Type of place, such as country, city, building, landmark, island, park, mountain, or historic site.",
"type":"string"
},
 
"country":{
"label":"Country",
"description":"Country containing the place.",
"type":"string"
},
 
"state":{
"label":"State",
"description":"State or equivalent first-level administrative division.",
"type":"string"
},
 
"province":{
"label":"Province",
"description":"Province when applicable.",
"type":"string"
},
 
"region":{
"label":"Region",
"description":"Broader geographic or administrative region.",
"type":"string"
},
 
"county":{
"label":"County",
"description":"County or equivalent administrative area.",
"type":"string"
},
 
"district":{
"label":"District",
"description":"District or equivalent local administrative area.",
"type":"string"
},
 
"municipality":{
"label":"Municipality",
"description":"Municipality containing or governing the place.",
"type":"string"
},
 
"location":{
"label":"Location",
"description":"General physical location of the place.",
"type":"string"
},
 
"address":{
"label":"Address",
"description":"Public street address when appropriate. Do not use private residential addresses.",
"type":"string"
},
 
"coordinates":{
"label":"Coordinates",
"description":"Geographic coordinates of the place.",
"type":"string"
},
 
"elevation":{
"label":"Elevation",
"description":"Elevation above sea level when relevant.",
"type":"string"
},
 
"area":{
"label":"Area",
"description":"Geographic area of the place.",
"type":"string"
},
 
"population":{
"label":"Population",
"description":"Population when the place is populated and a reliable figure is available.",
"type":"string"
},
 
"population_as_of":{
"label":"Population as of",
"description":"Date or year associated with the population figure.",
"type":"string"
},
 
"density":{
"label":"Population density",
"description":"Population density when relevant.",
"type":"string"
},
 
"founded":{
"label":"Founded",
"description":"Date or year when a settlement or other place was founded.",
"type":"string"
},
 
"established":{
"label":"Established",
"description":"Date or year when a site, park, district, institution, or other place was formally established.",
"type":"string"
},
 
"built":{
"label":"Built",
"description":"Date or period when a building or structure was built.",
"type":"string"
},
 
"opened":{
"label":"Opened",
"description":"Date when a building, facility, park, or attraction opened to the public.",
"type":"string"
},
 
"completed":{
"label":"Completed",
"description":"Date or period when construction was completed.",
"type":"string"
},
 
"founded_by":{
"label":"Founded by",
"description":"Person, group, or authority credited with founding the place.",
"type":"string"
},
 
"architect":{
"label":"Architect",
"description":"Architect or architectural firm responsible for a building or structure.",
"type":"string"
},
 
"architecture":{
"label":"Architecture",
"description":"Architectural style or significant architectural characteristics.",
"type":"string"
},
 
"height":{
"label":"Height",
"description":"Height of a building, structure, mountain, or other appropriate physical feature.",
"type":"string"
},
 
"length":{
"label":"Length",
"description":"Length of a structure or geographic feature when relevant.",
"type":"string"
},
 
"width":{
"label":"Width",
"description":"Width of a structure or geographic feature when relevant.",
"type":"string"
},
 
"area_built":{
"label":"Built-up area",
"description":"Built-up or constructed area of a building or site.",
"type":"string"
},
 
"owner":{
"label":"Owner",
"description":"Documented owner of a building, landmark, or other privately or institutionally owned place.",
"type":"string"
},
 
"operator":{
"label":"Operator",
"description":"Organization or entity responsible for operating the place.",
"type":"string"
},
 
"governing_body":{
"label":"Governing body",
"description":"Authority responsible for managing or governing the place.",
"type":"string"
},
 
"government":{
"label":"Government",
"description":"Government or administrative authority when applicable.",
"type":"string"
},
 
"capital":{
"label":"Capital",
"description":"Capital city of a country, state, province, or other administrative area.",
"type":"string"
},
 
"largest_city":{
"label":"Largest city",
"description":"Largest city of a country, state, province, or other administrative area.",
"type":"string"
},
 
"official_language":{
"label":"Official language",
"description":"Official language or languages when applicable.",
"type":"string"
},
 
"currency":{
"label":"Currency",
"description":"Official currency or currencies when applicable.",
"type":"string"
},
 
"timezone":{
"label":"Time zone",
"description":"Time zone or time zones associated with the place.",
"type":"string"
},
 
"postal_code":{
"label":"Postal code",
"description":"Postal or ZIP code when useful for a public location.",
"type":"string"
},
 
"area_code":{
"label":"Area code",
"description":"Telephone area code when relevant.",
"type":"string"
},
 
"website":{
"label":"Website",
"description":"Official website of the place, governing authority, attraction, or institution when one exists.",
"type":"url"
}
 
},
 
"paramOrder":[
"name",
"native_name",
"other_name",
"official_name",
"image",
"image_alt",
"caption",
"description",
"type",
"country",
"state",
"province",
"region",
"county",
"district",
"municipality",
"location",
"address",
"coordinates",
"elevation",
"area",
"population",
"population_as_of",
"density",
"founded",
"established",
"built",
"opened",
"completed",
"founded_by",
"architect",
"architecture",
"height",
"length",
"width",
"area_built",
"owner",
"operator",
"governing_body",
"government",
"capital",
"largest_city",
"official_language",
"currency",
"timezone",
"postal_code",
"area_code",
"website"
]
 
}
</templatedata>


[[Category:WikiPartner infobox templates]]
[[Category:WikiPartner infobox templates]]
[[Category:WikiPartner documentation]]
[[Category:WikiPartner documentation]]
[[Category:WikiPartner templates]]
[[Category:WikiPartner templates]]
</noinclude>
</noinclude>

Latest revision as of 19:24, 6 September 2026

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[Edit template data]

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