Infobox building/doc

From Wiki
Jump to: navigation, search

Template:Documentation subpage Template:Lua Template:Esoteric

Template:Tld may be used to summarize information about a building, including skyscrapers, hotels, hostels, performance venues, and shopping centers.

Usage

{{Infobox building
| name                = 
| native_name         = 
| native_name_lang    = 
| former_names        = 
| alternate_names     = 
| status              = 
| image               = 
| image_alt           = 
| image_size          = 
| caption             = 
| map_type            = 
| map_alt             = 
| map_caption         = 
| relief              = 
| altitude            = 
| building_type       = 
| architectural_style = 
| structural_system   = 
| cost                = 
| ren_cost            = 
| client              = 
| owner               = 
| current_tenants     = 
| landlord            = 
| location            = 
| address             = 
| location_town       = 
| location_country    = 
| iso_region          = 
| coordinates_display = 
| coordinates_format  = 
| latitude            = 
| longitude           = 
| latd                = 
| latm                = 
| lats                = 
| latNS               = 
| longd               = 
| longm               = 
| longs               = 
| longEW              = 
| coordinates         = 
| groundbreaking_date = 
| start_date          = 
| completion_date     = 
| opened_date         = 
| inauguration_date   = 
| renovation_date     = 
| demolition_date     = 
| destruction_date    = 
| height              = 
| architectural       = 
| tip                 = 
| antenna_spire       = 
| roof                = 
| top_floor           = 
| observatory         = 
| other_dimensions    = 
| floor_count         = 
| floor_area          = 
| seating_type        = 
| seating_capacity    = 
| elevator_count      = 
| grounds_area        = 
| architect           = 
| architecture_firm   = 
| structural_engineer = 
| services_engineer   = 
| civil_engineer      = 
| other_designers     = 
| quantity_surveyor   = 
| main_contractor     = 
| awards              = 
| designations        = 
| ren_architect       = 
| ren_firm            = 
| ren_str_engineer    = 
| ren_serv_engineer   = 
| ren_civ_engineer    = 
| ren_oth_designers   = 
| ren_qty_surveyor    = 
| ren_awards          = 
| rooms               = 
| parking             = 
| url                 = 
| embedded            = 
| references          = 
}}

Record height

| highest_region      = 
| highest_reflabel    = 
| highest_prev        = 
| highest_start       = 
| highest_end         = 
| highest_next        = 

Hotels, hostels, shopping centers, and performance venues

Seating
| seating_type        =
| seating_capacity    =
Stores
| number_of_stores    =
| number_of_anchors   =
Hotels and hostels
| hotel_chain         =
| affiliation         = 
| number_of_suites    =
| number_of_restaurants =
| number_of_bars      =
| facilities          =

Example

Template:Infobox building

{{Infobox building
| name                = Law Courts of Brussels
| native_name         = {{lang|fr|Palais de justice de Bruxelles}}<br />{{lang|nl|Justitiepaleis van Brussel}}
| image               = Justitiepaleis1.jpg
| image_alt           = Building with central cupola and wings with Greek-style columns
| image_size          = 
| caption             = Main façade of the Law Courts of Brussels
| former_names        = 
| alternate_names     =
| map_type            = Belgium
| map_alt             = 
| map_caption         = Location within Belgium
| building_type       = 
| architectural_style = Eclectic, neoclassical 
| structural_system   = 
| cost                = 45 million Belgian franc
| location            = Brussels, Belgium
| client              = Belgian government
| owner               = Belgian government
| current_tenants     = Belgian court
| landlord            = 
| location_country    = Belgium
| latd                = 50
| latm                = 50
| lats                = 12
| latNS               = N
| longd               = 4
| longm               = 21
| longs               = 6
| longEW              = E
| altitude            = {{convert|2|m|ft|0|abbr=on}}
| start_date          = 31 October 1866
| completion_date     = 
| inauguration_date   = 15 October 1883
| demolition_date     = 
| height              = {{convert|142|m|ft|abbr=on}}
| diameter            = {{convert|160|x|150|m|ft|0|abbr=on}}
| other_dimensions    = 
| floor_count         = 
| floor_area          = {{convert|260000|m2|sqft|abbr=on}}
| architect           = Joseph Poelaert
| structural_engineer = 
| services_engineer   = 
| civil_engineer      = 
| other_designers     = 
| quantity_surveyor   = 
| main_contractor     = 
| awards              =
| parking             =
| url                 = {{URL|example.com}}
| references          = 
}}

Template:-

Parameters

Field Name Required Description Values
name yes Name of building wikitext
native_name no Name of building in native language 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 Template:Tl, instead.
status no useful to show the construction status of new buildings. The keywords to the right can be used to produce the appropriate colored 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.
  • Note, if anything else is included in this field, like reference tags, the color coded status will not be displayed.
image no Image of the building filename
caption no Caption for image wikitext (can contain links)
location no Location of the building wikitext (can contain links) E.g.;Joondalup, Western Australia, Australia, 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)
iso_region no ISO region code where the building is located wikitext (can contain links)
latd, latm, lats, latNS
longd, longm, longEW
no Geographic coordinates of location See map and coordinates for details
coordinates_display no Option for Template:Tl Use any nonblank value to display in title
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
completion_date no Completion date of construction if know E.g.; 25 January 2007
opened_date no Date of opening 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
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)
floor_area no Gross floor area of the building, expressed as a numerical value For best practice, use Template:Tl in this field.
top_floor no Number of the highest floor expressed as a numerical value
floor_count no Number of floors expressed as a numerical value
grounds_area no Area of associated land, in hectares, square metres or equivalent. Use Template:Tl 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 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 parking
url no URL {{URL|url.com.au}}
embedded no Embed another infobox with such capability like Template:Tl and Template:Tl the code of the embedded template
references no Footnotes and citations for information within infobox wikitext (can contain links)

Notes: Do not link to an 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 Template:Tlp.
highest_prev no
highest_start no
highest_end no
highest_next no

Map and coordinates

It's usually not necessary to use the coordinates= parameter.

  • The latitude and longitude of the building may be specified:
    • in decimal degrees, using latitude= and longitude= OR
    • in degrees/minutes/seconds, using latd=, latm=, lats=, latNS=, longd=, longm=, longs=, and longEW=.
  • To display coordinates at the top of the page, set coordinates_display= to any non-blank value. Otherwise coordinates will appear in the infobox only.
  • The ISO 3166-1 alpha-2 or ISO 3166-2 region code can often be determined automatically, based on the location_country= parameter.
    • To override the automatic value, use the iso_region= parameter.

One advantage of omitting the coordinates= parameter is that you can display a Template:Tl without duplicating coordinates.

{{Infobox building
...
| coordinates         = <!-- Template {{Coord}} if map is not used; empty if map is displayed. -->
| coordinates_display = <!-- non-blank to display coordinates at the top of the page. -->
| iso_region          = <!-- To override any automatically determined region code. -->
| map_type            = <!-- Location name used for Template:Location map -->
| map_alt             = <!-- Alternative text for map image, see WP:ALT for details -->
| map_caption         = <!-- Text to be displayed below map; for no caption enter "map_caption="; if the parameter is omitted then the caption will be "Marker text (location map name)" -->
| relief              = <!-- Any non-blank value (yes, 1, etc.) will cause the template to display a relief map image, where available. -->
...
}}
Parameters to specify coordinates in degrees, minutes, and seconds of arc:
{{Infobox building
...
| latd   = <!-- ''latitude'' degrees -->
| latm   = <!-- ''latitude'' minutes -->
| lats   = <!-- ''latitude'' seconds -->
| latNS  = <!-- latitude: S=south, N=north (default) -->
| longd  = <!-- ''longitude'' degrees -->
| longm  = <!-- ''longitude'' minutes -->
| longs  = <!-- ''longitude'' seconds -->
| longEW = <!-- longitude: W=west, E=east (default) -->
...
}}
Parameters to specify coordinates in decimal degrees:
{{Infobox building
...
| latitude  = <!-- ''latitude'' (decimal format; enter negative numbers for southern latitude) -->
| longitude = <!-- ''longitude'' (decimal format; enter negative numbers for western longitude) --> 
...
}}

Note: coordinates in decimal degrees are sensitive to extra whitespace in the parameters:

  • Incorrect: | longitude = - 123.45
  • Correct: | longitude = -123.45

Microformat

Template:UF-hcard-geo

TemplateData

<templatedata> { "description": "This template may be used to summarise information about a building. See template documentation for more information.", "params": { "name": {"label": "name","description": "Name of building","type": "string","required": true}, "native_name": {"label": "Native name","description": "Name of building in native language","type": "string","required": false}, "native_name_lang": {"label": "Native name language","description": "ISO 639-2 code","type": "string","required": false}, "former_names": {"label": "Former names","description": "Former names","type": "string","required": false}, "alternate_names": {"label": "Alternate names","description": "Alternate names","type": "string","required": false}, "status": {"label": "status","description": "useful to show the construction status of new buildings. The keywords to the right can be used to produce the appropriate colored status:","type": "string","required": false}, "image": {"label": "image","description": "Image of the building","type": "string","required": false}, "image_alt": {"label": "Image text","description": "Text to display if image cannot be shown","type": "string","required": false}, "image_size": {"label": "Image size","description": "Image size","type": "number","required": false}, "caption": {"label": "caption","description": "Caption for image","type": "string","required": false}, "location": {"label": "location","description": "Location of the building","type": "string","required": false}, "address": {"label": "address","description": "Address of the building","type": "string","required": false}, "location_town": {"label": "location_town","description": "Settlement where the building is located","type": "string","required": false}, "location_country": {"label": "location_country","description": "Country where the building is located","type": "string","required": false}, "iso_region": {"label": "iso_region","description": "ISO region code where the building is located","type": "string","required": false}, "coordinates_format": {"label": "coordinates_format","description": "coordinates_format","type": "string","required": false}, "latitude": {"label": "latitude (decimal)","description": "latitude","type": "string","required": false}, "longitude": {"label": "longitude (decimal)","description": "longitude","type": "string","required": false}, "coordinates": {"label": "coordinates","description": "coordinates","type": "string","required": false}, "latd": {"label": "Latitude degrees","description": "Geographic coordinates of location.","type": "string","required": false}, "latm": {"label": "Latitude minutes","description": "Geographic coordinates of location","type": "string","required": false}, "lats": {"label": "Latitude seconds","description": "Geographic coordinates of location","type": "string","required": false}, "latNS": {"label": "Latitude N/S","description": "Geographic coordinates of location","type": "string","required": false}, "longd": {"label": "Longitude degrees","description": "Geographic coordinates of location","type": "string","required": false}, "longm": {"label": "Longitude minutes","description": "Geographic coordinates of location","type": "string","required": false}, "longEW": {"label": "Longitude E/W","description": "Geographic coordinates of location","type": "string","required": false}, "coordinates_display": {"label": "coordinates_display","description": "Option for Template:Coord","type": "string","required": false}, "groundbreaking_date": {"label": "groundbreaking_date","description": "Date of the formal ground breaking, if any","type": "string","required": false}, "start_date": {"label": "start_date","description": "Date building construction started","type": "string","required": false}, "completion_date": {"label": "completion_date","description": "Completion date of construction if know","type": "string","required": false}, "opened_date": {"label": "opened_date","description": "Date of opening","type": "string","required": false}, "inauguration_date": {"label": "inauguration_date","description": "Inauguration date if know","type": "string","required": false}, "demolition_date": {"label": "demolition_date","description": "Date building was demolished","type": "string","required": false}, "destruction_date": {"label": "destruction_date","description": "Date building was destroyed, generally by a natural event or war","type": "string","required": false}, "architect": {"label": "architect","description": "Name of original architect","type": "string","required": false}, "landlord": {"label": "landlord","description": "Name of current landlord","type": "string","required": false}, "owner": {"label": "owner","description": "Name(s) of current owner(s)","type": "string","required": false}, "cost": {"label": "cost","description": "Construction cost","type": "string","required": false}, "floor_area": {"label": "floor_area","description": "Gross floor area of the building, expressed as a numerical value","type": "string","required": false}, "top_floor": {"label": "top_floor","description": "Number of the highest floor expressed as a numerical value","type": "string","required": false}, "floor_count": {"label": "floor_count","description": "Number of floors expressed as a numerical value","type": "string","required": false}, "awards": {"label": "awards","description": "listed awards should meet the notability criteria for its own non-redirectarticle 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.","type": "string","required": false}, "ren_awards": {"label": "ren_awards","description": "listed awards should meet the notability criteria for its own non-redirectarticle 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.","type": "string","required": false}, "parking": {"label": "parking","description": "parking","type": "string","required": false}, "url": {"label": "url","description": "URL","type": "string","required": false}, "embedded": {"label": "embedded","description": "Embed another infobox with such capability like Template:Designation list and Template:Infobox NRHP","type": "string","required": false}, "references": {"label": "references","description": "Footnotes and citations for information within infobox","type": "string","required": false}, "highest_region": {"label": "highest_region","description": "","type": "string","required": false}, "highest_reflabel": {"label": "highest_reflabel","description": "Override the default reference label 'talleststatus', pointing to the reference marked with Template:Note label.","type": "string","required": false}, "highest_prev": {"label": "highest_prev","description": "","type": "string","required": false}, "highest_start": {"label": "highest_start","description": "","type": "string","required": false}, "highest_end": {"label": "highest_end","description": "","type": "string","required": false}, "highest_next": {"label": "highest_next","description": "","type": "string","required": false}, "map_type": {"label": "map_type","description": "map_type","type": "string","required": false}, "map_alt": {"label": "map_alt","description": "Text to display if the map image cannot be shown","type": "string","required": false}, "map_caption": {"label": "Map caption","description": "map caption","type": "string","required": false}, "relief": {"label": "relief","description": "relief","type": "string","required": false}, "altitude": {"label": "altitude","description": "altitude","type": "string","required": false}, "building_type": {"label": "building_type","description": "building_type","type": "string","required": false}, "architectural_style": {"label": "architectural_style","description": "architectural_style","type": "string","required": false}, "structural_system": {"label": "structural_system","description": "structural_system","type": "string","required": false}, "ren_cost": {"label": "ren_cost","description": "ren_cost","type": "string","required": false}, "client": {"label": "client","description": "client","type": "string","required": false}, "current_tenants": {"label": "current_tenants","description": "current_tenants","type": "string","required": false}, "renovation_date": {"label": "renovation_date","description": "renovation_date","type": "string","required": false}, "height": {"label": "height","description": "height","type": "string","required": false}, "architectural": {"label": "architectural","description": "architectural","type": "string","required": false}, "tip": {"label": "tip","description": "tip","type": "string","required": false}, "antenna_spire": {"label": "antenna_spire","description": "antenna_spire","type": "string","required": false}, "roof": {"label": "roof","description": "roof","type": "string","required": false}, "observatory": {"label": "observatory","description": "observatory","type": "string","required": false}, "other_dimensions": {"label": "other_dimensions","description": "other_dimensions","type": "string","required": false}, "seating_type": {"label": "seating_type","description": "seating_type","type": "string","required": false}, "seating_capacity": {"label": "seating_capacity","description": "seating_capacity","type": "string","required": false}, "elevator_count": {"label": "elevator_count","description": "elevator_count","type": "string","required": false}, "architecture_firm": {"label": "architecture_firm","description": "architecture_firm","type": "string","required": false}, "structural_engineer": {"label": "structural_engineer","description": "structural_engineer","type": "string","required": false}, "services_engineer": {"label": "services_engineer","description": "services_engineer","type": "string","required": false}, "civil_engineer": {"label": "civil_engineer","description": "civil_engineer","type": "string","required": false}, "other_designers": {"label": "other_designers","description": "other_designers","type": "string","required": false}, "quantity_surveyor": {"label": "quantity_surveyor","description": "quantity_surveyor","type": "string","required": false}, "main_contractor": {"label": "main_contractor","description": "main_contractor","type": "string","required": false}, "designations": {"label": "designations","description": "designations","type": "string","required": false}, "ren_architect": {"label": "ren_architect","description": "Architect for the building's renovation","type": "string","required": false}, "ren_firm": {"label": "ren_firm","description": "Company that renovated the building","type": "string","required": false}, "ren_str_engineer": {"label": "ren_str_engineer","description": "Structural engineer for the building's renovation","type": "string","required": false}, "ren_serv_engineer": {"label": "ren_serv_engineer","description": "Service engineer for the building's renovation","type": "string","required": false}, "ren_civ_engineer": {"label": "ren_civ_engineer","description": "Civil engineer for the building's renovation","type": "string","required": false}, "ren_oth_designers": {"label": "ren_oth_designers","description": "Other designers for the building's renovation","type": "string","required": false}, "ren_qty_surveyor": {"label": "ren_qty_surveyor","description": "Quantity surveyor for the building's renovation","type": "string","required": false}, "rooms": {"label": "rooms","description": "How many rooms the building has","type": "number","required": false} } } </templatedata>

See also