Difference between revisions of "Template:Infobox venue/doc"
imported>MB (add missing parameters) |
imported>Funandtrvl (add missing parameters to syntax example) |
||
| Line 7: | Line 7: | ||
== Usage == | == Usage == | ||
| − | {{Parameter names example|name|stadium_name|centre_name|native_name|native_name_lang | + | {{Parameter names example |
| + | |name|stadium_name|centre_name|native_name|native_name_lang|nickname|othernames|logo_image|logo_size|logo_alt|logo_caption|image|image_size|image_upright|image_alt|image_caption|caption|image_map|map_size|map_alt|map_caption|pushpin_map=|pushpin_label_position|pushpin_mapsize|pushpin_map_caption|fullname|former names|former_names|formernames|address|city|country|location|coordinates|elevation|publictransit|parking|owner|operator|designation|type|genre|seating_type|suites|capacity|seating_capacity|record_attendance|dimensions|field_shape|acreage|surface|scoreboard|screens|currentuse|production|broke ground|broke_ground|built|renovated|rebuilt|expanded|reopened|demolished|cost|construction_cost|architect|project manager|project_manager|structural engineer|services engineer|general contractor|general_contractor|main contractors|main_contractors|opened|closed|yearsactive|builder|tenants|tenant|website|Website|homepage|URL|embedded | ||
| + | }} | ||
| + | |||
| + | ;Full syntax | ||
<pre style="overflow:auto;"> | <pre style="overflow:auto;"> | ||
{{Infobox venue | {{Infobox venue | ||
| − | | name = | + | | name = |
| − | | nickname = | + | | native_name = |
| − | | | + | | native_name_lang = |
| − | | | + | | nickname = |
| − | | fullname = | + | | logo_image = |
| + | | logo_size = | ||
| + | | logo_alt = | ||
| + | | logo_caption = | ||
| + | | image = | ||
| + | | image_size = | ||
| + | | image_upright = | ||
| + | | image_alt = | ||
| + | | caption = | ||
| + | | image_map = | ||
| + | | map_size = | ||
| + | | map_alt = | ||
| + | | map_caption = | ||
| + | | pushpin_map = | ||
| + | | pushpin_mapsize = | ||
| + | | pushpin_map_caption = | ||
| + | | pushpin_label_position = | ||
| + | | pushpin_relief = | ||
| + | | fullname = | ||
| former names = | | former names = | ||
| − | | | + | | address = |
| − | + | | city = | |
| − | + | | country = | |
| − | + | | location = | |
| − | |||
| − | |||
| − | | | ||
| − | |||
| − | |||
| − | |||
| − | | | ||
| − | |||
| − | | location = | ||
| coordinates = <!-- {{Coord|LAT|LON|type:landmark|display=inline,title}} --> | | coordinates = <!-- {{Coord|LAT|LON|type:landmark|display=inline,title}} --> | ||
| elevation = <!-- {{cvt|...|ft|m}} or {{cvt|...|m|ft}} --> | | elevation = <!-- {{cvt|...|ft|m}} or {{cvt|...|m|ft}} --> | ||
| − | | type = | + | | publictransit = |
| − | | genre = | + | | parking = |
| − | | broke_ground = | + | | owner = |
| − | | built = | + | | operator = |
| + | | designation = | ||
| + | | type = | ||
| + | | genre = | ||
| + | | seating_type = | ||
| + | | suites = | ||
| + | | capacity = | ||
| + | | record_attendance = | ||
| + | | dimensions = | ||
| + | | field_shape = | ||
| + | | acreage = | ||
| + | | surface = | ||
| + | | scoreboard = | ||
| + | | screens = | ||
| + | | currentuse = | ||
| + | | production = | ||
| + | | broke_ground = | ||
| + | | built = | ||
| opened = <!-- {{Start date|YYYY|MM|DD|df=y}} --> | | opened = <!-- {{Start date|YYYY|MM|DD|df=y}} --> | ||
| − | | renovated = | + | | renovated = |
| − | | expanded = | + | | expanded = |
| − | | closed = | + | | closed = |
| − | | demolished = | + | | demolished = |
| − | | | + | | rebuilt = |
| − | + | | yearsactive = | |
| − | + | | cost = | |
| − | | | + | | architect = |
| − | + | | builder = | |
| − | + | | project_manager = | |
| − | + | | structural engineer = | |
| − | | cost = | + | | services engineer = |
| − | | architect = | + | | general_contractor = |
| − | | builder = | + | | main_contractors = |
| − | | project_manager = | + | | tenants = |
| − | | structural engineer = | ||
| − | | services engineer = | ||
| − | | general_contractor = | ||
| − | | main_contractors | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | | tenants | ||
| − | |||
| website = <!-- {{URL|example.com}} --> | | website = <!-- {{URL|example.com}} --> | ||
| − | | | + | | embedded = |
}} | }} | ||
</pre> | </pre> | ||
| Line 531: | Line 548: | ||
== See also == | == See also == | ||
| − | |||
| − | |||
| − | |||
{{Buildings and structures infobox templates}} | {{Buildings and structures infobox templates}} | ||
Revision as of 23:48, 11 August 2020
| This is a documentation subpage for Template:Infobox venue. It contains usage information, categories and other content that is not part of the original template page. |
| This template is used on approximately 16,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them.
Transclusion count updated automatically (see documentation). |
| This template uses Lua: |
This templates generates an infobox to summarize information about stadia, arenas, or other sporting venues, as well as theatres and cinemas.
Usage
Template:Parameter names example
- Full syntax
{{Infobox venue
| name =
| native_name =
| native_name_lang =
| nickname =
| logo_image =
| logo_size =
| logo_alt =
| logo_caption =
| image =
| image_size =
| image_upright =
| image_alt =
| caption =
| image_map =
| map_size =
| map_alt =
| map_caption =
| pushpin_map =
| pushpin_mapsize =
| pushpin_map_caption =
| pushpin_label_position =
| pushpin_relief =
| fullname =
| former names =
| address =
| city =
| country =
| location =
| coordinates = <!-- {{Coord|LAT|LON|type:landmark|display=inline,title}} -->
| elevation = <!-- {{cvt|...|ft|m}} or {{cvt|...|m|ft}} -->
| publictransit =
| parking =
| owner =
| operator =
| designation =
| type =
| genre =
| seating_type =
| suites =
| capacity =
| record_attendance =
| dimensions =
| field_shape =
| acreage =
| surface =
| scoreboard =
| screens =
| currentuse =
| production =
| broke_ground =
| built =
| opened = <!-- {{Start date|YYYY|MM|DD|df=y}} -->
| renovated =
| expanded =
| closed =
| demolished =
| rebuilt =
| yearsactive =
| cost =
| architect =
| builder =
| project_manager =
| structural engineer =
| services engineer =
| general_contractor =
| main_contractors =
| tenants =
| website = <!-- {{URL|example.com}} -->
| embedded =
}}
Parameters
All attributes are optional.
| Parameter | Explanation |
|---|---|
| name | Name of the sporting venue. Defaults to {{PAGENAME}} |
| stadium_name | |
| centre_name | |
| nickname | English nickname(s) of the venue |
| native_name | Name of the venue in native language/script (e.g. दशरथ रंगशाला) |
| native_name_lang | If |native_name= is present, ISO 639-1 code of language/script of value (e.g. ne)
|
| fullname | Insert the official full name of the venue |
| former names | Insert the venue's former name(s). Use the format:
|
| logo_image | Insert an image link in the form: [[File:MyLogo.jpg|250px|alt=My alt text]]. For more on alt text, please see WP:ALT.
|
| logo_caption | Insert a caption for the stadium logo |
| image | Image name without "File:" or other formatting. e.g. MyImage.jpg |
| image_size | Size of the image as a raw number (i.e. without "px"). If not specified, image width defaults to "frameless" (220px). |
| image_alt | alt text for the image. |
| caption | Insert a caption for the stadium image |
| pushpin_map | The name of a location map as per Template:Location map |
| pushpin_mapsize | The width to display the pushpin map, in pixels. Just the number, without "px". If omitted or left empty, defaults to 250. |
| pushpin_map_caption | Caption to display below the pushpin map. If left blank or omitted, a caption will not be displayed. |
| pushpin_label_position | The position of the label on the pushpin map relative to the pushpin mark. 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. |
| location | Insert the venue's location. For "United States" and "United Kingdom", it is preferred that they be abbreviated "U.S." and "UK", but political subdivisions should never be (never "MA" for "Massachusetts", "ON" for "Ontario", etc.). See Notes[1] for details. |
| coordinates | Insert the geographical coordinates; use {{Coord}} |
| elevation | Elevation in meters or feet using {{convert}} |
| type | Theatre, Stadium, ... |
| genre | music, concerts, sporting events, theatre, dance |
| broke_ground | Insert the date when ground was broken to build the venue |
| built | Insert a date range of when the venue was under construction |
| opened | Insert the date of when it opened |
| renovated | Insert the date of when it was renovated |
| expanded | Insert the date of when it was expanded |
| closed | Insert the date of when it was closed |
| demolished | Insert the date of when it was demolished |
| owner | Insert the name(s) of the venue's owner(s) |
| operator | Insert the name(s) of the venue's operator(s) |
| surface | Enter the surface of the venue (e.g. grass, sand, artificial turf) |
| scoreboard | Enter the details of any scoreboard at the venue. If specific details are not known, just enter "Yes" if the venue has a scoreboard or "No" if there is none. |
| screens | Enter the number of theatre screens. |
| currentuse | Enter the current use of the venue. |
| production | Enter the theatrical production currently being housed at the venue. |
| cost | Enter the construction cost, preferably in the currency that the venue is located in (see WP:DATE for details) Per its own documentation, the inflation template must not be used. |
| architect | Insert the name(s) of the venue's architect(s) |
| builder | Name(s) of the venue's builder(s) |
| project_manager | Insert the name(s) of the project manager(s) who led the venue's construction |
| structural engineer | Insert the name(s) of the venue's structural engineer(s) |
| services engineer | Insert the name(s) of the venue's services engineer(s) |
| general_contractor | Insert the name(s) of the venue's general contractor(s) |
| main_contractors | Insert the name(s) of the venue's main contractor(s) |
| seating_type | soft seat, reserved seating |
| capacity | Insert the seating capacity of the venue. If it is a multi-purpose venue, use the format:
|
| suites | Insert the number of suites |
| record_attendance | Insert the all-time record attendance of the venue. (include the date and event if you wish) If it is a multi-purpose venue, use the format:
|
| dimensions | Insert the dimensions of the venue:
|
| field_shape | Oval rectangular or circular |
| acreage | Insert the acreage. |
| tenants | Insert the teams and any other parties who use the venue as their home stadium or arena. Use the format:
Alternatively, you can use the {{infobox venue/tenantlist}} sub-template to automatically line rows up. |
| embedded | Embed another infobox with such capability like {{designation list}} and {{infobox NRHP}}. See their respective documentation for more information. |
| website | Insert the website, preferably with {{URL}} |
| publictransit | The nearest public transport stop. Example: [[Roosevelt/State (CTA)|Roosevelt Station]], [[Chicago Transit Authority]] |
Notes
- ↑ As per RfC "Naming countries in infoboxes": When identifying a location, city or region in the United States or United Kingdom, the preferred approach is to use the country abbreviations allowed by MOS:ACRO, such as "Portsmouth, New Hampshire, U.S." and "Cardiff, Wales, UK", rather than spelling out the full country name. Avoid using abbreviations for states or provinces in all nations. New Hampshire rather than NH, New South Wales rather than NSW, or British Columbia rather than BC (see MOS:POSTABBR). Cities such as New York City and London may be rendered as "New York City, U.S." and "London, UK" or simply "New York City" and "London". Also, these should not be linked when the context makes it clear (see MOS:OVERLINK). If only the country name is included, it may be written out in full.
Microformat
TemplateData
TemplateData documentation used by VisualEditor and other tools
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
See the monthly parameter usage report for this template.
TemplateData for Infobox venue This templates generates an infobox to summarize information about stadia, arenas, or other sporting venues.
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Tracking category
See also