Template:Infobox building

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
Template documentation[view] [edit] [history] [purge]

{{Infobox building}} may be used to summarize information about a building.

Usage[change source]

{{Infobox building
| name                 = 
| native_name          = 
| native_name_lang     = 
| former_names         = 
| alternate_names      = 
| image                = 
| image_alt            = 
| caption              = 
| map_type             = 
| map_alt              = 
| map_caption          = 
| 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  = 
| latitude             = 
| longitude            = 
| latd                 = 
| latm                 = 
| lats                 = 
| latNS                = 
| longd                = 
| longm                = 
| longs                = 
| longEW               = 
| coordinates          = 
| start_date           = 
| completion_date      = 
| inauguration_date    = 
| renovation_date      = 
| demolition_date      = 
| destruction_date     = 
| height               = 
| diameter             = 
| antenna_spire        = 
| roof                 = 
| top_floor            = 
| other_dimensions     = 
| floor_count          = 
| floor_area           = 
| seating_type         = 
| seating_capacity     = 
| elevator_count       = 
| main_contractor      = 
| architect            = 
| architecture_firm    = 
| structural_engineer  = 
| services_engineer    = 
| civil_engineer       = 
| other_designers      = 
| quantity_surveyor    = 
| awards               = 
| ren_architect        = 
| ren_firm             = 
| ren_str_engineer     = 
| ren_serv_engineer    = 
| ren_civ_engineer     = 
| ren_oth_designers    = 
| ren_qty_surveyor     = 
| ren_awards           = 
| url                  = 
| references           = 
}}

Example[change source]

Law Courts of Brussels
Palais de justice de Bruxelles
Justitiepaleis van Brussel
Building with central cupola and wings with Greek-style columns
Main façade of the Law Courts of Brussels
Lua error in Module:Location_map at line 419: No value was provided for longitude.
General information
Architectural styleEclectic, neoclassical
LocationBrussels, Belgium
CountryBelgium
Elevation2 m (7 ft)
Current tenantsBelgian court
Construction started31 October 1866
Inaugurated15 October 1883
Cost45 million Belgian franc
ClientBelgian government
OwnerBelgian government
Height142 meters
Dimensions
Diameter160 m x 150 m
Technical details
Floor area260,000 m2
Design and construction
ArchitectJoseph Poelaert
Website
example.com
{{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
| 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 = [[Eclecticism in art|Eclectic]], [[Neoclassical architecture|neoclassical]] 
| structural_system   = 
| cost                = 45 million [[Belgian franc]]
| location            = [[Brussels]], [[Belgium]]
| client              = Belgian government
| owner               = [[Belgian federal government|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              = 142 meters
| diameter            = 160 m x 150 m
| other_dimensions    = 
| floor_count         = 
| floor_area          = 260,000 m<sup>2</sup>
| main_contractor     = 
| architect           = [[Joseph Poelaert]]
| structural_engineer = 
| services_engineer   = 
| civil_engineer      = 
| other_designers     = 
| quantity_surveyor   = 
| awards              = 
| url                 = [http://example.com example.com]
| references          = 
}}

Parameters[change source]

  • native_name_lang - 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.

Do not link to an article more than once in the infobox.

Map and coordinates[change source]

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, use coordinates_display=yes. 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 {{Location map}} without duplicating coordinates.

{{Infobox building
...
| coordinates         = <!-- template {{Coord}} if map is not used; empty if map is displayed -->
| coordinates_display = <!-- yes to display coordinates at the top of the page -->
| iso_region          = <!-- to override any automatically determined region code -->
| map_type            = <!-- location from Location map -->
| map_alt             = <!-- Alternative map file name (changes background map, border coordinates are determined based on the map name); this is only recommended for use in templates -->
| map_caption         = <!-- ''map caption''; for no caption enter "caption="; if the parameter is omitted then the caption will be "Marker text (location map name)" -->
...
}}
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 very sensitive to extra whitespace in the parameters:

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

Microformat[change source]

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[change source]

If the place or venue has an "established", "founded", "opened" or similar date, use {{start date}} unless the date is before 1583 CE.

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

Please do not remove instances of these sub-templates.

Classes[change source]

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[change source]

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

Related pages[change source]