Templat:Infobox Stadium

Daripada Wikipedia, ensiklopedia bebas.
Pergi ke navigasi Pergi ke carian
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]

Penanda HTML yang dihasilkan oleh templat ini termasuklah mikroformat hCard, yang menjadikan nama tempat dan lokasi boleh dihuraikan oleh komputer, sama adan bertindak secara automatik untuk mengkatalogkan rencana merentasi Wikipedia atau melalui alat pelayar yang dikendalikan oleh orang, contohnya untuk menambah subjek pada buku alamat. Di dalam hCard terdapat mikroformat Geo, yang membolehkan koordinat (garis lintang dan bujur) dihuraikan, supaya ia boleh mencari peta atau memuat turun unit GPS.

Subtemplat[sunting sumber]

Jika suatu tempat itu mempunyai medan "diasaskan", "ditubuhkan", "dibuka atau yang serupa, gunakan templat {{Tarikh mula}}. Jika ia mempunyai URL, gunakan templat {{URL}}.

Harap tidak membuang contoh-contoh subtemplat ini.

Kelas[sunting sumber]

hCard menggunakan kelas-kelas HTML termasuklah:

  • adr
  • agent
  • category
  • county-name
  • extended-address
  • fn
  • label
  • locality
  • nickname
  • note
  • org
  • region
  • street-address
  • url
  • vcard

Geo dihasilkan dengan memanggil {{Koord}}, dan menggunakan kelas-kelas HTML:

  • geo
  • latitude
  • longitude

Jangan menamakan semula atau membuang kelas-kelas ini, atau meruntuhkan unsur-unsur bersarang yang menggunakannya.

Ketepatan[sunting sumber]

Apabila menggunakan koordinat, sila gunakan tahap ketepatan yang bersesuaian. Jangan gunakan parameter |name= pada {{Koord}}.