Template:Infobox convention center/doc: Difference between revisions
m (syntaxhighlight lang="wikitext") |
m (1 revision imported) |
(No difference)
|
Latest revision as of 03:07, 15 February 2024
File:Edit-copy green.svg | This is a documentation subpage for Template:Terminate sentence It may contain usage information, categories and other content that is not part of the original template page. |
File:Lua-Logo.svg | This template uses Lua: |
Usage
{{{name}}} | |
---|---|
[[File:{{{logo}}}|{{{logo_size}}}|alt={{{logo_alt}}}]] | |
[[File:{{{image}}}|{{{image_size}}}|alt={{{image_alt}}}]] | |
[[File:{{{image2}}}|{{{image2_size}}}|alt={{{image2_alt}}}]] | |
[[File:{{{image_map}}}|{{{map_size}}}|alt={{{map_alt}}}]] | |
Lua error in Module:Infobox_mapframe at line 185: attempt to index field 'wikibase' (a nil value). | |
Address | {{{address}}} |
Location | {{{location}}} |
Coordinates | Lua error: callParserFunction: function "#coordinates" was not found. |
Owner | {{{owner}}} |
Operator | {{{operator}}} |
Built | {{{built}}} |
Architect | {{{architect}}} |
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}}} |
Tenants | |
{{{tenants}}} | |
Website | |
{{{website}}} |
- Full syntax
<syntaxhighlight lang="wikitext" style="overflow:auto;">
Lua error in Module:Infobox_mapframe at line 185: attempt to index field 'wikibase' (a nil value). | |
Enclosed space |
---|
</syntaxhighlight>
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 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
Mapframe map
- 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 <syntaxhighlight lang="text" class="" id="" style="" inline="1">yes</syntaxhighlight> 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 <syntaxhighlight lang="text" class="" id="" style="" inline="1">none</syntaxhighlight>. Use an inverse shape (geomask) instead of a regular shape by setting to <syntaxhighlight lang="text" class="" id="" style="" inline="1">inverse</syntaxhighlight>. Default: not specified
- mapframe-point – Turn off display of point feature by setting to <syntaxhighlight lang="text" class="" id="" style="" inline="1">none</syntaxhighlight>. Force point marker to be displayed by setting to <syntaxhighlight lang="text" class="" id="" style="" inline="1">on</syntaxhighlight>. Default: not specified
- mapframe-line – Turn off display of line feature by setting to <syntaxhighlight lang="text" class="" id="" style="" inline="1">none</syntaxhighlight>. 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 Lua error in Module:Wd at line 621: attempt to index field 'wikibase' (a nil value). (P17),P131
for Lua error in Module:Wd at line 621: attempt to index field 'wikibase' (a nil value). (P131)). Default: not specified - mapframe-switcher – set to <syntaxhighlight lang="text" class="" id="" style="" inline="1">auto</syntaxhighlight> or <syntaxhighlight lang="text" class="" id="" style="" inline="1">geomasks</syntaxhighlight> or <syntaxhighlight lang="text" class="" id="" style="" inline="1">zooms</syntaxhighlight> to enable Template:Switcher-style switching between multiple mapframes. Default: not specified
- <syntaxhighlight lang="text" class="" id="" style="" inline="1">auto</syntaxhighlight> – switch geomasks found in Lua error in Module:Wd at line 621: attempt to index field 'wikibase' (a nil value). (P276) and Lua error in Module:Wd at line 621: attempt to index field 'wikibase' (a nil value). (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.
- <syntaxhighlight lang="text" class="" id="" style="" inline="1">geomasks</syntaxhighlight> – switch between the geomasks specified as a comma-separated list of Wikidata items (Q-numbers) in the mapframe-geomask parameter
- <syntaxhighlight lang="text" class="" id="" style="" inline="1">zooms</syntaxhighlight> – switch between "zoomed in"/"zoomed midway"/"zoomed out", where "zoomed in" is the default zoom (with a minimum of <syntaxhighlight lang="text" class="" id="" style="" inline="1">3</syntaxhighlight>), "zoomed out" is <syntaxhighlight lang="text" class="" id="" style="" inline="1">1</syntaxhighlight>, and "zoomed midway" is the average
- 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 <syntaxhighlight lang="text" class="" id="" style="" inline="1">blank</syntaxhighlight> to override any default marker symbol
- 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
See {{coord}} for details on how to modify the display of coordinates.
<syntaxhighlight lang="wikitext" style="overflow:auto"> {{Infobox convention center ... | coordinates = | map_type = | map_alt = | map_caption = | relief = ... }} </syntaxhighlight>
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 | |
---|---|
File:BournemouthIC.jpg | |
Lua error in Module:Infobox_mapframe at line 185: attempt to index field 'wikibase' (a nil value). | |
Address | Exeter Road, Bournemouth, England, BH2 5BH, United Kingdom |
Coordinates | Lua error: callParserFunction: function "#coordinates" was not found. |
Owner | Bournemouth Borough Council |
Operator | BH Live |
Inaugurated | 6 September 1984 |
Opened | 16 August 1984 |
Renovated | 2004 |
Construction cost | £19.5 million (£70 million in 2021 pounds<ref name="inflation-UK" group="">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 June 11, 2022.</ref>) |
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 |
<syntaxhighlight lang="wikitext" style="overflow:auto;">
Bournemouth International Centre | |
---|---|
File:BournemouthIC.jpg | |
Lua error in Module:Infobox_mapframe at line 185: attempt to index field 'wikibase' (a nil value). | |
Address | Exeter Road, Bournemouth, England, BH2 5BH, United Kingdom |
Coordinates | Lua error: callParserFunction: function "#coordinates" was not found. |
Owner | Bournemouth Borough Council |
Operator | BH Live |
Inaugurated | 6 September 1984 |
Opened | 16 August 1984 |
Renovated | 2004 |
Construction cost | £19.5 million (£70 million in 2021 pounds<ref name="inflation-UK" group="">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 June 11, 2022.</ref>) |
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 |
</syntaxhighlight>
TemplateData
TemplateData 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
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