Difference between revisions of "Template:Infobox venue/doc"

From blackwiki
Jump to navigation Jump to search
imported>Keith D
m (Reverted edits by 2804:D55:52A1:B600:C050:D679:C26B:A528 (talk) to last version by Shkuru Afshar)
 
Line 1: Line 1:
documentation subpageplease place categories where indicated at the bottomthis page and interwikisatwikidatasee
+
{{Documentation subpage}}
highuseluamodulmodulImagmodulelocation mapmodulecheckforunknown parameters
+
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
thistemplates generates aninfobox to summarize information about stadia arenas or other sporting venues as well as theatres and cinemasusage
+
{{high-use| 15132 }}
parameter names examplenamestadiumnamecentrenamenamnamelangnicknameothernameslogoimagelogosizelogoaltlogocaptionimageimagesizeimageuprightimagealtimagecaptioncaptionimagemapmapsizemapaltmapcaptiopushpinmappushpinlabelpositionpushpinmapsizepushpinmapcaptionfullnameformer namesformernamesformernamesaddresscitycountrylocationcoordinateselevationpublictransitparkingowneroperatordesignationtypegenreseatingtypesuitescapacityseatingcapacityrecordattendancedimensionsfieldshapeacreagesurfacescoreboarscreenscurrentuseproduction
+
{{Lua|Module:Infobox|Module:InfoboxImage|Module:Location map|Module:Check for unknown parameters}}
broke grounbrokegroundbuiltrenovatedrebuiltexpandedreopeneddemolishedcostconstructioncostarchitectproject managerprojectmanagerstructural engineerservices engineergeneral contractorgeneralcontractormain contractorsmaincontractorsopenedclosedyearsactivebuilderenantstenantwebsitewebsitehomepageembeddedfull syntaxpre styleoverflowinfobox venue name                 name  namelang      nickname logoimage              logosize          logoalt              logocaption          image                 imagesize          imageupright          imagealt              caption               imagemap              mapsize              mapaltmapcaption            pushpinmappushpinmapsize        pushpinmapcaption    pushpinlabelpositionpushpinrelief        fullnameformer names addresscity                  countrylocation              coordinate < coordlLlalontype:landmarkdisplayinlinetitleelevation< cvtftm orcvtmftpublictransitparking                owneroperator              designation type                 genre               seatingtype          suites             capacity             recordattendance  dimensions           fieldshape           
+
 
acreage            
+
This templates generates an infobox to summarize information about stadia, arenas, or other sporting venues, as well as theatres and cinemas.
surfacescoreboard            screenscurrentuse            production            
+
brokeground built                 opened<start date|yyyy|mm|dddfy>renovated            expanded           closed        demolished             rebuilt                yearsactive  cost                  architect           builder               
+
== Usage ==
projectmanager structural engineer services engineergeneralcontractor      maincontractors tenants             websiteexampleembedded              pre>
+
{{Parameter names example
parameters
+
|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
All attributes are optional
+
}}
class=wikitablestyle=textalign leftparameter
+
 
styletextalign:left explanation
+
;Full syntax
namerowspan=3 nam the sporting venue. Defaults to<nowiki>pagename<nowiki>stadium_namecentrenamenicknameenglish nickname(s)the venue
+
<pre style="overflow:auto;">
namenamethe venue in native languagescriptegशलाnamelangIfnameis present iso 639-1code languagescript value e.gmononefullnameinsert the official full name  the venueformer namesinsert the venue's former name(s) use the format:
+
{{Infobox venue
<blockquote>formernameyearyear<blockquote>
+
| name                  =
logoimageinsert an image link in the form<code><nowikifile:myLogojpg250pxaltmyalt textnowiki><code>for more on alt text please seewp:alt
+
| native_name            =  
logocaptioninsert a caption for the stadium logoimageimage name without fileor other formatting e.g.myimagejpimagesize
+
| native_name_lang      =  
sizethe image as a raw number
+
| nickname              =
iewithoutpx if not specified image width defaults toframeless220pximagealt
+
| logo_image            =
mos:altalt text for the image
+
| logo_size              =  
captioninsert a caption for the stadium imagepushpinmapthe name a locationmap as pertemplate:location mappushpinmapsize the width to display the pushpin map in pixels just the number without px if omitted or left empty defaults to 250
+
| logo_alt              =
pushpinmapcaptioncaption to display below the pushpin map. If left blank or omitted a caption will not be displayedpushpinlabelpositionthe positionthe 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 coordinatesthe marker and its position relative to the right borderthe map image locationinsert the venue's location  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 ontarioetc see notesrlocationfor detailscoordinatesinsert the geographical coordinates usetlcoordelevationelevation in meters or feet usingtlconverttypetheatrestadiumgenremusicconcertssporting events theatre dancebrokegroundinsert the date when ground was broken to build the venuebuiltinsert a date range when the venue was under constructionopenedinsert the datewhen it openedrenovatedinsert the datewhen it was renovated
+
| logo_caption          =
expandedinsert the date when it was expandedclosedinsert the date when it was closeddemolishedinsert the datewhen it was demolishedownerinsert the name(s)the venue's owner(s)
+
| image                 =
operatorinsert the name(s)the venue's operator(s)surfaceenter the surfacethe venue e.g grass sand artificial turf
+
| image_size            =
scoreboardenter the details any scoreboard at the venue if specific details are not known just enter yesif the venue has a scoreboard ornoif there is nonescreensenter the number theatre screenscurrentuseenter the current use the venueproductionenter the theatrical production currently being housed at the venue
+
| image_upright          =
costenter the construction costpreferably in the currency that the venue is located in see Wikipedia:manual  atyle dates and numberswp:datefor details per its own documentationthetemplate:inflationinflation templatemust not be used.architectinsert the name(s)the venue's architect(s)
+
| image_alt              =
buildername(s) the venue's builder(s)
+
| caption                =
projectmanagerinsert the name(s) the project manager(s) who led the venue's constructionstructural engineerinsert the name(s) the venue's structural engineer(s)
+
| image_map              =
services engineerinsert the name(s)the venue's services engineer(s)
+
| map_size              =
general_contractorinsert the name(s) the venue's general contractor(s)
+
| map_alt                =
maincontractorsinsert the name(s) the venue's main contractor(s)
+
| map_caption            =
seatingtypesoft seat reserved seating
+
| pushpin_map            =
capacityinsert the seating capacitythe venue if it is a multipurpose venue use the format:
+
| pushpin_mapsize        =
<blockquote>xapacity purpose<blockquote>
+
| pushpin_map_caption    =
suitesinsert the numbersuitesrecordattendanceinsert the alltime record attendance the venueinclude the date and event if you wishIf it is a multi purpose venue use the format:
+
| pushpin_label_position =
<blockquote>record attendance date & Event<blockquote>
+
| pushpin_relief        =
dimensionsinsert the dimensions the venue:
+
| fullname              =
for a football soccerpitch sizeuse the format:
+
| former names          =
<blockquote>105×68m<blockquote>
+
| address                =
for baseball dimensions use the format:
+
| city                  =
<blockquote>left field: 300 ft 91 m<br>center field: 400 ft 122 m<br>right field: 300 ft 91 m<blockquote>fieldshapeoval rectangular or circularacreageinsert the acreagetenantsinsert the teams and any other parties who use the venue as their home stadium or arena use the format:
+
| country                =
<blockquote>teamnameleagueorganization yearyear<blockquote>
+
| location              =
Alternatively you can use thetlinfobox venuetenantlistsubtemplate to automatically line rows upembedded Embed another infobox with such capability like tldesignation list and tlinfobox nrhp See their respective documentation for more informationwebsiteinsert the website preferably with tluelpublictransitthe nearestpublic transport stop<br><nowiki> example:rooseveltstate (cta)rooseveltstationchicago Transit authority<nowiki>mapframe parametersinfobox mapframedocparametersnotesreflistrefs
+
| coordinates            = <!-- {{Coord|LAT|LON|type:landmark|display=inline,title}} -->
<ref name=location>as per efc 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 ukrather than spelling out the full country name avoid using abbreviations for states or provinces in all nationsxtnew Hampshirerather than xtnhxtnew south Wales rather than xtnsw or xtbritish columbia rather than xtbcsee mos:postabbr cities such as new york city and london may be rendered as new York vity 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
+
| elevation              = <!-- {{cvt|...|ft|m}} or {{cvt|...|m|ft}} -->
<ref>microformatifeq:sybpagenamesandboxtlufhcardgeoufhcardgeo
+
| publictransit          =
templatedatacollapse topwikipedia:templatedatatemplateData documentation used by wikipedia:visualeditorvisualeditor and other tools
+
| parking                =
templateData headernoheader=1
+
| owner                  =
<templatedata>descriptionthis templates generates an infobox to summarize information about stadia arenasor other sporting venuesparamsname
+
| operator               =
labelnametypestrinrequiredoriginaldescriptionname  the sporting venuestadiumname
+
| designation            =
labelstadium nametypestringrequired
+
| type                  =
descriptionname  the sporting venuesynonym for namecentrename
+
| genre                  =
labelcentre nametypestringrequiredfarsdescriptionnamethe sporting venuesynonym fornamenicknamelabelnickname(s)typestringrequiredfalsedescription english nickname(s)the venuename
+
| seating_type          =
label nametypestringrequireddescriptionname venue in nat languagescriptnamelang
+
| suites                =
label name language
+
| capacity              =
typestring
+
| record_attendance      =
required
+
| dimensions            =
descriptionif name present iso 6391 language codelanguagescript its valuefullnamelabelfull name
+
| field_shape            =
typestring
+
| acreage                =
required
+
| surface                =
descriptionofficial full namethe venuformer names
+
| scoreboard            =
labelformer name(s)
+
| screens                =
typestring
+
| currentuse            =
required
+
| production            =
descriptionvenue's former name(s) in format formernameyearyearlogoimagelabellogo image linktypestringwikipagenamerequireddescriptionimage link to the logologocaption
+
| broke_ground          =
labellogo captiontypestringrequired
+
| built                  =
descriptioncaption for the stadium logoimagelabelimage link
+
| opened                = <!-- {{Start date|YYYY|MM|DD|df=y}} -->
typestringwikipagenamerequireddescriptionimage linkcaption
+
| renovated              =
labelimage caption
+
| expanded              =
typestring
+
| closed                =
required
+
| demolished            =
descriptioncaption for the imagelocation
+
| rebuilt                =
labellocation
+
| yearsactive            =
typestringline
+
| cost                  =
required descriptioncoordinateslabelcoordinatestypestringrequireddescription geographical coordinates
+
| architect              =
elevationlabelelevationtypestring
+
| builder                =
requireddescription brokegroundlabelground broke datetypestringrequireddescription date when ground was brokento build the venue
+
| project_manager        =
builtlabelbuild datetypestringrequired
+
| structural engineer    =
descriptiondate rangewhen the venue was under constructionopenedlabeldateopeningtypestringline
+
| services engineer      =
requireddescriptiondatewhen it openedrenovatedlabelsate  renovatio
+
| general_contractor    =
typestring
+
| main_contractors      =
requireddescriptiondatewhen it was renovatedexpanded
+
| tenants                =
labeldate  expansiontypestringrequiredescriptiondate  when it was expandedclosed
+
| website                = <!-- {{URL|example.com}} -->
labeldate  closing typestringlinerequireddescription date  when it was closeddemolishedlabeldate  demolishingtypestringrequireddescriptiondate  when it was demolishedownerlabelowner(s)
+
| embedded              =
typestringrequireddescriptionname(s) the venue's owner(s)
+
}}
operatorlabeloperator(s)typestring
+
</pre>
requireddescriptionname(s)the venue's operator(s)surfacelabel surfacetypestring
+
 
requireddescriptionsurface the venueeggrasssandartificial turfscoreboardlabelscoreboardtypestringrequireddescriptiondetails scoreboard at the venueIf not known just enter Yes if the venue has a scoreboard andNo otherwisecostlabelcost
+
== Parameters ==
typestringrequireddescription construction cost preferably in the currency that the venue is located"
+
All attributes are optional.
architectlabelarchitect(s)typestringrequireddescriptionname(svenue's architect(sprojectmanagerlabelproject manager(s)typestrinrequireddescriptionname(s) venue's project manager(s)structural engineerlabelstructural engineer(s)typestringrequiredfalsedescriptionname(s) venue's structural engineer(s)
+
 
services engineerlabelservices engineer(s)typestringrequireddescriptionname(s) venue's services engineer(s)generalcontractorlabelgeneral contractor(s)typestringrequireddescriptionname(s)venue's general contractor(s)maincontractorslabelmain contractor(s)typestringrequireddescriptionname(s)venue's main contractor(s)capacitylabelcapacity
+
{| class="wikitable"
stringrequiredoriginal descriptionsuiteslabelsuitestypestringlinerequiredorigina
+
! style="text-align: left" | Parameter
descriptionuumber suitesrecordattendancelabelrecord attendancetypestring
+
! style="text-align: left" | Explanation
requiredoriginaldescriptionall time record attendancethe venueIf it is a multipurpose venue use the format: record attendance date & eventdimensions
+
|-
labeldimensionstypestring
+
| '''name'''
requiredoriginaldescriptiondimensionsthvenueacreagelabelacreagetypestringrequiredoriginaldescriptiontenantslabeltenantstypestringrequiredoriginaldescriptionthe teams and any other parties who use the venue as their home stadium or arena use the formateamnameleagueorganization yearyearembeddedlabelembedded
+
|rowspan=3 | Name of the sporting venue. Defaults to <nowiki>{{PAGENAME}}</nowiki>
typestringrequiredorigdescriptionembed another infoboxwebsitelabelwebsittypestringrequiredoeiginaldescriptionpubrictransitlabelpubric transit typestringrequiredoriginaldescriptionthe nearest public transport stoptemplatedatacollapse bottom
+
|-
tracking categoryclcpages using infobox venue with unknown parameters see alsobuildings and structures infobox templatesincludeonlysandbox other add catefoeies below thisline andinteewikis to wikidatathank youcategory:buildingsandstructures infoboxtemplatesvenuecategorymusic infobotemplatesvenuecategorysports infoboxtemplatesvenuecategorytemplatesthat add a tracking categoryincludeonly
+
| '''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 {{Para|native_name}} is present, ISO 639-1 code of language/script of value (e.g. {{mono|ne}})
 +
|-
 +
| '''fullname'''
 +
| Insert the official full name of the venue
 +
|-
 +
| '''former names'''
 +
| Insert the venue's former name(s). Use the format:
 +
<blockquote>'''FormerName (year–year)'''</blockquote>
 +
|-
 +
| '''logo_image'''
 +
| Insert an image link in the form: <code>'''<nowiki>[[File:MyLogo.jpg|250px|alt=My alt text]]</nowiki>'''</code>. 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'''
 +
| [[MOS: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{{r|location}} for details.
 +
|-
 +
| '''coordinates'''
 +
| Insert the geographical coordinates; use {{tl|Coord}}
 +
|-
 +
| '''elevation'''
 +
| Elevation in meters or feet using {{tl|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 [[Wikipedia:Manual of Style (dates and numbers)|WP:DATE]] for details) Per its own documentation, the [[:template:inflation|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:
 +
<blockquote>'''Capacity (Purpose)'''</blockquote>
 +
|-
 +
| '''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:
 +
<blockquote>'''Record Attendance (Date & Event)'''</blockquote>
 +
|-
 +
| '''dimensions'''
 +
| Insert the dimensions of the venue:
 +
*For a football (soccer) pitch size, use the format:
 +
<blockquote>'''105 × 68 m'''</blockquote>
 +
*For baseball dimensions, use the format:
 +
<blockquote>'''Left field: 300 ft (91 m)<br/>Center field: 400 ft (122 m)<br/>Right field: 300 ft (91 m)'''</blockquote>
 +
|-
 +
| '''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:
 +
<blockquote>'''TeamName (league/organization) year–year'''</blockquote>
 +
 
 +
Alternatively, you can use the {{tl|infobox venue/tenantlist}} sub-template to automatically line rows up.
 +
|-
 +
| '''embedded'''
 +
| Embed another infobox with such capability like {{tl|designation list}} and {{tl|infobox NRHP}}. See their respective documentation for more information.
 +
|-
 +
| '''website'''
 +
| Insert the website, preferably with {{tl|URL}}
 +
|-
 +
| '''publictransit'''
 +
| The nearest [[public transport]] stop. <br /> <nowiki> Example: [[Roosevelt/State (CTA)|Roosevelt Station]], [[Chicago Transit Authority]]</nowiki>
 +
|}
 +
 
 +
==Mapframe parameters==
 +
{{Infobox mapframe/doc/parameters}}
 +
 
 +
== Notes ==
 +
{{reflist |refs=
 +
<ref name="location">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. {{xt|New Hampshire}} rather than {{!xt|NH}}, {{xt|New South Wales}} rather than {{!xt|NSW}}, or {{xt|British Columbia}} rather than {{!xt|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.
 +
</ref>
 +
|}
 +
}}
 +
 
 +
== Microformat ==
 +
{{#ifeq:{{SUBPAGENAME}}|sandbox|{{tl|UF-hcard-geo}}|{{UF-hcard-geo}}}}
 +
 
 +
== TemplateData ==
 +
{{collapse top|[[Wikipedia:TemplateData|TemplateData]] documentation used by [[Wikipedia:VisualEditor|VisualEditor]] and other tools}}
 +
{{TemplateData header|noheader=1}}
 +
<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"
 +
},
 +
"elevation": {
 +
"label": "Elevation",
 +
"type": "string",
 +
"required": false,
 +
"description": ""
 +
},
 +
"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": ""
 +
},
 +
"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>
 +
{{collapse bottom}}
 +
 
 +
== Tracking category ==
 +
* {{clc|Pages using infobox venue with unknown parameters}}
 +
 
 +
== See also ==
 +
{{Buildings and structures infobox templates}}
 +
 
 +
<includeonly>{{Sandbox other||
 +
<!-- ADD CATEGORIES BELOW THIS LINE AND INTERWIKIS TO WIKIDATA, THANK YOU! -->
 +
[[Category:Buildings and structures infobox templates|Venue]]
 +
[[Category:Music infobox templates|Venue]]
 +
[[Category:Sports infobox templates|Venue]]
 +
[[Category:Templates that add a tracking category]]
 +
}}</includeonly>

Latest revision as of 17:15, 24 February 2021

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:

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

  • Basic parameters:
    • mapframe – Specify yes or no to show or hide the map, overriding the default. Default: no
    • mapframe-caption – Caption for the map. Default: blank (or if |mapframe-geomask= is set, "Location in geomask's label")
    • mapframe-custom – Use a custom map instead of the automatic mapframe. Specify either a {{maplink}} template, or another template that generates a mapframe map, or an image name. If used, the subsequent mapframe parameters will be ignored. Default: not specified
    • mapframe-id or id or qid – Id (Q-number) of Wikidata item to use. Default: item for current page
    • mapframe-coordinates or mapframe-coord or coordinates or coord – Coordinates to use, instead of any on Wikidata. Use the {{Coord}} template, e.g. |coord={{Coord|12.34|N|56.78|E}}. Default: coordinates from Wikidata
    • mapframe-wikidata – Set to yes to show shape/line features from the wikidata item, if any, when |coord= is set. Default: not specified
  • Customise which features are displayed:
  • Other optional parameters:
    • mapframe-frame-width or mapframe-width – Frame width. Default: 270
    • mapframe-frame-height or mapframe-height – Frame height. Default: 200
    • mapframe-shape-fill – Color used to fill shape features. Default: #606060
    • mapframe-shape-fill-opacity – Opacity level of shape fill, a number between 0 and 1. Default: 0.5
    • mapframe-stroke-color or mapframe-stroke-colour – Color of line features, and outlines of shape features. Default: #ff0000
    • mapframe-stroke-width – Width of line features, and outlines of shape features; default is "5". Default: 5
    • mapframe-marker – Marker symbol to use for coordinates; see mw:Help:Extension:Kartographer/Icons for options. Default: not specified (i.e. blank)
      • Can also be set to blank to override any default marker symbol
    • mapframe-marker-color or mapframe-marker-colour – Background color for the marker. Default: #5E74F3
    • mapframe-geomask-stroke-color or mapframe-geomask-stroke-colour – Color of outline of geomask shape. Default: #555555
    • mapframe-geomask-stroke-width – Width of outline of geomask shape. Default: 2
    • mapframe-geomask-fill – Color used to fill outside geomask features. Default: #606060
    • mapframe-geomask-fill-opacity – Opacity level of fill outside geomask features, a number between 0 and 1. Default: 0.5
    • mapframe-zoom – Set the zoom level, from "1" to "18", to used if the zoom level cannot be determined automatically from object length or area. Default: 10
    • mapframe-length_km or mapframe-length_mi or mapframe-area_km2 or mapframe-area_mi2 – Determine zoom level by passing in object's length (in kilometres or miles) or area (in square kilometres or square miles). Default: not specified
    • mapframe-frame-coordinates or mapframe-frame-coord – Alternate latitude and longitude coordinates for initial placement of map, using {{coord}}. Default: derived from item coordinates

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

Template:UF-hcard-geo

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.

Template parameters

ParameterDescriptionTypeStatus
Namename

Name of the sporting venue

Stringoptional
Stadium namestadium_name

Name of the sporting venue (synonym for {{{name}}})

Stringoptional
Centre namecentre_name

Name of the sporting venue (synonym for {{{name}}})

Stringoptional
Nickname(s)nickname

English nickname(s) of the venue

Stringoptional
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
Full namefullname

Official full name of the venue

Stringoptional
Former name(s)former names

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

Stringoptional
Logo image linklogo_image

Image link to the logo

Pageoptional
Logo captionlogo_caption

Caption for the stadium logo

Stringoptional
Image linkimage

Image link

Pageoptional
Image captioncaption

Caption for the image

Stringoptional
Locationlocation

Lineoptional
Coordinatescoordinates

Geographical coordinates

Stringoptional
Elevationelevation

Stringoptional
Ground broke datebroke_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

Lineoptional
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
Date of demolishingdemolished

Date of when it was demolished

Stringoptional
Owner(s)owner

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

Stringoptional
Operator(s)operator

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

Stringoptional
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
Costcost

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

Stringoptional
Architect(s)architect

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

Stringoptional
Project manager(s)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

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

Stringoptional
Main contractor(s)main_contractors

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

Stringoptional
Capacitycapacity

Stringoptional
Suitessuites

Number of suites

Lineoptional
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
Acreageacreage

Lineoptional
Tenantstenants

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
Embeddedembedded

Embed another infobox

Stringoptional
Websitewebsite

Stringoptional
Public transitpublictransit

The nearest public transport stop

Stringoptional

Tracking category

See also