Skabelon:Infoboks motorsportsbane

Infoboks motorsportsbane
Documentation icon Skabelondokumentation[vis] [redigér] [historik] [opfrisk]

Introduction

redigér

This template affects all motorsport venues/circuit/tracks around the world, so major changes to this template should be discussed at WP:MOTOR. This template was created to work for pretty much all types of venue including road courses, ovals, rovals, drag strips, and dirt tracks.

Only the Name and Location fields are required. All other fields are optional and can be omitted as appropriate.

Cut-and-paste pro forma

redigér
{{Infoboks motorsportsbane
|name             =
|nicknames        =
|time             =
|location         =
|coordinates      =
|image            =
|image_caption    =
|capacity         =
|FIA_grade        =
|owner            =
|operator         =
|broke_ground     =
|opened           =
|closed           =
|construction_cost=
|architect        =
|former_names     =
|events           =
|layout1          =
|surface          =
|length_km        =
|length_mi        =
|turns            =
|banking          =
|record_time      =
|record_driver    =
|record_team      =
|record_year      =
|record_class     =
|layout2          =
|surface2         =
|length2_km       =
|length2_mi       =
|turns2           =
|banking2         =
|record_time2     =
|record_driver2   =
|record_team2     =
|record_year2     =
|record_class2    =
|layout3          =
|surface3         =
|length3_km       =
|length3_mi       =
|turns3           =
|banking3         =
|record_time3     =
|record_driver3   =
|record_team3     =
|record_year3     =
|record_class3    =
|layout4          =
|surface4         =
|length4_km       =
|length4_mi       =
|turns4           =
|banking4         =
|record_time4     =
|record_driver4   =
|record_team4     =
|record_year4     =
|record_class4    =
|layout5          =
|surface5         =
|length5_km       =
|length5_mi       =
|turns5           =
|banking5         =
|record_time5     =
|record_driver5   =
|record_team5     =
|record_year5     =
|record_class5    =
|layout6          =
|surface6         =
|length6_km       =
|length6_mi       =
|turns6           =
|banking6         =
|record_time6     =
|record_driver6   =
|record_team6     =
|record_year6     =
|record_class6    =
|layout7          =
|surface7         =
|length7_km       =
|length7_mi       =
|turns7           =
|banking7         =
|record_time7     =
|record_driver7   =
|record_team7     =
|record_year7     =
|record_class7    =
|layout8          =
|surface8         =
|length8_km       =
|length8_mi       =
|turns8           =
|banking8         =
|record_time8     =
|record_driver8   =
|record_team8     =
|record_year8     =
|record_class8    =
|embedded         = <!--For embedding another infobox with such capability like {{tl|designation list}} and {{tl|infobox NRHP}}-->

<!-- Oversigtskort -->
| landkort = 
| label = 
| position = 
| korttekst = 
| coordinates = 
}}

Distance

redigér

Note that distance should be given in both Kilometres and Miles in order to display correctly. By default, Kilometres will display first followed by Miles in brackets. In order to swap the two add the line

| miles_first      = true

anywhere in the infobox code.

Coordinates

redigér

Brug {{coor d}} eller {{coor dm}} til koordinater; {{coor dms}} er måske for præcis.

Specify full image format, not just the filename, e.g.

| image =  [[File:BrooklandsCircuitLayout.png|frameless]]

Microformat

redigér

The HTML markup produced by this template includes an hCard microformat, which makes the place-name and location parsable by computers, either acting automatically to catalogue articles 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

redigér

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

redigér

hCard uses HTML classes including:

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

redigér

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

Eksempel

redigér
Jyllandsringen
StedResenbro, Danmark
Koordinater56°10′33″N 9°39′38″Ø / 56.17583°N 9.66056°Ø / 56.17583; 9.66056
EjerFDM
Åbnet16. maj 1966; 58 år siden (1966-05-16)
HovedløbDTC ( danish thundersport championship )
Længde2,300 km (1,429 mil)
Sving16
Banerekord1.05,22 min. (Kevin Magnussen, Renault R.S.01, 2016)
Oversigtskort
{{Infoboks motorsportsbane
| Name          = Jyllandsringen
| Location      = [[Resenbro]], [[Danmark]]
| Time          = 
| Image         = Jyllands-Ringen (Denmark) track map.svg
|owner            = [[FDM]]
|operator         =
|broke_ground     =
|opened           = {{startdato og alder|1966|5|16}}
|closed           =
|construction_cost=
|architect        =
|former_names     =
| Events        = DTC ( danish thundersport championship )
| Length_km     = 2,300
| Length_mi     = 1,429
| Turns         = 16
| Record_time   = 1.05,22 min.
| Record_driver = [[Kevin Magnussen]]
| Record_team   = Renault R.S.01
| Record_year   = [[2016]]
| landkort= Danmark
| label = {{Nowrap | Jyllandsringen }}
| position = right
| korttekst = Jyllandsringens placering i Danmark
| coordinates = {{coord|56|10|33|N|9|39|38|E|region:DK_type:landmark|display=ti}}
}}