Template:Infobox motorsport venue/doc

From IxWiki
Jump to navigation Jump to search

Introduction

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

{{Infobox motorsport venue
| name             = 
| nicknames        = 
| time             = 
| location         = 
| coordinates      = 
| logo             =
| logo_caption     = 
| 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}}-->
| website          = <!-- {{URL|example.com}} -->
}}

Distance

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

For coordinates, use {{coord}} with display=inline,title. Please do not be overly precise.

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

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

Microformat

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

If the place or venue has "established", "founded", "opened" or similar dates, use {{start date}} for the earliest of those dates unless the date is before 1583 CE.

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

Please do not remove instances of these sub-templates.

Classes

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

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