Template:Infobox convention center/doc

From IxWiki
Jump to navigation Jump to search

Usage

{{{name}}}
[[File:{{{logo}}}|{{{logo_size}}}|alt={{{logo_alt}}}]]
[[File:{{{image}}}|{{{image_size}}}|alt={{{image_alt}}}]]
{{{image_caption}}}
[[File:{{{image_map}}}|{{{map_size}}}|alt={{{map_alt}}}]]
{{{map_caption}}}
Lua error in Module:Infobox_mapframe at line 137: attempt to call field '_main' (a nil value).
Address{{{address}}}
Location{{{location}}}
Coordinates{{{coordinates}}}
Owner{{{owner}}}
Operator{{{operator}}}
Built{{{built}}}
Inaugurated{{{inaugurated}}}
Opened{{{opened}}}
Renovated{{{renovated}}}
Expanded{{{expanded}}}
Closed{{{closed}}}
Demolished{{{demolished}}}
Construction cost
{{{construction_cost}}}
Former names
{{{former_names}}}
Classroom-style seating
{{{classroom_cap}}}
Meeting-room seating
{{{meeting_cap}}}
Banquet/ballroom{{{banquets}}}
Theatre seating
{{{theatre}}}
Enclosed space
 • Total space{{{total_space}}}
 • Exhibit hall floor{{{exhibit}}}
 • Breakout/meeting{{{breakout}}}
 • Ballroom{{{ballroom}}}
Parking{{{parking}}}
Bicycle facilities
{{{bicycle}}}
Public transit access{{{publictransit}}}
Website
{{{website}}}
{{Infobox convention center
| name              = 
| logo              = 
| logo_size         = 
| logo_alt          = 
| image             = 
| image_size        = 
| image_alt         = 
| image_caption     = 
| image_map         = 
| map dot label     = 
| map_alt           = 
| map_caption       = 
| map_size          = 
| address           = 
| location          = 
| coordinates       = {{coord}}
| owner             = 
| operator          = 
| built             = 
| inaugurated       = 
| opened            = 
| renovated         = 
| expanded          = 
| closed            = 
| demolished        = 
| construction_cost = 
| former_names      = 
| classroom_cap     = 
| meeting_cap       = 
| banquets          = 
| theatre           = 
| total_space       = 
| exhibit           = 
| breakout          = 
| ballroom          = 
| parking           = 
| bicycle           = 
| publictransit     = 
| website           = 
}}

Parameters

Parameter Explanation
name Insert the name of the convention center
logo Logo of the facility
image Insert an image link in the form: Example.jpg.
image_size Image width in pixels. Default is 220px.
image_alt See WP:Alternative text for images.
image_caption Insert a caption for the stadium image
address Insert the venue's address, city, state/province, country
location Insert the venue's city, state/province, country Note:The location and address are not always the same
coordinates Insert the geographical coordinates, using {{coord}}. Example:{{coord|12|34|12|N|45|33|45|W|type:landmark_region:US|format=dms}}
owner Insert the name(s) of the center's owner(s)
NOTE: Do not confuse this field with the center's sponsor. For example, Toyota Pavilion at Montage Mountain in not owned by Toyota.
operator Insert the name(s) of the center's operator or management company, e.g. SMG
built Insert a date range of when the venue was under construction
inaugurated Insert the date when it was officially inaugurated
renovated Insert the date when it was renovated
expanded Insert the date when it was expanded
opened Insert the date when it opened
closed Insert the date when it was closed
demolished Insert the date when it was demolished
construction_cost Insert the construction cost of the venue
former_names Insert the venue's former name(s) in the following format:

FormerName (Year–Year)

classroom_cap The seating capacity for classes. If multiple rooms list range like 43-975.
meeting_cap The seating capacity for meetings. If multiple rooms list range like 43-975.
banquets The seating capacity for banquets. If multiple rooms list range like 43-975.
theatre The seating capacity for the theatre. If multiple theatres list range like 43-975.
total space The total space using {{convert}}.
exhibit The floor space of exhibit hall(s) using {{convert}}.
breakout The floor space of breakout/meeting rooms using {{convert}} and/or number of meeting rooms (10 rooms).
ballroom The floor space of the ballroom(s) using {{convert}} and/or number of ballrooms (10 rooms).
parking Information on center's parking facilities.
bicycle Information on center's bicycle facilities.
publictransit The nearest public transport stop.
Example: [[Roosevelt/State (CTA)|Roosevelt Station]]
website Insert link to the convention center's official website in the following format: {{URL|example.com}}

Map and coordinates

Mapframe map

A Mapframe map is automatically included if:

  • There are coordinates specified on the page's Wikidata item
  • It has not been turned off by setting |mapframe=no

The following optional parameters can then be used to adjust the map

  • |mapframe-zoom= zoom level (default is 10)
  • |mapframe-width= and |mapframe-height= for the map size (defaults are 270 and 200)
  • |mapframe-marker= for the marker icon (default is no icon)
  • either |mapframe-marker-color= or |mapframe-marker-colour= for the marker colour (hex triplet, default is #5E74F3)
  • either |mapframe-stroke-color= or |mapframe-stroke-colour= for the stroke colour (hex triplet, default is #FF0000)
  • |mapframe-caption= caption below the map
  • |mapframe-lat= and |mapframe-long= (or |mapframe-latitude= and |mapframe-longitude=) – alternate initial latitude and longitude for the map, instead of the convention center's coordinates. Specify as a decimal number.

Location map

See {{coord}} for details on how to modify the display of coordinates.

{{Infobox convention center
...
| coordinates         = <!-- Template {{Coord}} if map is not used; empty if map is displayed. -->
| 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. -->
...
}}
Map type

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

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

Example

Bournemouth International Centre
Exterior of the Bournemouth International Centre, April 2008
Lua error in Module:Infobox_mapframe at line 137: attempt to call field '_main' (a nil value).
AddressExeter Road, Bournemouth, England, BH2 5BH, United Kingdom
CoordinatesLua error: callParserFunction: function "#coordinates" was not found.
OwnerBournemouth Borough Council
OperatorBH Live
Inaugurated6 September 1984
Opened16 August 1984 (1984-08-16)
Renovated2004
Construction cost
£19.5 million (£66.3 million in 2019 pounds[1])
Classroom-style seating
10-50
Banquet/ballroom200-2,500
Theatre seating
1,100-4,045
Enclosed space
 • Total space6,982 square metres (75,150 sq ft)
 • Exhibit hall floor1,973 square metres (21,240 sq ft)
 • Breakout/meeting1,000 square metres (11,000 sq ft)
 • Ballroom2,748 square metres (29,580 sq ft)
Parking650 spaces
Website
www.bic.co.uk
{{Infobox convention center
| name             = Bournemouth International Centre
| image            = BournemouthIC.jpg
| image_caption    = Exterior of the Bournemouth International Centre, April 2008
| address          = {{mf-adr
 |street = Exeter Road
 |city   = [[Bournemouth]]
 |region = England
 |pocode = BH2 5BH
 |nation = United Kingdom
 }}
| location         = 
| coordinates      = {{coord|50|43|00|N|001|52|41|W|type:landmark|display=inline<!--,title-->}}
| owner            = [[Bournemouth Borough Council]]
| operator         = BH Live
| built            = 
| inaugurated      = 6 September 1984
| renovated        = 2004
| opened           = {{Start date|1984|08|16|df=yes}}
| closed           = 
| demolished       = 
| construction_cost= [[Pound sterling|£]]19.5 million <small>(£{{Format price|{{Inflation|UK|19500000|1983}}}} in {{Inflation/year|UK}} pounds{{inflation/fn|UK}})</small>
| former_names     = 
| classroom_cap    = 10-50
| banquets         = 200-2,500
| theatre          = 1,100-4,045
| total_space      = {{convert|6982|m2|sqft}}
| exhibit          = {{convert|1973|m2|sqft}}
| breakout         = {{convert|1000|m2|sqft}}
| ballroom         = {{convert|2748|m2|sqft}}
| parking          = 650 spaces
| website          = {{URL|www.bic.co.uk}}
}}
  1. UK Retail Price Index inflation figures are based on data from Clark, Gregory (2017). "The Annual RPI and Average Earnings for Britain, 1209 to Present (New Series)". MeasuringWorth. Retrieved February 2, 2020.

TemplateData

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

TemplateData for Infobox convention center

No description.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Namename

The name of the convention center in English.

Stringsuggested
Image image

The name of image file, such as Convention center.png or Logo.gif (do not include the File: or Image: prefix).

Page namesuggested
Image size image_size

The image width in pixels, i.e., 175 (defaults to 220 if not specified).

Numberoptional
Image Alternativeimage_alt

Alternative text for the images.

Stringoptional
Captionimage_caption

Text displayed beneath the image. If left blank or omitted, a caption will not be displayed. This should only be used for photographs that require an explanation; it should be omitted for venue logos and may be omitted for building photographs.

Stringoptional
Address address

The venue's address, city, state/province, country.

Stringsuggested
Locationlocation

The venue's city, state/province, country Note:The location and address are not always the same.

Stringoptional
Owner owner

Name(s) of the center's owner(s). NOTE: Do not confuse this field with the center's sponsor. For example, Toyota Pavilion at Montage Mountain in not owned by Toyota.

Stringsuggested
Operator operator

Name(s) of the center's operator or management company.

Stringoptional
Built built

The date range when the structure was under construction, usually given in years.

Lineoptional
Inaugurated inaugurated

The date when it was officially inaugurated.

Stringoptional
Renovatedrenovated

The date when it was renovated.

Stringoptional
Expanded expanded

The date when it was expanded.

Stringoptional
Opened opened

The date when it was opened. Use {{start date}}.

Stringsuggested
Closed closed

The date when it was closed. Use {{end date}}.

Stringoptional
Demolished demolished

The date it was demolished.

Stringoptional
Construction cost construction_cost

The construction cost of the venue.

Stringoptional
Former name(s) former_names

Any former names for the venue. Use the following format: FormerName (Year - Year).

Stringoptional
Classroom cap classroom_cap

The seating capacity for classes. If multiple rooms, list range like 43-975.

Stringoptional
Meeting Cap meeting_cap

The seating capacity for meetings. If multiple rooms, list range like 43-975.

Stringoptional
Banquets banquets

The seating capacity for banquets. If multiple rooms, list range like 43-975.

Stringoptional
Theatre theatre

The seating capacity for the theatre. If multiple theatres list range like 43-975.

Stringoptional
Total spacetotal space

The total space of the venue, use {{convert}}.

Stringoptional
Exhibit spaceexhibit

The total floor space of the exhibit hall(s), use {{convert}}.

Stringoptional
Breakout spacebreakout

The floor space of breakout/meeting rooms, using {{convert}} and/or number of meeting rooms.

Stringoptional
Ballroom space ballroom

The floor space of the ballroom(s), use {{convert}} and/or number of ballrooms.

Stringoptional
Parking parking

Information on center's parking facilities.

Stringoptional
Bicycle bicycle

Information on center's bicycle facilities.

Stringoptional
Public transit publictransit

The nearest public transport spot.

Numberoptional
Website website

External link to the convention center's official website.

Stringsuggested
Coordinatescoordinates

Latitude and Longitude of venue, specified using the {{Coord}} template

Stringsuggested
Image Map image_map

The name of an image to use as a map, such as Airport_map.png (do not include the File: or Image: prefix).

Page nameoptional
Image Mapsizeimage_mapsize

The width to display the image map, in pixels. Just the number, no "px". If omitted or left empty, defaults to 220.

Numberoptional
Image Map Alternative image_map_alt

Alt text for the image map. If left blank or omitted, this defaults to same text used in image_map_caption (or Location of {{{name}}} if no caption.

Stringoptional
Image Map Caption image_map_caption

Caption to display below the image map. If left blank or omitted, a caption will not be displayed.

Stringoptional
Pushpin Map pushpin_map

The name of a location map as per Template:Location map (eg. Indonesia or Russia). The coordinate field positions a pushpin mark and label on the map automatically.

Stringoptional
Pushpin Mapsize pushpin_mapsize

The width to display the pushpin map, in pixels. Just the number, without "px". If omitted or left empty, defaults to 220.

Numberoptional
Pushpin Map Alternative pushpin_map_alt

Alt text for the pushpin map.

Stringoptional
Pushpin Map Caption pushpin_map_caption

Caption to display below the pushpin map. If left blank or omitted, a caption will not be displayed.

Stringoptional
Pushpin Relief pushpin_relief

Any non-blank value (yes, 1, etc.) will cause the template to display a relief map image, where available (see example 1). For additional information, see Template:Location map#Relief parameter.

Stringoptional
Pushpin Image pushpin_image

Name of an alternative map image, which must have the same edge coordinates as the location map template specified via pushpin_map.

Page nameoptional
Pushpin Labelpushpin_label

The text of the label to place next to the pushpin mark . The default is the value of the name parameter.

Stringoptional
Pushpin Label Positionpushpin_label_position

The position of the label on the pushpin map relative to the pushpin mark (see example 5). Valid values are left, right, top and bottom. 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.

Stringoptional
Pushpin Mark pushpin_mark

The name of an image to display as the pushpin mark.

Stringoptional
Pushpin Marksizepushpin_marksize

The size of the mark in pixels.

Numberoptional

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.

See also