Template:Infobox building/doc

From the AARoads Wiki: Read about the road before you go
Jump to navigation Jump to search

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

Usage

{{{name}}}
{{{native_name}}}
{{{logo}}}
{{{logo_caption}}}
{{{image}}}
{{{image_caption}}}
{{{map_caption}}}
Former names{{{former_names}}}
Alternative names{{{alternate_names}}}
Etymology{{{etymology}}}
Hotel chain{{{hotel_chain}}}
General information
Status{{{status}}}
Type{{{building_type}}}
Architectural style{{{architectural_style}}}
Location{{{location}}}
Located along{{{along}}}
Town or city{{{location_city}}}
Country{{{location_country}}}
Coordinates39°59′49″N 78°14′26″W / 39.996944°N 78.240556°W / 39.996944; -78.240556
Current tenants{{{current_tenants}}}
Named for{{{namesake}}}
Year(s) built{{{years_built}}}
Groundbreaking{{{groundbreaking_date}}}
Construction started{{{start_date}}}
Construction stopped{{{stop_date}}}
Completed{{{completion_date}}}
Opened{{{opened_date}}}
Inaugurated{{{inauguration_date}}}
Relocated{{{relocated_date}}}
Renovated{{{renovation_date}}}
Closed{{{closing_date}}}
Demolished{{{demolition_date}}}
Operator{{{operator}}}
Owner{{{owner}}}
Landlord{{{landlord}}}
Affiliation{{{affiliation}}}
Other information
Number of stores{{{number_of_stores}}}
Number of restaurants{{{number_of_restaurants}}}
Number of bars{{{number_of_bars}}}
Facilities{{{facilities}}}
Parking{{{parking}}}
Public transit access{{{public_transit}}}
Website
{{{website}}}
{{{embedded}}}
{{{footnotes}}}
Without logo_size or image_size
{{{logo}}}
{{{logo_caption}}}
{{{image}}}
{{{image_caption}}}

Use as a child template

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

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. -->
  }}
}}

Parameters

Field Name Required Description Values
name yes Name of building wikitext
native_name no name in that country's official language(s), if other than English. wikitext
native_name_lang no ISO 639-2 code use 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.
etymology no Thing (event, person, etc.) the building was named after
status no useful 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
image no Image of the building filename
image_size no The 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:IMGSIZE number (with or without "px")
image_alt
alt
no Alt text for image, see WP:ALT text
image_caption
caption
no Caption for image wikitext (can contain links)
location no Location of the building wikitext (can contain links), e.g., [[w:Joondalup, Western Australia|Joondalup, Western Australia]], [[w:Australia|Australia]], [[w:Las Vegas Strip|Las Vegas Strip]]
address no Address of the building The 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_town no Settlement where the building is located wikitext (can contain links)
location_country no Country where the building is located wikitext (can contain links)
coordinates no Geographic coordinates of location See map and coordinates for details
years_built no Dates of building construction E.g.; 2007{{ndash}}2009
groundbreaking_date no Date of the formal ground breaking, if any E.g.; 25 January 2007
start_date no Date building construction started E.g.; 25 January 2007
stop_date no Date building construction stopped or halted E.g.; 25 January 2007
completion_date no Completion date of construction if know E.g.; 25 January 2007
opened_date no Date of opening E.g.; {{Start date|2007|01|25}}
relocated_date no Date of relocation E.g.; 25 January 2007
inauguration_date no Inauguration date if know E.g.; 25 January 2007
demolition_date no Date building was demolished E.g.; 25 January 2007
destruction_date no Date building was destroyed, generally by a natural event or war E.g.; 25 January 2007
cancelled_date no Date construction was cancelled E.g.; 25 January 2007
cancelled no Was the construction cancelled yes, will set the status if no other status specified
topped_out_date no Date building reached final height E.g.; 25 January 2007
topped_out no Was the final height reached yes, will set the status if no other status specified
architect no Name of original architect wikitext (can contain links)
landlord no Name of current landlord wikitext (can contain links)
owner no Name(s) of current owner(s) wikitext (can contain links)
cost no Construction cost wikitext (can contain links)
height no Generic height parameter For best practice, use {{convert}} in this field.
architectural no CTBUH height to the top of the building For best practice, use {{convert}}.
tip no CTBUH height to the tip of the building For best practice, use {{convert}}.
top_floor no CTBUH height to the floor level of the highest floor For best practice, use {{convert}}.
roof no CTBUH height to the top of the roof For best practice, use {{convert}}.
observatory no Height of observation deck For best practice, use {{convert}}.
antenna_spire no Height of highest point of antenna tower For best practice, use {{convert}}.
floor_area no Gross floor area of the building, expressed as a numerical value For best practice, use {{convert}}.
floor_count no Number of floors expressed as a numerical value
seating_type no
seating_capacity no Numbers of seats available
grounds_area no Area of associated land, in hectares, square metres or equivalent. Use {{Convert}} if appropriate
awards no Listed 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_awards no Listed 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.
parking no Information 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_transit no Information on nearby public transit options
website no Website for building {{URL|url.com.au}}
embed no Embed this infobox into another by using embed=yes
embedded no Other 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
references no Footnotes and citations for information within infobox wikitext (can contain links)

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

highest_region no
highest_reflabel no Override the default reference label 'talleststatus', pointing to the reference marked with {{note label|thatlabel}}.
highest_prev no
highest_start no
highest_end no
highest_next no

Map and coordinates

Simply specify the |lat= and |lon= and a point map will be generated. If the default zoom level (13) is not sufficient, adjust it with |zoom=.

TemplateData

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

TemplateData

Microformat

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

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

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

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

Tracking categories