Template:Infobox venue/doc

From Constructed Worlds Wiki
Jump to navigation Jump to search

Small text

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

Usage

{{{name}}}
{{{native_name}}}
{{{nickname}}}
[[File:{{{logo_image}}}|{{{logo_size}}}|alt={{{logo_alt}}}|upright={{{logo_upright}}}|{{{logo_alt}}}]]
{{{logo_caption}}}
[[File:{{{image}}}|{{{image_size}}}|alt={{{image_alt}}}|upright={{{image_upright}}}|{{{image_alt}}}]]
{{{image_caption}}}
[[File:{{{image_map}}}|{{{map_size}}}|alt={{{map_alt}}}|upright=1|{{{map_alt}}}]]
{{{map_caption}}}
Full name {{{fullname}}}
Former names {{{former names}}}
Address {{{address}}}
{{{city}}}
{{{country}}}
Location {{{location}}}
Coordinates {{{coordinates}}}
Elevation {{{elevation}}}
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}}}
{{{embedded}}}

Full syntax

{{Infobox venue
| name                   = 
| native_name            = 
| native_name_lang       = 
| nickname               = 
| logo_image             = 
| logo_size              = 
| logo_upright           =
| 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:

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_upright Insert a number – see MOS:UPRIGHT for more information – default = 1.
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:

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

Mapframe parameters

Template:Infobox mapframe/doc/parameters

Notes

  1. 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

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 used by TemplateWizard, VisualEditor and other tools
See the monthly error report for this template.

TemplateData for Infobox venue

This templates generates an infobox to summarize information about stadia, arenas, or other sporting venues.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Official namename stadium_name centre_name

Name of the sporting venue

Default
{{PAGENAMEBASE}}
Linesuggested
Native namenative_name

Name of venue in native language/script

Stringoptional
Native name languagenative_name_lang

If {{{native_name}}} present, ISO 639-1 language code of language/script of its value

Stringoptional
Nickname(s)nickname othernames

English alternate names or nickname(s) of the venue

Lineoptional
Logo image linklogo_image

Image link to the logo

Page namesuggested
Logo image sizelogo_size

no description

Lineoptional
Logo upright sizelogo_upright

no description

Default
1
Numberoptional
Logo image alternative textlogo_alt

Accessibility text describing image for screen readers and other assistive technologies

Stringoptional
Logo captionlogo_caption

Caption for the stadium logo

Stringoptional
Image linkimage

Image link

Filesuggested
Image sizeimage_size

no description

Lineoptional
Image upright sizeimage_upright

no description

Default
1
Numberoptional
Image alternative textimage_alt

Accessibility text describing image for screen readers and other assistive technologies

Stringoptional
Image captionimage_caption caption

Caption for the image

Stringoptional
Map imageimage_map

no description

Fileoptional
Map sizemap_size

Map image dimensions, defaults to image_size parameter value if not specified

Lineoptional
Map image alternative textmap_alt

Accessibility text describing image for screen readers and other assistive technologies

Stringoptional
Map captionmap_caption

Contextual information to display beneath map image

Stringoptional
pushpin_mappushpin_map

no description

Unknownoptional
pushpin_map_captionpushpin_map_caption

no description

Unknownoptional
pushpin_label_positionpushpin_label_position

no description

Unknownoptional
pushpin_reliefpushpin_relief

no description

Unknownoptional
pushpin_labelpushpin_label

no description

Unknownoptional
pushpin_mapsizepushpin_mapsize

no description

Unknownoptional
mapframemapframe

no description

Unknownoptional
mapframe-captionmapframe-caption

no description

Unknownoptional
mapframe-custommapframe-custom

no description

Unknownoptional
mapframe-idmapframe-id

no description

Unknownoptional
mapframe-coordmapframe-coord

no description

Unknownoptional
mapframe-wikidatamapframe-wikidata

no description

Unknownoptional
mapframe-pointmapframe-point

no description

Unknownoptional
mapframe-shapemapframe-shape

no description

Unknownoptional
mapframe-frame-widthmapframe-frame-width

no description

Unknownoptional
mapframe-frame-heightmapframe-frame-height

no description

Unknownoptional
mapframe-shape-fillmapframe-shape-fill

no description

Unknownoptional
mapframe-shape-fill-opacitymapframe-shape-fill-opacity

no description

Unknownoptional
mapframe-stroke-colormapframe-stroke-color mapframe-stroke-colour

no description

Unknownoptional
mapframe-stroke-widthmapframe-stroke-width

no description

Unknownoptional
mapframe-markermapframe-marker

no description

Unknownoptional
mapframe-marker-colormapframe-marker-color mapframe-marker-colour

no description

Unknownoptional
mapframe-geomaskmapframe-geomask

no description

Unknownoptional
mapframe-geomask-stroke-colormapframe-geomask-stroke-color mapframe-geomask-stroke-colour

no description

Unknownoptional
mapframe-geomask-stroke-widthmapframe-geomask-stroke-width

no description

Unknownoptional
mapframe-geomask-fillmapframe-geomask-fill

no description

Unknownoptional
mapframe-geomask-fill-opacitymapframe-geomask-fill-opacity

no description

Unknownoptional
mapframe-zoommapframe-zoom

no description

Unknownoptional
mapframe-length_kmmapframe-length_km

no description

Unknownoptional
mapframe-length_mimapframe-length_mi

no description

Unknownoptional
mapframe-area_km2mapframe-area_km2

no description

Unknownoptional
mapframe-area_mi2mapframe-area_mi2

no description

Unknownoptional
mapframe-frame-coordinatesmapframe-frame-coordinates mapframe-frame-coord

no description

Unknownoptional
mapframe-switchermapframe-switcher

no description

Unknownoptional
Full namefullname

Official full name of the venue

Stringoptional
Former name(s)former_names former names formernames

Venue's former name(s) in format "FormerName (year–year)"

Stringsuggested
addressaddress

no description

Unknownsuggested
citycity

no description

Unknownsuggested
countrycountry

no description

Unknownsuggested
Locationlocation

no description

Lineoptional
Coordinatescoordinates

Geographical coordinates

Stringsuggested
Elevationelevation altitude

no description

Stringoptional
Public transitpublictransit

The nearest public transport stop

Stringoptional
Available parkingparking

Number of parking spaces available to public

Example
2,000 spaces
Lineoptional
Owner(s)owner

Name(s) of the venue's owner(s)

Stringoptional
Operator(s)operator

Name(s) of the venue's operator(s)

Stringoptional
designationdesignation

no description

Unknownoptional
typetype

no description

Unknownoptional
genregenre

no description

Unknownoptional
seating_typeseating_type

no description

Unknownoptional
SuitesSuites suites

Number of suites

Lineoptional
Max. legal occupancycapacity seating_capacity

no description

Numbersuggested
Record attendancerecord_attendance

All time record attendance of the venue. If it is a multi-purpose venue, use the format: "Record Attendance (Date & Event)"

Stringoptional
Dimensionsdimensions

Dimensions of the venue

Stringoptional
field_shapefield_shape

no description

Unknownoptional
AcreageAcreage acreage

no description

Lineoptional
Surfacesurface

Surface of the venue (e.g. grass, sand, artificial turf)

Stringoptional
Scoreboardscoreboard

Details of scoreboard at the venue. If not known, just enter "Yes" if the venue has a scoreboard and "No" otherwise.

Stringoptional
screensscreens

no description

Unknownoptional
currentusecurrentuse

no description

Unknownoptional
productionproduction

no description

Unknownoptional
Ground broke datebroke ground broke_ground

Date when ground was broken to build the venue

Stringoptional
Build datebuilt

Date range of when the venue was under construction

Stringoptional
Date of openingopened

Date of when it opened

Linesuggested
Date of renovationrenovated

Date of when it was renovated

Stringoptional
Date of expansionexpanded

Date of when it was expanded

Stringoptional
Date of closingclosed

Date of when it was closed

Lineoptional
reopenedreopened

no description

Unknownoptional
Date of demolishingdemolished

Date of when it was demolished

Stringoptional
rebuiltrebuilt

no description

Unknownoptional
yearsactiveyearsactive

no description

Unknownoptional
Costcost construction_cost

Construction cost, preferably in the currency that the venue is located

Lineoptional
Architect(s)architect

Name(s) of venue's architect(s)

Stringoptional
builderbuilder

no description

Unknownoptional
Project manager(s)project manager project_manager

Name(s) of venue's project manager(s)

Stringoptional
Structural engineer(s)structural engineer

Name(s) of venue's structural engineer(s)

Stringoptional
Services engineer(s)services engineer

Name(s) of venue's services engineer(s)

Stringoptional
General contractor(s)general contractor general_contractor

Name(s) of venue's general contractor(s)

Stringoptional
Main contractor(s)main contractors main_contractors

Name(s) of venue's main contractor(s)

Stringoptional
Tenantstenants tenant

The teams and any other parties who use the venue as their home stadium or arena. Use the format: "TeamName (league/organization) year–year"

Stringoptional
Websitewebsite Website homepage URL

no description

Stringsuggested
Embeddednrhp embedded

Embed another infobox

Stringoptional

Tracking category