แม่แบบ:กล่องข้อมูล สนามกีฬา

จากวิกิพีเดีย สารานุกรมเสรี
Documentation icon คู่มือการใช้งานแม่แบบ[ดู] [แก้] [ประวัติ] [ล้างแคช]

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

การใช้งาน[แก้]

{{กล่องข้อมูล สนามกีฬา
| name                = 
| nickname            = 
| logo_image          = 
| logo_caption        = 
| image               = 
| caption             = 
| fullname            = 
| former_names        = 
| location            = 
| coordinates         = 
| broke_ground        = 
| built               = 
| opened              = 
| renovated           = 
| expanded            = 
| closed              = 
| demolished          = 
| owner               = 
| operator            = 
| surface             = 
| scoreboard          = 
| estimated_cost      = 
| suites              = 
| architect           = 
| project_manager     = 
| structural engineer = 
| services engineer   = 
| general_contractor  = 
| main_contractors    = 
| capacity            = 
| record_attendance   = 
| executive_suites    = 
| dimensions          = 
| acreage             = 
| tenants             = 
}}

Parameters[แก้]

All attributes are optional.

Parameter Explanation
name Insert the name of the sporting venue
nickname Insert nicknames of the venue
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 Insert an image link in the form: [[File:MyImage.jpg|250px|alt=My alt text]]. For more on alt text, please see WP:ALT.
caption Insert a caption for the stadium image
fullname Insert the official full name of the venue
former_names Insert the venue's former name(s). Use the format:

FormerName (Year - Year)

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)
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.
construction_cost Enter the construction cost, preferably in the currency that the venue is located in (see WP:DATE for details)
suites Insert the number of suites
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)
capacity Insert the seating capacity of the venue. If it is a multi-purpose venue, use the format:

Capacity (Purpose)

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:

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)

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 stadium/tenantlist}} sub-template to automatically line rows up.

Microformat[แก้]

button to indicate the presence of a Geo microformat

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.

hCard uses HTML classes including:

  • "adr"
  • "county-name"
  • "fn"
  • "label"
  • "locality"
  • "nickname"
  • "note"
  • "org"
  • "vcard"

Geo is produced by calling {{coord}}, and uses HTML classes hCard uses HTML classes including:

  • "geo"
  • "latitude"
  • "longitude"

Please do not rename or remove these classes.

ดูเพิ่ม[แก้]