Templat:Pemandu F1/doc

Daripada Wikipedia, ensiklopedia bebas.

Syntax[sunting sumber]

Example: Fernando Alonso
{{F1 driver
| Name          = Fernando Alonso
| Image         = [[Image:Alonso_usgp_2004_pits.jpg|222px]]
| Caption       = Fernando Alonso
| Nationality   = {{flagicon|ESP}} [[Spain|Spanish]]
| Car number    = 1
| Team          = [[McLaren|Vodafone McLaren Mercedes]]
| Team for 2007 = [[McLaren|Vodafone McLaren Mercedes]]
| Races         = 88
| Championships = 2 ([[2005 Formula One season|2005]], [[2006 Formula One season|2006]])
| Wins          = 15
| Podiums       = 37
| Poles         = 15
| Fastest laps  = 8
| First race    = [[Grand Prix Australia 2001]]
| First win     = [[Grand Prix Hungary 2003]]
| Last win      = [[Grand Prix Jepun 2006]]
| Last race     = [[Grand Prix Brazil 2006]]
| Last season   = 2006
| Last position = Juara (134 mata)
| Career points = 381
}}

Microformat[sunting sumber]

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. For more information about the use of microformats on Wikipedia, please see the microformat project.

Date-of-birth ("bday") parameters will only be included in the microformat if {{Birth date}} or {{Birth date and age}} are used in the infobox.

hCard uses HTML classes including:

  • adr
  • bday
  • county-name
  • fn (required)
  • honorific-prefix
  • honorific-suffix
  • label
  • locality
  • nickname
  • note
  • org
  • role
  • vcard

Please do not rename or remove these classes.