Templat:Venue sukan permotoran
Introduction
[sunting sumber]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
[sunting sumber]{{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 =
| website = <!-- {{URL|example.com}} -->
| 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 =
| layout10 =
| surface10 =
| length10_km =
| length10_mi =
| turns10 =
| banking10 =
| record_time10 =
| record_driver10 =
| record_car10 =
| record_year10 =
| record_class10 =
| layout11 =
| surface11 =
| length11_km =
| length11_mi =
| turns11 =
| banking11 =
| record_time11 =
| record_driver11 =
| record_car11 =
| record_year11 =
| record_class11 =
| layout12 =
| surface12 =
| length12_km =
| length12_mi =
| turns12 =
| banking12 =
| record_time12 =
| record_driver12 =
| record_car12 =
| record_year12 =
| record_class12 =
| layout13 =
| surface13 =
| length13_km =
| length13_mi =
| turns13 =
| banking13 =
| record_time13 =
| record_driver13 =
| record_car13 =
| record_year13 =
| record_class13 =
| embedded = <!--For embedding another infobox with such capability like {{tl|designation list}} and {{tl|infobox NRHP}}-->
}}
Distance
[sunting sumber]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
[sunting sumber]Untuk koordinat, gunakan {{coord}} dengan display=inline,title. Diminta agar jangan bubuhkan dengan terlalu terperinci.
Image and/or logo
[sunting sumber]Specify full image format, not just the filename, e.g.
| image = [[File:BrooklandsCircuitLayout.png|frameless]]
Microformat
[sunting sumber]Penanda HTML yang dihasilkan oleh templat ini termasuklah mikroformat hCard, yang menjadikan nama tempat dan lokasi boleh dihuraikan oleh komputer, sama adan bertindak secara automatik untuk mengkatalogkan rencana merentasi Wikipedia atau melalui alat pelayar yang dikendalikan oleh orang, contohnya untuk menambah subjek pada buku alamat. Di dalam hCard terdapat mikroformat Geo, yang membolehkan koordinat (garis lintang dan bujur) dihuraikan, supaya ia boleh mencari peta atau memuat turun unit GPS.
Subtemplat
[sunting sumber]Jika suatu tempat itu mempunyai medan "diasaskan", "ditubuhkan", "dibuka atau yang serupa, gunakan templat {{Tarikh mula}}. Jika ia mempunyai URL, gunakan templat {{URL}}.
Harap tidak membuang contoh-contoh subtemplat ini.
Kelas
[sunting sumber]hCard menggunakan kelas-kelas HTML termasuklah:
- adr
- agent
- category
- county-name
- extended-address
- fn
- label
- locality
- nickname
- note
- org
- region
- street-address
- url
- vcard
Geo dihasilkan dengan memanggil {{Koord}}, dan menggunakan kelas-kelas HTML:
- geo
- latitude
- longitude
Jangan menamakan semula atau membuang kelas-kelas ini, atau meruntuhkan unsur-unsur bersarang yang menggunakannya.
Ketepatan
[sunting sumber]Apabila menggunakan koordinat, sila gunakan tahap ketepatan yang bersesuaian. Jangan gunakan parameter |name=
pada {{Koord}}.
Cars in lap records
[sunting sumber]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. Ktegori:Infobox templat Formula Satu