This is the template sandbox page for Template:Infobox convention center (diff). See also the companion subpage for test cases. |
This template uses Lua: |
Usage
edit{{{name}}} | |
---|---|
[[File:{{{image}}}|{{{image_size}}}|alt={{{image_alt}}}]] | |
Address | {{{address}}} |
Location | {{{location}}} |
Coordinates | 0°N 0°E / 0°N 0°E |
Owner | {{{owner}}} |
Operator | {{{operator}}} |
Built | {{{built}}} |
Inaugurated | {{{inaugurated}}} |
Renovated | {{{renovated}}} |
Opened | {{{opened}}} |
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}}} |
- Full syntax
{{Infobox convention center
| name =
| logo =
| logo_size =
| logo_alt =
| image =
| image_size =
| image_alt =
| image_caption =
| image2 =
| image2_size =
| image2_alt =
| image2_caption =
| image_map =
| map_dot_label =
| map_type =
| map_alt =
| map_caption =
| map_size =
| address =
| location =
| coordinates = <!-- {{Coord|}} -->
| owner =
| operator =
| built =
| architect =
| inaugurated =
| opened =
| renovated =
| expanded =
| closed =
| demolished =
| construction_cost =
| former_names =
| classroom_cap =
| meeting_cap =
| banquets =
| theatre =
| total_space =
| exhibit =
| breakout =
| ballroom =
| parking =
| bicycle =
| publictransit =
| tenants =
| website =
}}
Parameters
editParameter | 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 250px. |
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:
|
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
editMapframe map
edit- Basic parameters:
- mapframe – Specify yes or no to show or hide the map, overriding the default. Default: no
- 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, the subsequent 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-coordinates or mapframe-coord or coordinates or coord – Coordinates to use, instead of any on Wikidata. Use the {{Coord}} template, e.g.
|coord=
. Default: coordinates from Wikidata{{Coord|12.34|N|56.78|E}}
- mapframe-wikidata – Set to
yes
to show shape/line features from the wikidata item, if any, when|coord=
is set. Default: not specified
- Customise which features are displayed:
- mapframe-shape – Turn off display of shape feature by setting to
none
. Use an inverse shape (geomask) instead of a regular shape by setting toinverse
. Default: not specified - mapframe-point – Turn off display of point feature by setting to
none
. Force point marker to be displayed by setting toon
. Default: not specified - mapframe-line – Turn off display of line feature by setting to
none
. 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
orgeomasks
orzooms
to enable Template:Switcher-style switching between multiple mapframes. Default: not specifiedauto
– 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 parameterzooms
– switch between "zoomed in"/"zoomed midway"/"zoomed out", where "zoomed in" is the default zoom (with a minimum of3
), "zoomed out" is1
, and "zoomed midway" is the average
- mapframe-shape – Turn off display of shape feature by setting to
- 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.5
- mapframe-stroke-color or mapframe-stroke-colour – Color of line features, and outlines of shape features. Default: #ff0000
- mapframe-stroke-width – Width of line features, and outlines of shape features; default is "5". 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
- Can also be set to
- 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: 2
- 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.5
- 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
- mapframe-frame-coordinates or mapframe-frame-coord – Alternate latitude and longitude coordinates for initial placement of map, using {{coord}}. Default: derived from item coordinates
Location map
editSee {{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
editA 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
editBournemouth International Centre | |
---|---|
Address | Exeter Road, Bournemouth, England, BH2 5BH, United Kingdom |
Coordinates | 50°43′00″N 001°52′41″W / 50.71667°N 1.87806°W |
Owner | Bournemouth Borough Council |
Operator | BH Live |
Inaugurated | 6 September 1984 |
Opened | 16 August 1984 |
Renovated | 2004 |
Construction cost | £19.5 million (£83.1 million in 2023 pounds[1]) |
Classroom-style seating | 10-50 |
Banquet/ballroom | 200-2,500 |
Theatre seating | 1,100-4,045 |
Enclosed space | |
• Total space | 6,982 square metres (75,150 sq ft) |
• Exhibit hall floor | 1,973 square metres (21,240 sq ft) |
• Breakout/meeting | 1,000 square metres (11,000 sq ft) |
• Ballroom | 2,748 square metres (29,580 sq ft) |
Parking | 650 spaces |
Website | |
www |
{{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}}
}}
- ^ 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 May 7, 2024.
TemplateData
editTemplateData for Infobox convention center
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Name | name | The name of the convention center in English. | String | suggested |
Image | image | The name of image file, such as Convention center.png or Logo.gif (do not include the File: or Image: prefix). | Page name | suggested |
Image size | image_size | The image width in pixels, i.e., 175 (defaults to 250 if not specified). | Number | optional |
Image Alternative | image_alt | Alternative text for the images. | String | optional |
Caption | image_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. | String | optional |
Address | address | The venue's address, city, state/province, country. | String | suggested |
Location | location | The venue's city, state/province, country Note:The location and address are not always the same. | String | optional |
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. | String | suggested |
Operator | operator | Name(s) of the center's operator or management company. | String | optional |
Built | built | The date range when the structure was under construction, usually given in years. | Line | optional |
Inaugurated | inaugurated | The date when it was officially inaugurated. | String | optional |
Renovated | renovated | The date when it was renovated. | String | optional |
Expanded | expanded | The date when it was expanded. | String | optional |
Opened | opened | The date when it was opened. Use {{start date}}. | String | suggested |
Closed | closed | The date when it was closed. Use {{end date}}. | String | optional |
Demolished | demolished | The date it was demolished. | String | optional |
Construction cost | construction_cost | The construction cost of the venue. | String | optional |
Former name(s) | former_names | Any former names for the venue. Use the following format: FormerName (Year - Year). | String | optional |
Classroom cap | classroom_cap | The seating capacity for classes. If multiple rooms, list range like 43-975. | String | optional |
Meeting Cap | meeting_cap | The seating capacity for meetings. If multiple rooms, list range like 43-975. | String | optional |
Banquets | banquets | The seating capacity for banquets. If multiple rooms, list range like 43-975. | String | optional |
Theatre | theatre | The seating capacity for the theatre. If multiple theatres list range like 43-975. | String | optional |
Total space | total space | The total space of the venue, use {{convert}}. | String | optional |
Exhibit space | exhibit | The total floor space of the exhibit hall(s), use {{convert}}. | String | optional |
Breakout space | breakout | The floor space of breakout/meeting rooms, using {{convert}} and/or number of meeting rooms. | String | optional |
Ballroom space | ballroom | The floor space of the ballroom(s), use {{convert}} and/or number of ballrooms. | String | optional |
Parking | parking | Information on center's parking facilities. | String | optional |
Bicycle | bicycle | Information on center's bicycle facilities. | String | optional |
Public transit | publictransit | The nearest public transport spot. | Number | optional |
Website | website | External link to the convention center's official website. | String | suggested |
Coordinates | coordinates | Latitude and Longitude of venue, specified using the {{Coord}} template | String | suggested |
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 name | optional |
Image Mapsize | image_mapsize | The width to display the image map, in pixels. Just the number, no "px". If omitted or left empty, defaults to 250. | Number | optional |
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. | String | optional |
Image Map Caption | image_map_caption | Caption to display below the image map. If left blank or omitted, a caption will not be displayed. | String | optional |
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. | String | optional |
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 250. | Number | optional |
Pushpin Map Alternative | pushpin_map_alt | Alt text for the pushpin map. | String | optional |
Pushpin Map Caption | pushpin_map_caption | Caption to display below the pushpin map. If left blank or omitted, a caption will not be displayed. | String | optional |
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. | String | optional |
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 name | optional |
Pushpin Label | pushpin_label | The text of the label to place next to the pushpin mark . The default is the value of the name parameter. | String | optional |
Pushpin Label Position | pushpin_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. | String | optional |
Pushpin Mark | pushpin_mark | The name of an image to display as the pushpin mark. | String | optional |
Pushpin Marksize | pushpin_marksize | The size of the mark in pixels. | Number | optional |
architect | architect | no description | Unknown | optional |
tenants | tenants | no description | Unknown | optional |
Microformat
editThe 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
editIf 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
edithCard 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
editWhen giving coordinates, please use an appropriate level of precision. Do not use {{coord}}'s |name=
parameter.