Predloga:Infopolje Stadion

Iz Wikipedije, proste enciklopedije
Skoči na: navigacija, iskanje
Infopolje Stadion
Documentation icon Dokumentacija predloge[predogled] [uredi] [zgodovina] [osveži]

Ta predloga ustvari infopolje s podatki o stadionu ali drugem športnem objektu.

Koda[uredi | uredi kodo]

{{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          =
| extra               =
}}

Parametri[uredi | uredi kodo]

Opomba: * označuje obvezne podatke.

Parameter Razlaga
stadium_name * Naziv stadiona ali objekta
nickname Nadimek ali ljubkovalno ime objekta
image Slika v obliki: [[Slika:slika.jpg|250px]]
fullname Uradno polno ime objekta
location * Naslov, mesto, država objekta
coordinates Geografske koordinate {{coord}}
broke_ground Začetek gradnje
built Obdobje gradnje
opened * Otvoritev
renovated Datum obnove
expanded Datum širitve
closed Datum zaprtja
demolished Datum porušenja
owner * Imena lastnika/ov
operator Imena uporabnika/ov
surface Podlaga igrišča (npr. trava, pesek, umetna površina)
construction_cost Stroški gradnje, po možnosti v valuti države, v kateri se nahaja objekt
architect Ime arhitekta/ov
structural engineer Ime vodje gradbišča
services Ime vodje oskrbe
project_manager Ime projektantov
main_contractors Ime glavnega izvajalca del
former_names Prejšnja imena objekta v obliki:

Prejšnje ime (leto - leto)

tenants * Moštva in druge skupine, ki uporabljajo objekt kot domači stadion:

Ime kluba (liga/organizacija) leto - leto

seating_capacity * Število prostih mest. Če gre za različno uporabo uporabi format:

Zmogljivost (uporaba)

dimensions Mere igrišča:
  • Za nogometno igrišče uporabi format:

100 × 70 m

  • Za baseball igrišče uporabi format:

Levi del: 300 ft (91 m)
Osrednji del: 400 ft (122 m)
Desni del: 300 ft (91 m)

scoreboard Semafor za rezultate, npr. 100ft Jumbotron
extra Dodatni parameter za dodatne informacije

Microformat[uredi | uredi kodo]

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.

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

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.

When giving coordinates, please don't be overly precise.