Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

// request.cf · coarse context

A page that knows where it met you.

Only coarse request metadata is shown. This demo does not display or persist visitor IP addresses.

Country
US
Cloudflare location
CMH
Connection
HTTP/2
Language
Not provided

Ray ID: a2832fbe7c23cf4f

Jump to content

Template:Infobox building/doc

From Wikipedia, the free encyclopedia

{{Infobox building}} may be used to summarize information about a building or built structure, including skyscrapers, hotels, hostels and performance venues.

Usage

[edit]
{{{name}}}
{{{native_name}}}
[[File:{{{logo}}}|{{{logo_size}}}|alt={{{logo_alt}}}|upright=1.1]]
{{{logo_caption}}}
[[File:{{{image}}}|{{{image_size}}}|alt={{{image_alt}}}|upright=1.1]]
{{{image_caption}}}
{{{pushpin_alt}}}
{{{pushpin_alt}}}
{{{pushpin_label}}}
Location within Earth
Former names{{{former_names}}}
Alternative names
{{{alternate_names}}}
Etymology{{{etymology}}}
Hotel chain{{{hotel_chain}}}
Record height
Tallest in {{{highest_region}}} from {{{highest_start}}} to {{{highest_end}}}[I]
Preceded by{{{highest_prev}}}
Surpassed by{{{highest_next}}}
General information
Status{{{status}}}
Type{{{building_type}}}
Architectural style
{{{architectural_style}}}
Classification{{{classification}}}
Location{{{location}}}, {{{address}}}, {{{location_city}}}, {{{location_country}}}
Coordinates0°N 0°E / 0°N 0°E / 0; 0
{{{grid_name}}}{{{grid_position}}}
Elevation{{{altitude}}}
Current tenants{{{current_tenants}}}
Named for{{{namesake}}}
Year built{{{years_built}}}
Groundbreaking{{{groundbreaking_date}}}
Construction started
{{{construction_start_date}}}
Construction stopped
{{{construction_stop_date}}}
Topped-out{{{topped_out_date}}}
Completed
{{{completion_date}}}
Opened{{{opened_date}}}
Inaugurated{{{inauguration_date}}}
Relocated{{{relocated_date}}}
Renovated{{{renovation_date}}}
Closed{{{closing_date}}}
Demolished{{{demolished_date}}}
Cost{{{cost}}}
Renovation cost{{{ren_cost}}}
Client{{{client}}}
Owner{{{owner}}}
Landlord{{{landlord}}}
Affiliation{{{affiliation}}}
Height
Height{{{height}}}
Architectural{{{architectural}}}
Tip{{{tip}}}
Antenna spire{{{antenna_spire}}}
Roof{{{roof}}}
Top floor{{{top_floor}}}
Observatory{{{observatory}}}
Dimensions
Diameter{{{diameter}}}
Circumference{{{circumference}}}
Weight{{{weight}}}
Other dimensions{{{other_dimensions}}}
Technical details
Structural system{{{structural_system}}}
Material{{{material}}}
Size{{{size}}}
Floor count{{{floor_count}}}
Floor area{{{floor_area}}}
Lifts/elevators{{{elevator_count}}}
Grounds{{{grounds_area}}}
Design and construction
Architect{{{architect}}}
Architecture firm
{{{architecture_firm}}}
Developer{{{developer}}}
Engineer{{{engineer}}}
Structural engineer
{{{structural_engineer}}}
Services engineer
{{{services_engineer}}}
Civil engineer{{{civil_engineer}}}
Other designers{{{other_designers}}}
Quantity surveyor{{{quantity_surveyor}}}
Main contractor{{{main_contractor}}}
Awards{{{awards}}}
Designations{{{designations}}}
Known for{{{known_for}}}
Renovating team
Architect{{{ren_architect}}}
Renovating firm{{{ren_firm}}}
Engineer{{{ren_engineer}}}
Structural engineer{{{ren_str_engineer}}}
Services engineer{{{ren_serv_engineer}}}
Civil engineer{{{ren_civ_engineer}}}
Other designers{{{ren_oth_designers}}}
Quantity surveyor{{{ren_qty_surveyor}}}
Main contractor{{{ren_contractor}}}
Awards{{{ren_awards}}}
Other information
Seating type{{{seating_type}}}
Seating capacity{{{seating_capacity}}}
Number of stores{{{number_of_stores}}}
Number of anchors{{{number_of_anchors}}}
Number of rooms{{{number_of_rooms}}}
Number of suites{{{number_of_suites}}}
Number of restaurants
{{{number_of_restaurants}}}
Number of bars{{{number_of_bars}}}
Facilities{{{facilities}}}
Parking{{{parking}}}
Public transit
{{{public_transit}}}
Website
{{{website}}}
{{{embedded}}}
References
{{{references}}}
{{{footnotes}}}
Without logo_size or image_size
[[File:{{{logo}}}|frameless|alt={{{logo_alt}}}|upright=1.1]]
{{{logo_caption}}}
[[File:{{{image}}}|frameless|alt={{{image_alt}}}|upright=1.1]]
{{{image_caption}}}

Blank template with most common parameters

[edit]
{{Infobox building
| name                = 
| image               = 
| image_size          = 
| image_alt           = 
| image_caption       = 
| coordinates         = <!-- {{coord|latitude|longitude|type:landmark|display=inline,title}} -->
| architectural_style = 
| address             = 
| years_built         = 
| groundbreaking_date = 
| construction_start_date = 
| construction_stop_date = 
| topped_out_date     = 
| completion_date     = <!-- or |est_completion= -->
| opened_date         = 
| inauguration_date   = 
| relocated_date      = 
| renovation_date     = 
| closing_date        = 
| demolished_date     = <!-- or |destruction_date= -->
| cost                = 
| owner               = 
| height              = 
| material            = 
| size                = 
| floor_count         = 
| floor_area          = 
| architect           = 
| architecture_firm   = 
| parking             = 
| public_transit      = 
| website             = <!-- {{URL|example.com}} -->
| references          = 
| footnotes           = 
}}

Blank template with nearly every parameter

[edit]
{{Infobox building
| name                = 
| native_name         = 
| native_name_lang    = 
| logo                = 
| logo_size           = 
| logo_alt            = 
| logo_caption        = 
| image               = 
| image_size          = 
| image_alt           = 
| image_caption       = 
| pushpin_map         = 
| pushpin_alt     = 
| map_dot_mark        = 
| pushpin_label       = 
| pushpin_relief      = 
| map_caption         = 
| pushpin_map_size     = 
| coordinates         = <!-- {{coord|latitude|longitude|type:landmark|display=inline,title}} -->
| former_names        = 
| alternate_names     = 
| etymology           = 
| status              = 
| cancelled           = 
| topped_out          = 
| building_type       = 
| architectural_style = 
| classification      = 
| location            = 
| address             = 
| location_city       = <!-- or |location_town= -->
| location_country    = 
| grid_name           = 
| grid_position       = 
| altitude            = 
| current_tenants     = 
| namesake            = 
| years_built         = 
| groundbreaking_date = 
| construction_start_date = 
| construction_stop_date  = 
| topped_out_date     = 
| completion_date     = <!-- or |est_completion= -->
| opened_date         = 
| inauguration_date   = 
| relocated_date      = 
| renovation_date     = 
| closing_date        = 
| demolished_date     = <!-- or |destruction_date= -->
| cost                = 
| ren_cost            = 
| client              = 
| owner               = 
| landlord            = <!-- or |operator= or |governing_body= -->
| affiliation         = 
| height              = 
| architectural       = 
| tip                 = 
| antenna_spire       = 
| roof                = 
| top_floor           = 
| observatory         = 
| diameter            = 
| circumference       = 
| weight              = 
| other_dimensions    = 
| structural_system   = 
| material            = 
| size                = 
| floor_count         = 
| floor_area          = 
| elevator_count      = 
| grounds_area        = 
| architect           = 
| architecture_firm   = 
| developer           = 
| engineer            = 
| structural_engineer = 
| services_engineer   = 
| civil_engineer      = 
| other_designers     = 
| quantity_surveyor   = 
| main_contractor     = 
| awards              = 
| designations        = 
| known_for           = 
| ren_architect       = 
| ren_firm            = 
| ren_engineer        = 
| ren_str_engineer    = 
| ren_serv_engineer   = 
| ren_civ_engineer    = 
| ren_oth_designers   = 
| ren_qty_surveyor    = 
| ren_contractor      = 
| ren_awards          = 
| parking             = 
| public_transit      = 
| website             = <!-- {{URL|example.com}} -->
| embed               = 
| embedded            = 
| references          = 
| footnotes           = 
}}

Other options

[edit]

Record height

[edit]
| highest_prev        = 
| highest_next        = 
| highest_start       = 
| highest_end         = 
| highest_region      = 
| highest_reflabel    =

Hotels, hostels, shopping centers, and performance venues

[edit]

Hotels and hostels

| hotel_chain           = 
| number_of_rooms       = <!-- or |number_of_units= -->
| number_of_suites      = 
| number_of_restaurants = 
| number_of_bars        = 
| facilities            =

Shopping centers

| number_of_stores  = 
| number_of_anchors =

Seating

| seating_type     = 
| seating_capacity =

Use as a child template

[edit]

The embed parameter is used when embedding this infobox into another (see the Template:Infobox documentation which explains embedding and subboxes).

{{Infobox ABC
| name        = 
| <!-- etc. -->
| embedded    = <!-- or module= -->
  {{Infobox building
  | embed = yes
  | <!-- etc. -->
  }}
}}

Embedding other templates

[edit]

The embedded parameter is used for embedding other templates into this infobox (see Wikipedia:Infobox modules).

{{Infobox building
| name =
| <!-- etc. -->
| embedded = 
  {{Infobox ABC
  | embed = yes <!-- or child=yes or subbox=yes-->
  | <!-- etc. -->
  }}
}}

Examples

[edit]

Example 1

[edit]
Palace of Justice of Brussels
  • Palais de Justice de Bruxelles} (French)
  • Justitiepaleis van Brussel (Dutch)
View from The Hotel Brussels (then Hilton) in 2009
Map
Interactive map of the Palace of Justice of Brussels area
Alternative names
Law Courts of Brussels
General information
TypeCourthouse
Architectural style
LocationPlace Poelaert / Poelaertplein 1, 1000 City of Brussels, Brussels-Capital Region, Belgium
Coordinates50°50′12″N 4°21′06″E / 50.83667°N 4.35167°E / 50.83667; 4.35167
Current tenantsBelgian courts
Construction started
31 October 1866 (1866-10-31)
Inaugurated15 October 1883
Cost45 million Belgian francs
ClientBelgian government
OwnerBelgian government
Height
Height104 m (341 ft)
Dimensions
Diameter160 m × 150 m (520 ft × 490 ft)
Technical details
Floor area26,000 m2 (280,000 sq ft)
Design and construction
ArchitectJoseph Poelaert
Other information
Public transit
Brussels Metro 2 6 Louise/Louiza
{{Infobox building
| name                = Palace of Justice of Brussels
| native_name         = {{native name list|tag1=fr|name1=Palais de Justice de Bruxelles|tag2=nl|name2=Justitiepaleis van Brussel}}
| alternate_names     = Law Courts of Brussels
| image               = Palais de Justice from Hilton.jpg
| image_caption       = View from [[The Hotel Brussels]] (then Hilton) in 2009
| building_type       = [[Courthouse]]
| architectural_style = {{Flatlist|
* [[Eclecticism|Eclectic]]
* [[Neoclassical architecture|neoclassical]]
}}
| cost                = 45 million [[Belgian franc]]s
| address             = {{lang|fr|Place Poelaert|italic=no}} / {{lang|nl|Poelaertplein|italic=no}} 1
| location_town       = 1000 [[City of Brussels]], Brussels-Capital Region
| location_country    = Belgium
| client              = [[Federal Government of Belgium|Belgian government]]
| owner               = Belgian government
| current_tenants     = [[Judiciary of Belgium|Belgian courts]]
| coordinates         = {{coord|50|50|12|N|4|21|06|E|type:landmark_region:BE|display=inline}}
| construction_start_date = {{start date|1866|10|31|df=y}}
| inauguration_date   = 15 October 1883
| height              = {{convert|104|m|ft|abbr=on}}
| diameter            = {{convert|160|x|150|m|ft|abbr=on}}
| floor_area          = {{convert|26,000|m2|sqft|abbr=on}}
| architect           = [[Joseph Poelaert]]
| public_transit      = {{rint|brussels}} {{rint|brussels|2}} {{rint|brussels|6}} [[Louise/Louiza metro station|Louise/Louiza]]
}}

Example 2: embedded templates

[edit]
Deming Armory
The red-brick front facade of the Deming Armory
Deming Armory in 2009
Former namesState Armory
Alternative names
Deming Luna Mimbres Museum
General information
StatusUsed as a museum
TypeGovernment armory
Architectural style
Castellated style
Location301 South Silver Avenue, Deming, New Mexico, United States
Elevation4,337 ft (1,322 m)
Current tenantsDeming Luna Mimbres Museum
Construction started
1915 (1915)
Completed
1916
CostUS$17,500
ClientUnited States Department of the Army
OwnerLuna County Historical Society, Inc. (current)
Dimensions
Other dimensions50 feet (15 m) across x 132 feet (40 m) deep
Technical details
Floor count2
Floor area14,000 sq ft (1,300 m2)
Design and construction
ArchitectHenry C. Trost
Architecture firm
Trost & Trost
Main contractorW. W. Barracks
Other information
Public transit
Deming
Deming Armory
Infobox building/doc is located in New Mexico
Infobox building/doc
Location within New Mexico
Coordinates32°15′58″N 107°45′29″W / 32.26611°N 107.75806°W / 32.26611; -107.75806
ArchitectHenry C. Trost
NRHP reference No.83001624
NMSRCP No.584
Significant dates
Added to NRHPApril 21, 1983
Designated NMSRCPJanuary 20, 1978
{{Infobox building
| name                = Deming Armory
| image               = Deming Luna Mimbres Museum.jpg
| image_alt           = The red-brick front facade of the Deming Armory
| image_caption       = Deming Armory in 2009
| former_names        = State Armory
| alternate_names     = Deming Luna Mimbres Museum
| status              = Used as a museum
| building_type       = Government [[Armory (military)|armory]]
| architectural_style = Castellated style 
| address             = 301 South Silver Avenue
| location_town       = [[Deming, New Mexico]]
| location_country    = United States
| altitude            = {{convert|4337|ft|abbr=on}}
| current_tenants     = Deming Luna Mimbres Museum
| construction_start_date = {{start date|1915}}
| completion_date     = 1916
| cost                = {{US$|17500}}
| client              = [[United States Department of the Army]]
| owner               = Luna County Historical Society, Inc. (current)
| floor_count         = 2
| floor_area          = {{convert|14000|sqft|abbr=on}}
| other_dimensions    = {{convert|50|ft}} across x {{convert|132|ft}} deep
| architect           = Henry C. Trost
| architecture_firm   = [[Trost & Trost]]
| main_contractor     = W. W. Barracks
| public_transit      = {{station link|Amtrak|Deming}} {{ric|Amtrak}}
| embedded            = 
 {{Infobox NRHP
 | embed = yes
 | name = Deming Armory
 | coordinates = {{coord|32|15|58|N|107|45|29|W|type:landmark_region:US-NM|display=inline}}
 | locmapin = New Mexico
 | map_alt = Located in New Mexico, in the southwest portion of the state
 | map_caption = Location in New Mexico
 | architect = [[Henry C. Trost]]
 | refnum = 83001624
 | added = April 21, 1983
 | designated_other1 = N.M. State Register of Cultural Properties
 | designated_other1_date = January 20, 1978
 | designated_other1_number = 584
 | designated_other1_num_position = bottom
 }}
}}

Parameters

[edit]
Field Name Required Description Values
nameYesName of buildingwikitext
native_nameNoname in that country's official language(s), if other than English.wikitext; If there is more than one native name, in different languages, enter those names using {{native name list}}, instead.
native_name_langNoISO 639-2 codeuse ISO 639-2 code, e.g. "fr" for French.
etymologyNoThing (event, person, etc.) the building was named after
statusNouseful to show the construction status of new buildings. The keywords to the right can be used to produce the appropriate status:
  • "built", "completed", "finished" or "complete" = Complete
  • "destroyed" = Destroyed
  • "demolished" = Demolished
  • "on hold" = On hold
  • "incomplete", "unfinished" or "under construction" = Under construction
  • "cancelled", "canceled", or "never built" = Never built
  • "topped out" or "topped-out" = Topped out
  • "planned" or "proposed" = Proposed
  • "approved" = Approved
imageNoImage of the buildingfilename
image_sizeNoThe image width in pixels. If not specified, the image uses frameless with upright=1.1 which displays it at approximately 110% of the user's default thumbnail size (for most users the image will display at 240px; for logged-in users who have changed the setting at Special:Preferences the displayed image could range from 130px to 440px). See also: Module:InfoboxImage, WP:AUTOSIZE, WP:EIS, WP:IMGSIZE, and MOS:IMGSIZEnumber (with or without "px")
image_altNoAlt text for image, see WP:ALTtext
image_captionNoCaption for imagewikitext (can contain links)
locationNoLocation of the buildingwikitext (can contain links), e.g., [[Joondalup, Western Australia]], [[Australia]], [[Las Vegas Strip]]
addressNoAddress of the buildingThe address can be different from the location, especially when it is only a mailing address and does not represent the actual physical location. Generally address should be used except when the location and address are different.
location_townNoSettlement where the building is locatedwikitext (can contain links)
location_countryNoCountry where the building is locatedwikitext (can contain links)
coordinatesNoGeographic coordinates of locationSee map and coordinates for details
years_builtNoDates of building constructionE.g.; 2007{{ndash}}2009
groundbreaking_dateNoDate of the formal ground breaking, if anyE.g.; 25 January 2007
construction_start_dateNoDate building construction startedE.g.; 25 January 2007
construction_stop_dateNoDate building construction stopped or haltedE.g.; 25 January 2007
completion_dateNoCompletion date of construction if knownE.g.; 25 January 2007
opened_dateNoDate of openingE.g.; {{Start date|2007|01|25}}
relocated_dateNoDate of relocationE.g.; 25 January 2007
inauguration_dateNoInauguration date if knowE.g.; 25 January 2007
demolition_dateNoDate building was demolishedE.g.; 25 January 2007
destruction_dateNoDate building was destroyed, generally by a natural event or warE.g.; 25 January 2007
cancelled_dateNoDate construction was cancelledE.g.; 25 January 2007
cancelledNoWas the construction cancelledYes, will set the status if no other status specified
topped_out_dateNoDate building reached final heightE.g.; 25 January 2007
topped_outNoWas the final height reachedYes, will set the status if no other status specified
architectNoName of original architectwikitext (can contain links)
landlordNoName of current landlordwikitext (can contain links)
ownerNoName(s) of current owner(s)wikitext (can contain links)
costNoConstruction costwikitext (can contain links)
heightNoGeneric height parameterFor best practice, use {{convert}} in this field.
architecturalNoCTBUH height to the top of the buildingFor best practice, use {{convert}}.
tipNoCTBUH height to the tip of the buildingFor best practice, use {{convert}}.
top_floorNoCTBUH height to the floor level of the highest floorFor best practice, use {{convert}}.
roofNoCTBUH height to the top of the roofFor best practice, use {{convert}}.
observatoryNoHeight of observation deckFor best practice, use {{convert}}.
antenna_spireNoHeight of highest point of antenna towerFor best practice, use {{convert}}.
floor_areaNoGross floor area of the building, expressed as a numerical valueFor best practice, use {{convert}}.
floor_countNoNumber of floors expressed as a numerical value
seating_typeNo
seating_capacityNoNumbers of seats available
grounds_areaNoArea of associated land, in hectares, square metres or equivalent. Use {{Convert}} if appropriate
awardsNoListed awards should meet the notability criteria for its own non-redirect article in the English Wikipedia. Red-linked entries are acceptable if the award's notability is verifiable, and it is reasonable to expect an article could be forthcoming in the future. This standard prevents the infobox award section from becoming an indiscriminate list.
ren_awardsNoListed renovation awards should meet the notability criteria for its own non-redirect article in the English Wikipedia. Red-linked entries are acceptable if the award's notability is verifiable, and it is reasonable to expect an article could be forthcoming in the future. This standard prevents the infobox award section from becoming an indiscriminate list.
parkingNoInformation on the building's own parking facilities (e.g. number of spaces or lots). Do not use for nearby parking unassociated with the building itself.
public_transitNoInformation on nearby public transit options
websiteNoWebsite for building{{URL|url.com.au}}
embedNoEmbed this infobox into another by using embed=yes
embeddedNoOther templates to be embedded in this infobox. Templates with such capability include {{Designation list}} and {{Infobox NRHP}} (see Category:Embeddable templates).the code of the embedded template
referencesNoFootnotes and citations for information within infoboxwikitext (can contain links)

Notes: Do not link to the same article more than once in the infobox.

highest_regionNo
highest_reflabelNoOverride the default reference label 'talleststatus', pointing to the reference marked with {{note label|thatlabel}}.
highest_prevNo
highest_startNo
highest_endNo
highest_nextNo

Height parameters

[edit]

The following parameters are provided for the height of buildings. They include parameters corresponding to methods used by the Council on Tall Buildings and Urban Habitat (CTBUH) to measure the height of tall buildings. CTBUH heights are measured from the level of the lowest, significant, open-air, pedestrian entrance of the building.

Specify |height= with no other height-related parameters, or leave |height= blank and fill in one or more of the other parameters below. Use of |height= along with one of the other parameters below will place the page in Category:Pages using infobox building with parameter errors.

ParameterDescription
heightGeneric height parameter
architectural(CTBUH) Height to the top of the building, inclusive of spires but excluding items such as flagpoles and antennae. This is the most commonly cited CTBUH measurement.
tip(CTBUH) Height to the highest point of the building, including antennae, flagpoles, and technical equipment.
top_floor(CTBUH) Height to the floor level of the highest floor that is occupied by building users on a consistent basis.
roof(CTBUH) Height to top of roof. This category was removed from CTBUH criteria in 2009, but is included for historical data.
observatoryHeight of observation deck.
antenna_spireHeight of the highest point of structures such as antenna towers.

Map and coordinates

[edit]

Pushpin map

[edit]

Below are the parameters used by Module:Location map to produce the pushpin map in this Infobox. These parameters are available for editors to set in articles that use this infobox.

Parameter Description Default
|pushpin_map= The map(s) to display. For example, specifying England will use the values for England in Module:Location map/data/England.Multiple maps can be shown by providing a list of map names separated by #. For multiple maps, the first is shown by default. A reader can select the others with radio buttons. N/A
|pushpin_caption= The text of a caption to be displayed below the map. If not provided a default caption will be generated. Multiple captions can be shown when separated by ## (that's two). Location within MAPNAME
|pushpin_relief= 0/false/off will cause the template to display the map defined as image (generally not a relief map). 1/true/on will cause the template to display the map defined as image1 (generally a relief map). Any non-zero numeric value such as 2 or 3 will display image2 or image3, if those images are defined. Any other non-empty value will cause display of image1. See the example at Location map+/relief. 0
|pushpin_label= The text of the label to display next to the identifying mark; a wikilink can be used. You can enclose the label inside of {{nowrap}} if you want to make sure that it stays on a single line. N/A
|pushpin_label_size= The font size to use for the label, given as a percentage of the normal font size (<100=smaller, >100=larger); the default size is 90. Do not include %. For example, use |pushpin_label_size=80, not |pushpin_label_size=80%. If set to 0, the label is only displayed when the user hovers over the mark. 90
|pushpin_label_position= The position of the label relative to the identifying mark; valid values are left, right, top, bottom and none. This defaults to either left or right, depending on the coordinates of the marker and its position relative to the right border of the map image. When |pushpin_label_position=none, any defined label will not be displayed with the mark, but it will be used to create the default caption. N/A
|pushpin_mark= The name of an image file to display as the identifying mark; the default is Red pog.svg . See examples at Commons:Location markers and Commons:Category:Map icons. Red pog.svg
|pushpin_mark_size= The size of the identifying mark in pixels. Do not include px 8
|pushpin_alt= Alt text for map; used by screen readers. See WP:ALT. N/A
|pushpin_background= The background color to use for the label; see Web colors. The default is no background color, which shows the map image behind the label. N/A
|pushpin_map_size= Determines the width of the map in pixels, overriding any default values; do not include px. N/A
Map type
[edit]

A list of templates containing maps that may be used can be found at:

A list of modules containing maps that may be used can be found at:

Mapframe maps

[edit]
  • Basic {{Infobox mapframe}} parameters:
    • mapframe – Specify yes or no to show or hide the map, overriding the default. Default: no, but also modified by onByDefault
      • Internal onByDefault parameter: yes, unless other map types have been used with |pushpin_map=, |map_type= or |image_map=
    • mapframe-coordinates or mapframe-coord or coordinates or coord – Coordinates to use, instead of any on Wikidata. Use the {{Coord}} template, e.g. |coord={{Coord|12.34|N|56.78|E}}. Default: coordinates from Wikidata d:Property:P625
    • mapframe-caption – Caption for the map. Default: blank (or if |mapframe-geomask= is set, "Location in geomask's label")
    • mapframe-custom – Use a custom map instead of the automatic mapframe. Specify either a {{maplink}} template, or another template that generates a mapframe map, or an image name. If used, most mapframe parameters will be ignored. Default: not specified
    • mapframe-id or id or qid – Id (Q-number) of Wikidata item to use. Default: item for current page
    • mapframe-wikidata – Set to yes to show all shape/line features from OpenStreetMap. Default: yes
  • Customise which features are displayed:
    • mapframe-point – Turn off display of point feature by setting to none. Force point marker to be displayed by setting to on. Default: not specified
    • mapframe-shape – Turn off display of shape feature by setting to none. Force display of shape by setting to on. Use an inverse shape (geomask) instead of a regular shape by setting to inverse. Default: not specified
    • mapframe-line – Turn off display of line feature by setting to none. Force display of line by setting to on. Default: not specified
    • mapframe-geomask – Wikidata item to use as a geomask (everything outside the boundary is shaded darker). Can either be a specific Wikidata item (Q-number), or a property that specifies the item to use (e.g. P17 for country (P17), P131 for located in the administrative territorial entity (P131)). Default: not specified
    • mapframe-switcher – set to auto or geomasks or zooms to enable Template:Switcher-style switching between multiple mapframes. Default: not specified
      • auto – switch geomasks found in location (P276) and located in the administrative territorial entity (P131) statements on the page's Wikidata item, searching recursively. E.g. an item's city, that city's state, and that state's country.
      • geomasks – switch between the geomasks specified as a comma-separated list of Wikidata items (Q-numbers) in the mapframe-geomask parameter
      • zooms – switch between "zoomed in"/"zoomed midway"/"zoomed out", where "zoomed in" is the default zoom (with a minimum of 3), "zoomed out" is 1, and "zoomed midway" is the average
  • Other optional parameters:
    • mapframe-frame-width or mapframe-width – Frame width. Default: 250
    • mapframe-frame-height or mapframe-height – Frame height. Default: 200
    • mapframe-shape-fill – Color used to fill shape features. Default: #606060
    • mapframe-shape-fill-opacity – Opacity level of shape fill, a number between 0 and 1. Default: 0.1
    • mapframe-stroke-color or mapframe-stroke-colour – Color of line features, and outlines of shape features. Default: #ff0000
      • mapframe-line-stroke-color or mapframe-line-stroke-colour – Color of line features. Default: #ff0000
      • mapframe-shape-stroke-color or mapframe-shape-stroke-colour – Color of outlines of shape features. Default: #ff0000
    • mapframe-stroke-width – Width of line features, and outlines of shape features. Default: 2
      • mapframe-shape-stroke-width – Width of outlines of shape features. Default: 2
      • mapframe-line-stroke-width – Width of line features. Default: 5
    • mapframe-marker – Marker symbol to use for coordinates; see mw:Help:Extension:Kartographer/Icons for options. Default: not specified (i.e. blank)
      • Can also be set to blank to override any default marker symbol
    • mapframe-marker-color or mapframe-marker-colour – Background color for the marker. Default: #5E74F3
    • mapframe-geomask-stroke-color or mapframe-geomask-stroke-colour – Color of outline of geomask shape. Default: #555555
    • mapframe-geomask-stroke-width – Width of outline of geomask shape. Default: 1
    • mapframe-geomask-fill – Color used to fill outside geomask features. Default: #606060
    • mapframe-geomask-fill-opacity – Opacity level of fill outside geomask features, a number between 0 and 1. Default: 0.25
    • mapframe-zoom – Set the zoom level, from "1" (map of earth) to "18" (maximum zoom in), to be used if the zoom level cannot be determined automatically from object length or area. Default: 10
    • mapframe-length_km or mapframe-length_mi or mapframe-area_km2 or mapframe-area_mi2 – Determine zoom level by passing in object's length (in kilometres or miles) or area (in square kilometres or square miles). Default: not specified / not specified / not specified / not specified
    • mapframe-frame-coordinates or mapframe-frame-coord – Alternate latitude and longitude coordinates for initial placement of map, using {{coord}}. Default: derived from item coordinates
    • mapframe-type – Set the type of the object, with the same usage as {{coord}}. Default: landmark
    • mapframe-population – Set the population, useful with type="city", for {{Infobox dim}}. Default: not specified

TemplateData

[edit]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Infobox building in articles based on its TemplateData.

TemplateData for Infobox building

Microformat

[edit]

The HTML markup produced by this template includes an hCard microformat, which makes the place-name and location parsable by computers, either acting automatically to catalogue articles 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.

Sub-templates

[edit]

If the place or venue has "established", "founded", "opened" or similar dates, use {{start date}} for the earliest of those dates unless the date is before 1583 CE.

If it has a URL, use {{URL}}.

Please do not remove instances of these sub-templates.

Classes

[edit]

hCard uses HTML classes including:

  • adr
  • agent
  • category
  • county-name
  • extended-address
  • fn
  • label
  • locality
  • nickname
  • note
  • org
  • region
  • street-address
  • uid
  • 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.

Precision

[edit]

When giving coordinates, please use an appropriate level of precision. Do not use {{coord}}'s |name= parameter.

Tracking categories

[edit]

Redirects

[edit]

See also

[edit]