Difference between revisions of "Template:Infobox convention center/doc"
Jump to navigation
Jump to search
imported>Zyxw m (note use of Lua modules using AWB) |
|||
| Line 11: | Line 11: | ||
<pre style="overflow:auto;"> | <pre style="overflow:auto;"> | ||
| − | {{Infobox | + | {{Infobox convention center |
| name = | | name = | ||
| image = | | image = | ||
Revision as of 12:07, 28 November 2016
| This is a documentation subpage for Template:Infobox convention center. It contains usage information, categories and other content that is not part of the original template page. |
| This template uses Lua: |
Contents
Usage
- redirect Template:Parameter names example
{{Infobox convention center
| name =
| image =
| image_size =
| image_alt =
| image_caption =
| address =
| location =
| coordinates =
| owner =
| operator =
| built =
| inaugurated =
| opened =
| former_names =
| exhibit =
| website =
| map_type =
| map_alt =
| map_caption =
| map_size =
| latitude =
| longitude =
| latd =
| latm =
| lats =
| latNS =
| longd =
| longm =
| longs =
| longEW =
| map_dot_label =
}}
Parameters
| Parameter | Explanation |
|---|---|
| name | Insert the name of the convention center |
| image | Insert an image link in the form: [[File:MyImage.jpg|250px|alt=My alt text]]. For more on alt text, please see WP:ALT. Can also use format image=MyImage.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, preferably with {{coord}} such as {{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
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=andlongitude=OR - in degrees/minutes/seconds, using
latd=,latm=,lats=,latNS=,longd=,longm=,longs=, andlongEW=.
- in decimal degrees, using
- 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.
- To override the automatic value, use the
One advantage of omitting the coordinates= parameter is that you can display a {{Location map}} without duplicating coordinates.
{{Infobox convention center
...
| 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 convention center
...
| 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 convention center
...
| 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
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 185: attempt to index field 'wikibase' (a nil value). | |
| Address | Template:Mf-adr |
| 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 (£66.3 million in 2019 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 | |
| Template:URL | |
{{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>(£{{Formatprice|{{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 February 2, 2020.
Microformat
See also
