Àdàkọ:Infobox F1 driver

Lát'ọwọ́ Wikipedia, ìwé ìmọ̀ ọ̀fẹ́
Lọ sí: atọ́ka, àwárí
Documentation icon Aṣàlàyé àdàkọ[ìwòran] [ìtúnṣe] [ìtàn] [ìmúkúrò]

Syntax[àtúnṣe]

Example - current driver: Sebastian Vettel
{{Infobox F1 driver
| name            = Sebastian Vettel
| image           = Sebastian_Vettel_2012_Bahrain_GP.jpg
| caption         = Vettel at the [[2012 Bahrain Grand Prix]]
| nationality     = {{flag|GER|name=German}}
| birth_date      = {{birth date and age|1987|7|3|df=y}}
| birth_place     = [[Heppenheim]], [[Hesse]], [[West Germany]]
| 2013 Team       = [[Red Bull Racing|Red Bull]]-[[Renault Sport F1|Renault]]
| 2013 Car number = 1
| Races           = {{F1stat|VET|entries}} ({{F1stat|VET|starts}} starts)
| Championships   = 3 ({{F1|2010}}, {{F1|2011}}, {{F1|2012}})
| Wins            = {{F1stat|VET|wins}}
| Podiums         = {{F1stat|VET|podiums}}
| Points          = {{F1stat|VET|careerpoints}}
| Poles           = {{F1stat|VET|poles}}
| Fastest laps    = {{F1stat|VET|fastestlaps}}
| First race      = [[2007 United States Grand Prix]]
| First win       = [[2008 Italian Grand Prix]]
| Last win        = [[2012 Indian Grand Prix]]
| Last race       = {{Latest F1GP}}
| Last season     = 2012
| Last position   = 1st (281 pts)
}}
Example - former driver: Ayrton Senna
{{Infobox F1 driver
| name            = Ayrton Senna
| image           = Ayrton Senna Imola 1989 Cropped.jpg
| caption         = Senna at the [[1989 San Marino Grand Prix]]
| nationality     = {{BRA}}ian
| birth_date      = {{birth date|1960|3|21|df=y}}
| birth_place     = [[São Paulo]], [[Brazil]]
| death_date      = {{death date and age|1994|5|1|1960|3|21|df=y}}
| death_place     = [[Bologna]], [[Italy]]
| Years           = {{F1|1984}}–{{F1|1994}}
| Team(s)         = [[Toleman]], [[Team Lotus|Lotus]], [[McLaren (racing)|McLaren]], [[WilliamsF1|Williams]]
| Races           = 162 (161 starts)
| Championships   = 3 ({{F1|1988}}, {{F1|1990}}, {{F1|1991}})
| Wins            = 41
| Podiums         = 80
| Points          = 610 (614)
| Poles           = 65
| Fastest laps    = 19
| First race      = [[1984 Brazilian Grand Prix]]
| First win       = [[1985 Portuguese Grand Prix]]
| Last win        = [[1993 Australian Grand Prix]]
| Last race       = [[1994 San Marino Grand Prix]]
}}

Fields[àtúnṣe]

The First/Last race fields should contain the first/last races for which the driver was *entered*, even if they didn't actually start the race.

Updates[àtúnṣe]

Following the final race of the season, "Team" and "Car number" fields for the following season are added but the existing fields for the just-completed season are retained until the end of the calendar year.

Microformat[àtúnṣe]

The HTML markup produced by this template includes an hCard microformat, which makes the person's details parsable by computers, either acting automatically to catalogue articles across Wikipedia or via a browser tool operated by a reader, to (for example) add the subject to an address book or database. For more information about the use of microformats on Wikipedia, please see the microformat project.

Sub-templates[àtúnṣe]

Date-of-birth ("bday") information will only be included in the microformat if {{birth date}}, {{birth date and age}}, {{birth-date}} or {{birth-date and age}} are used in the infobox. (but do not use these if the date is before 1583).

To include a URL, use {{URL}}.

Please do not remove instances of these sub-templates.

Classes[àtúnṣe]

hCard uses HTML classes including:

  • adr
  • agent
  • bday
  • birthplace
  • category
  • country-name
  • deathdate
  • deathplace
  • extended-address
  • family-name
  • fn (required)
  • given-name
  • honorific-prefix
  • honorific-suffix
  • label
  • locality
  • n
  • nickname
  • note
  • org
  • role
  • url
  • vcard

Please do not rename or remove these classes; nor collapse nested elements which use them.