Template:Infobox venue/doc: Difference between revisions
en>Zyxw m (→TemplateData: update TemplateData header) |
m (1 revision imported) |
Latest revision as of 21:54, 13 March 2019
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
{{{native_name}}} | |
{{{nickname}}} | |
[[File:{{{logo_image}}}|{{{logo_size}}}|alt={{{logo_alt}}}|upright=1]] | |
[[File:{{{image}}}|{{{image_size}}}|alt={{{image_alt}}}|upright={{{image_upright}}}]] | |
[[File:{{{image_map}}}|{{{map_size}}}|alt={{{map_alt}}}|upright=1]] | |
Full name | {{{fullname}}} |
---|---|
Former names | {{{former names}}} |
Address | {{{address}}} {{{city}}} {{{country}}} |
Location | {{{location}}} |
Coordinates | {{{coordinates}}} |
Public transit | {{{publictransit}}} |
Parking | {{{parking}}} |
Owner | {{{owner}}} |
Operator | {{{operator}}} |
Designation | {{{designation}}} |
Type | {{{type}}} |
Genre(s) | {{{genre}}} |
Seating type | {{{seating_type}}} |
Executive suites | {{{Suites}}} |
Capacity | {{{capacity}}} |
Record attendance | {{{record_attendance}}} |
Field size | {{{dimensions}}} |
Field shape | {{{field_shape}}} |
Acreage | {{{Acreage}}} |
Surface | {{{surface}}} |
Scoreboard | {{{scoreboard}}} |
Screens | {{{screens}}} |
Current use | {{{currentuse}}} |
Production | {{{production}}} |
Construction | |
Broke ground | {{{broke ground}}} |
Built | {{{built}}} |
Opened | {{{opened}}} |
Renovated | {{{renovated}}} |
Expanded | {{{expanded}}} |
Closed | {{{closed}}} |
Reopened | {{{reopened}}} |
Demolished | {{{demolished}}} |
Rebuilt | {{{rebuilt}}} |
Years active | {{{yearsactive}}} |
Construction cost | {{{cost}}} |
Architect | {{{architect}}} |
Builder | {{{builder}}} |
Project manager | {{{project manager}}} |
Structural engineer | {{{structural engineer}}} |
Services engineer | {{{services engineer}}} |
General contractor | {{{general contractor}}} |
Main contractors | {{{main contractors}}} |
Tenants | |
{{{tenants}}} | |
Website | |
{{{website}}} | |
{{{nrhp}}} |
{{Infobox venue | name = | nickname = | native_name = | native_name_lang = | fullname = | former names = | logo_image = | logo_caption = | image = | image_size = | image_alt = | caption = | pushpin_map = | pushpin_mapsize = | pushpin_map_caption = | pushpin_label_position = | pushpin_relief = | address = | location = | coordinates = <!-- {{Coord|LAT|LON|type:landmark|display=inline,title}} --> | type = | genre = | broke_ground = | built = | opened = <!-- {{Start date|YYYY|MM|DD|df=y}} --> | renovated = | expanded = | closed = | demolished = | owner = | operator = | surface = | scoreboard = | production = | cost = | architect = | builder = | project_manager = | structural engineer = | services engineer = | general_contractor = | main_contractors = | seating_type = | capacity = | suites = | record_attendance = | dimensions = | field_shape = | acreage = | volume = | tenants = | embedded = | website = <!-- {{URL|example.com}} --> | publictransit = }}
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 |
coordinates | Insert the geographical coordinates; use {{Coord}} |
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. |
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. |
volume | Insert the volume. |
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]] |
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.
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