Template:Infobox stadium/doc: Difference between revisions

From escforumwiki
Jump to navigation Jump to search
 
Line 270: Line 270:
| The nearest [[public transport]] stop. <br /> <nowiki> Example: [[Roosevelt/State (CTA)|Roosevelt Station]], [[Chicago Transit Authority]]</nowiki>
| The nearest [[public transport]] stop. <br /> <nowiki> Example: [[Roosevelt/State (CTA)|Roosevelt Station]], [[Chicago Transit Authority]]</nowiki>
|}
|}
== TemplateData ==
<templatedata>
{
"description": "This templates generates an infobox to summarize information about stadia, arenas, or other sporting venues.",
"params": {
"name": {
"label": "Name",
"type": "string",
"required": false,
"description": "Name of the sporting venue"
},
"stadium_name": {
"label": "Stadium name",
"type": "string",
"required": false,
"description": "Name of the sporting venue (synonym for {{{name}}})"
},
"centre_name": {
"label": "Centre name",
"type": "string",
"required": false,
"description": "Name of the sporting venue (synonym for {{{name}}})"
},
"nickname": {
"label": "Nickname(s)",
"type": "string",
"required": false,
"description": "English nickname(s) of the venue"
},
"native_name": {
"label": "Native name",
"type": "string",
"required": false,
"description": "Name of venue in native language/script"
},
"native_name_lang": {
"label": "Native name language",
"type": "string",
"required": false,
"description": "If {{{native_name}}} present, ISO 639-1 language code of language/script of its value"
},
"fullname": {
"label": "Full name",
"type": "string",
"required": false,
"description": "Official full name of the venue"
},
"former names": {
"label": "Former name(s)",
"type": "string",
"required": false,
"description": "Venue's former name(s) in format \"FormerName (year–year)\""
},
"logo_image": {
"label": "Logo image link",
"type": "string/wiki-page-name",
"required": false,
"description": "Image link to the logo"
},
"logo_caption": {
"label": "Logo caption",
"type": "string",
"required": false,
"description": "Caption for the stadium logo"
},
"image": {
"label": "Image link",
"type": "string/wiki-page-name",
"required": false,
"description": "Image link"
},
"caption": {
"label": "Image caption",
"type": "string",
"required": false,
"description": "Caption for the image"
},
"location": {
"label": "Location",
"type": "string/line",
"required": false,
"description": ""
},
"coordinates": {
"label": "Coordinates",
"type": "string",
"required": false,
"description": "Geographical coordinates"
},
"broke_ground": {
"label": "Ground broke date",
"type": "string",
"required": false,
"description": "Date when ground was broken to build the venue"
},
"built": {
"label": "Build date",
"type": "string",
"required": false,
"description": "Date range of when the venue was under construction"
},
"opened": {
"label": "Date of opening",
"type": "string/line",
"required": false,
"description": "Date of when it opened"
},
"renovated": {
"label": "Date of renovation",
"type": "string",
"required": false,
"description": "Date of when it was renovated"
},
"expanded": {
"label": "Date of expansion",
"type": "string",
"required": false,
"description": "Date of when it was expanded"
},
"closed": {
"label": "Date of closing",
"type": "string/line",
"required": false,
"description": "Date of when it was closed"
},
"demolished": {
"label": "Date of demolishing",
"type": "string",
"required": false,
"description": "Date of when it was demolished"
},
"owner": {
"label": "Owner(s)",
"type": "string",
"required": false,
"description": "Name(s) of the venue's owner(s)"
},
"operator": {
"label": "Operator(s)",
"type": "string",
"required": false,
"description": "Name(s) of the venue's operator(s)"
},
"surface": {
"label": "Surface",
"type": "string",
"required": false,
"description": "Surface of the venue (e.g. grass, sand, artificial turf)"
},
"scoreboard": {
"label": "Scoreboard",
"type": "string",
"required": false,
"description": "Details of scoreboard at the venue. If not known, just enter \"Yes\" if the venue has a scoreboard and \"No\" otherwise."
},
"cost": {
"label": "Cost",
"type": "string",
"required": false,
"description": "Construction cost, preferably in the currency that the venue is located"
},
"architect": {
"label": "Architect(s)",
"type": "string",
"required": false,
"description": "Name(s) of venue's architect(s)"
},
"project_manager": {
"label": "Project manager(s)",
"type": "string",
"required": false,
"description": "Name(s) of venue's project manager(s)"
},
"structural engineer": {
"label": "Structural engineer(s)",
"type": "string",
"required": false,
"description": "Name(s) of venue's structural engineer(s)"
},
"services engineer": {
"label": "Services engineer(s)",
"type": "string",
"required": false,
"description": "Name(s) of venue's services engineer(s)"
},
"general_contractor": {
"label": "General contractor(s)",
"type": "string",
"required": false,
"description": "Name(s) of venue's general contractor(s)"
},
"main_contractors": {
"label": "Main contractor(s)",
"type": "string",
"required": false,
"description": "Name(s) of venue's main contractor(s)"
},
"capacity": {
"label": "Capacity",
"type": "string",
"required": false,
"description": ""
},
"suites": {
"label": "Suites",
"type": "string/line",
"required": false,
"description": "Number of suites"
},
"record_attendance": {
"label": "Record attendance",
"type": "string",
"required": false,
"description": "All time record attendance of the venue. If it is a multi-purpose venue, use the format: \"Record Attendance (Date & Event)\""
},
"dimensions": {
"label": "Dimensions",
"type": "string",
"required": false,
"description": "Dimensions of the venue"
},
"acreage": {
"label": "Acreage",
"type": "string/line",
"required": false,
"description": ""
},
"volume": {
"label": "Volume",
"type": "string/line",
"required": false,
"description": ""
},
"tenants": {
"label": "Tenants",
"type": "string",
"required": false,
"description": "The teams and any other parties who use the venue as their home stadium or arena. Use the format: \"TeamName (league/organization) year–year\""
},
"embedded": {
"label": "Embedded",
"type": "string",
"required": false,
"description": "Embed another infobox"
},
"website": {
"label": "Website",
"type": "string",
"required": false,
"description": ""
},
"publictransit": {
"label": "Public transit",
"type": "string",
"required": false,
"description": "The nearest public transport stop"
}
}
}
</templatedata>

Latest revision as of 02:23, 12 July 2015

This templates generates an infobox to summarize information about stadia, arenas, or other sporting venues, as well as theatres and cinemas.

Usage

{{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 = 
| latd                   = 
| latm                   = 
| lats                   = 
| latNS                  = 
| longd                  = 
| longm                  = 
| longs                  = 
| longEW                 = 
| coordinates_display    = 
| iso_region             = 
| 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              = 
| 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:

FormerName (year–year)

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.
latd Latitude degrees. Can also be used for decimal degrees.
latm Latitude minutes. Omit or leave blank if latd has a decimal value.
lats Latitude seconds. Omit or leave blank if latd has a decimal value.
latNS Latitude North or South (enter N or S). Omit or leave blank if latd has a decimal value.
longd Longitude degrees. Can also be used for decimal degrees.
longm Longitude minutes. Omit or leave blank if longd has a decimal value.
longs Longitude seconds. Omit or leave blank if longd has a decimal value.
longEW Longitude East or West (enter E or W). Omit or leave blank if longd has a decimal value.
location Insert the venue's location
coordinates Insert the geographical coordinates, preferably with {{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 should not be used.
architect Insert the name(s) of the venue's architect(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:

Capacity (Purpose)

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:

Record Attendance (Date & Event)

dimensions Insert the dimensions of the venue:
  • For a football (soccer) pitch size, use the format:

105 × 68 m

  • For baseball dimensions, use the format:

Left field: 300 ft (91 m)
Center field: 400 ft (122 m)
Right field: 300 ft (91 m)

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:

TeamName (league/organization) year–year

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]]