Templat:Infobox Stadium

Daripada Wikipedia, ensiklopedia bebas.
Jump to navigation Jump to search
Pendokumenan templat[lihat] [sunting] [sejarah] [nyahcache]

Templat ini akan menjana sebuah infobox/kotak info untuk meringkaskan maklumat mengenai stadium, lapangan, atau tempat-tempat sukan yang lain.

Kod[sunting sumber]

{{Infobox Stadium
| stadium_name        = 
| nickname            = 
| image               = 
| fullname            = 
| location            = 
| coordinates         = 
| broke_ground        = 
| built               = 
| opened              = 
| renovated           = 
| expanded            = 
| closed              = 
| demolished          = 
| owner               = 
| operator            = 
| surface             = 
| construction_cost   = 
| architect           = 
| structural engineer = 
| services engineer   = 
| general_contractor  = 
| project_manager     = 
| main_contractors    = 
| former_names        = 
| tenants             = 
| seating_capacity    = 
| dimensions          = 
| scoreboard          = 

Parameter[sunting sumber]

Nota: * bermakna medan yang diperlukan.

Parameter Penerangan
stadium_name * Insert the name of the sporting venue
nickname Insert nicknames of the venue
image Insert an image link in the form: [[Image:MyImage.jpg|250px]]
fullname Insert the official full name of the venue
location * Insert the venue's address, city, state/province, country
coordinates Insert the geographical coordinates, preferably with {{coord}}
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)
construction_cost Enter the construction cost, preferably in the currency that the venue is located in (see WP:DATE for details)
architect Insert the name(s) of the venue's architect(s)
structural engineer Insert the name(s) of the venue's structural engineer(s)
services Insert the name(s) of the venue's services engineer(s)
project_manager Insert the name(s) of the project manager(s) who led the venue's construction
main_contractors Insert the name(s) of the venue's main contractor(s)
former_names Insert the venue's former name(s). Use the format:

FormerName (Year - Year)

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

seating_capacity * Insert the seating capacity of the venue. If it is a multi-purpose venue, use the format:

Capacity (Purpose)

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

100 x 70 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)

scoreboard Insert a simple description, e.g. 100ft Jumbotron

Mikroformat[sunting sumber]

The HTML mark up produced by this template includes an hCard microformat, which makes the place-name and location parsable by computers, either acting automatically to catalogue article 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[sunting sumber]

If the place or venue has an "established", "founded", "opened" or similar date, use {{Start date}} (unless the date is before 1583 CE).

If it has a URL, use {{URL}}.

Please do not remove instances of these sub-templates.

Classes[sunting sumber]

hCard uses HTML classes including:

  • adr
  • agent
  • category
  • county-name
  • extended-address
  • fn
  • label
  • locality
  • nickname
  • note
  • org
  • region
  • street-address
  • 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[sunting sumber]

When giving coordinates, please use an appropriate level of precision. Do not use {{Coord}}'s |name= parameter.