Template:Infobox motorsport venue: Difference between revisions
en>DH85868993 (Revert to the "13 layout" version; the problem at Silverstone Circuit is an underscore in the "LayoutN" parameters; 14 layouts means 101 parameters so the website doesn't get displayed, so it's a choice between 14 layouts or the website parameter) |
m (1 revision imported) |
(No difference)
|
Latest revision as of 01:06, 18 January 2023
Website | Script error: No such module "URL". |
---|
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 = | track_map = | capacity = | FIA_grade = | owner = | operator = | broke_ground = | opened = | closed = | construction_cost= | architect = | former_names = | events = | minor events = | layout1 = | surface = | length_km = | length_mi = | turns = | banking = | record_time = | record_driver = | record_car = | record_year = | record_class = | layout2 = | surface2 = | length2_km = | length2_mi = | turns2 = | banking2 = | record_time2 = | record_driver2 = | record_car2 = | record_year2 = | record_class2 = | layout3 = | surface3 = | length3_km = | length3_mi = | turns3 = | banking3 = | record_time3 = | record_driver3 = | record_car3 = | record_year3 = | record_class3 = | layout4 = | surface4 = | length4_km = | length4_mi = | turns4 = | banking4 = | record_time4 = | record_driver4 = | record_car4 = | record_year4 = | record_class4 = | layout5 = | surface5 = | length5_km = | length5_mi = | turns5 = | banking5 = | record_time5 = | record_driver5 = | record_car5 = | record_year5 = | record_class5 = | layout6 = | surface6 = | length6_km = | length6_mi = | turns6 = | banking6 = | record_time6 = | record_driver6 = | record_car6 = | record_year6 = | record_class6 = | layout7 = | surface7 = | length7_km = | length7_mi = | turns7 = | banking7 = | record_time7 = | record_driver7 = | record_car7 = | record_year7 = | record_class7 = | layout8 = | surface8 = | length8_km = | length8_mi = | turns8 = | banking8 = | record_time8 = | record_driver8 = | record_car8 = | record_year8 = | record_class8 = | layout9 = | surface9 = | length9_km = | length9_mi = | turns9 = | banking9 = | record_time9 = | record_driver9 = | record_car9 = | record_year9 = | record_class9 = | 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.
Image and/or logo
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.
Cars in lap records
Following a discussion on the talkpage, use of the "record_team" parameter has been replaced with "record_car" (and "record_team2" replaced with "record_car2"...). Existing articles which have not been updated will still work, but new infoboxes should use the new format.