Template:Infobox racing driver/doc

From MOASSpedia
< Template:Infobox racing driver
Revision as of 17:04, 22 September 2021 by Wikipedia>MB (align examples with current usage)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Usage

{{{name}}}
[[File:{{{image}}}|{{{image_size}}}|alt={{{alt}}}|upright=1]]
{{{caption}}}
Nationality{{{nationality}}}
Full name{{{full_name}}}
Born{{{birth_name}}}
{{{birth_date}}}
{{{birth_place}}}
Died{{{death_date}}}
{{{death_place}}}
Retired{{{retired}}}
Related to{{{related to}}}
{{{current series}}} career
Debut season{{{first year}}}
Current team{{{current team}}}
{{{last series}}}
Racing licence{{{racing licence}}}
Years active{{{years active}}}
Teams{{{teams}}}
Car number{{{car number}}}
Engine{{{engine}}}
Crew chief{{{crew chief}}}
Spotter{{{spotter}}}
Former teams{{{former teams}}}
Starts{{{starts}}}
Championships{{{championships}}}
Wins{{{wins}}}
Podiums{{{podiums}}}
Poles{{{poles}}}
Fastest laps{{{fastest laps}}}
Best finish{{{best finish}}} in {{{year}}}
Finished last season{{{last finish}}}
Previous series
{{{prev series years}}}{{{prev series}}}
Championship titles
{{{title years}}}{{{titles}}}
Awards
{{{award years}}}{{{awards}}}
{{{module}}}
{{{module2}}}
{{{module3}}}
{{{module4}}}
{{{module5}}}
{{{medals-title}}}

{{{medals}}}

Last updated on: {{{updated}}}.

For currently active drivers:

{{Infobox racing driver
| name              = <!-- leave empty if it is below another infobox -->
| image             = 
| image_size        = <!-- defaults to 180px unless a value is entered -->
| caption           = 
| nationality       = <!-- use only when necessary per [[WP:INFONAT]] -->
| full_name         = <!-- Only if different from name -->
| birth_name        = <!-- Only if different from name -->
| birth_date        = <!-- {{Birth date and age|yyyy|m|d}} -->
| birth_place       = 
| related to        = <!-- list of notable relatives with line breaks --> 
| current series    = <!-- eg. [[World Touring Car Championship]] -->
| first year        = 
| current team      = 
| car number        = <!-- if known -->
| engine            =
| crew chief        =
| spotter           = <!-- Note: "spotter" and "codriver" share a field     -->
| codriver          = <!-- If both are specified, "spotter" will be displayed -->
| former teams      = 
| starts            = 
| championships     =
| wins              = 
| podiums           =
| poles             = 
| fastest laps      = <!-- if known -->
| best finish       = <!-- if a final championship placing has been recorded -->
| year              = <!-- use piped link if season article exists -->
| last finish       =
| prev series       = <!-- previous series with line breaks -->
| prev series years = 
| titles            = <!-- championship titles -->
| title years       = 
| awards            = 
| award years       = 
| medaltemplates    = 
| updated           = 
}}

For retired, deceased or otherwise inactive drivers, especially those who lately participated in a notable championship:

{{Infobox racing driver
| name              = <!-- leave empty if it is below another infobox -->
| image             = 
| image_size        = <!-- defaults to 180px unless a value is entered -->
| caption           = 
| nationality       = <!-- use only when necessary per [[WP:INFONAT]] -->
| full_name         = <!-- Only if different from name -->
| birth_name        = <!-- Only if different from name -->
| birth_date        = <!-- {{Birth date and age|yyyy|m|d}} if alive OR {{Birth date|yyyy|m|d}} if deceased -->
| birth_place       = 
| death_date        = <!-- {{Death date and age|YYYY|MM|DD|YYYY|MM|DD}} (death date then birth date) -->
| death_place       = 
| retired           = <!-- year of retirement -->
| related to        = <!-- list of notable relatives with line breaks --> 
| last series       = <!-- eg. [[World Touring Car Championship]] -->
| years active      = 
| teams             = 
| starts            = 
| wins              = 
| poles             = 
| fastest laps      = <!-- if known -->
| best finish       = <!-- if a final championship placing has been recorded -->
| year              = <!-- use piped link if season article exists -->
| prev series       = <!-- previous series with line breaks -->
| prev series years = 
| titles            = <!-- championship titles -->
| title years       = 
| awards            = 
| award years       = 
}}

For active drivers without current employment, especially if they have no participations in a notable championship:

{{Infobox racing driver
| name              = <!-- leave empty if it is below another infobox -->
| image             = 
| image_size        = <!-- defaults to 180px unless a value is entered -->
| caption           = 
| nationality       = <!-- use only when necessary per [[WP:INFONAT]] -->
| full_name         = <!-- Only if different from name -->
| birth_name        = <!-- Only if different from name -->
| birth_date        = <!-- {{Birth date and age|yyyy|m|d}} -->
| birth_place       = 
| related to        = <!-- list of notable relatives with line breaks --> 
| prev series       = <!-- previous series with line breaks -->
| prev series years = 
| titles            = <!-- championship titles -->
| title years       = 
| awards            = 
| award years       = 
}}

This infobox is used for any drivers with significant current or recent participations outside Formula One, the WRC, or NASCAR as part of an effort to streamline the range of infobox templates for motorsport articles. It is flexible enough to allow use with other templates for drivers with multi-discipline careers. See WikiProject Motorsport for more templates.

Use as a child template

The child, embed, and subbox parameters are used when embedding this infobox into another.

This infobox may be used to create a genre-specific section within {{Infobox person}} (or similar biographical infobox templates) for cases where a person may be notable in more than one field; a generic example is shown below. For guidance on usage, see Wikipedia:Infobox modules. Also see the Template:Infobox documentation which explains embedding and subboxes.

{{Infobox person
| name = 
| image = 
| caption = 
| birth_date = 
| birth_place = 
| <!-- etc. -->
| module = 
  {{Infobox racing driver | child=yes <!-- or embed=yes or subbox=yes -->
  | parameter-1 = 
  | parameter-2 = 
  | parameter-3 = 
  | parameter-4 = 
  | <!-- etc. -->
  }}
}}

Example

Molly Taylor
Born (1988-05-06) 6 May 1988 (age 36)
Australia
NationalityBritain & Australia
Alma materUniversity of Sydney
OccupationRally driver
Parent(s)Mark Taylor, Coral Taylor
Australian Rally Championship
Years active2007 – 2009; 2015–2018
TeamsSubaru do Motorsport
Championship titles
2016Australian Rally Champion
Awards
2007 & 2008F16 Champion
Websitewww.mollytaylor.com.au
{{Infobox person
| name        = Molly Taylor
| birth_date  = {{Birth date and age|df=yes|1988|5|6}}
| birth_place = Australia
| nationality = Britain & Australia 
| alma_mater  = [[University of Sydney]]
| occupation  = [[Rallying|Rally driver]]
| parents     = Mark Taylor, [[Coral Taylor]]
| module      = 
  {{Infobox racing driver | child = yes
  | last series  = [[Australian Rally Championship]]
  | years active = 2007 – 2009; 2015–2018
  | teams        = Subaru do Motorsport
  | titles       = Australian Rally Champion 
  | title years  = 2016
  | awards       = F16 Champion
  | award years  = 2007 & 2008
  }}
| website     = {{URL|www.mollytaylor.com.au}}
}}

Embedding other templates

The module, module2, module3, module4, and module5 parameters are used for embedding other templates into this infobox (see Wikipedia:Infobox modules and Category:Biographical templates usable as a module).

Jacques Villeneuve
OQ
Full nameJacques Joseph Charles Villeneuve
Born (1971-04-09) April 9, 1971 (age 53)
Saint-Jean-sur-Richelieu, Quebec, Canada
Related toGilles Villeneuve (father)
Jacques Villeneuve Sr. (uncle)
Championship titles
1995 Indianapolis 500 Winner
1995 CART PPG Indy Car World Series Champion
1997 Formula One World Champion
Awards
1994 PPG Indy Car World Series Rookie of the Year
1994 Indianapolis 500 Rookie of the Year
IndyCar Series career
1 race run over 1 year
First race2014 Indianapolis 500 (Indianapolis)
Wins Podiums Poles
0 0 0
Champ Car career
33 races run over 2 years
Years active1994–1995
Best finish1st (1995)
First race1994 Australian FAI Indycar Grand Prix (Surfers Paradise)
Last race1995 Toyota Grand Prix of Monterey (Laguna Seca)
First win1994 Texaco/Havoline 200 (Road America)
Last win1995 Budweiser Grand Prix of Cleveland (Cleveland)
Wins Podiums Poles
5 10 6
Statistics current as of December 12, 2015.
{{Infobox racing driver
| name = 
| <!-- etc. -->
| module = 
  {{Infobox ABC
  | embed = yes <!-- or child=yes / subbox=yes-->
  | <!-- etc. -->
  }}
}}

Example

{{Infobox racing driver
| name        = Jacques Villeneuve<br><small>{{Post-nominals|country=CAN|OQ}}</small>
| nationality = 
| full_name   = Jacques Joseph Charles Villeneuve
| birth_date  = {{birth date and age|1971|04|09}}
| related to  = [[Gilles Villeneuve]] (father)<br />[[Jacques Villeneuve (racing driver, born 1953)|Jacques Villeneuve Sr.]] (uncle)
| birth_place = [[Saint-Jean-sur-Richelieu|Saint-Jean-sur-Richelieu, Quebec]], Canada
| titles      = [[1995 Indianapolis 500|1995]] [[Indianapolis 500]] [[List of Indianapolis 500 winners|Winner]]<br>[[1995 PPG Indy Car World Series|1995]] [[Champ Car|CART PPG Indy Car World Series]] Champion<br>[[1997 FIA Formula One World Championship|1997]] [[Formula One]] [[List of Formula One World Drivers' Champions|World Champion]]
| awards      = 1994 PPG Indy Car World Series Rookie of the Year<br>[[1994 Indianapolis 500]] Rookie of the Year
| module1 =
  {{Infobox Champ Car driver|embed=yes
  | years              = 1994–1995
  | Total_Champ_Races  = 33
  | Years_In_Champ     = 2
  | Best_Champ_Pos     = 1st ([[1995 IndyCar season|1995]])
  | First_Champ_Race   = [[1994 IndyCar season|1994]] [[1994 Australian FAI Indycar Grand Prix|Australian FAI Indycar Grand Prix]] ([[Surfers Paradise Street Circuit|Surfers Paradise]])
  | Last_Champ_Race    = [[1995 IndyCar season|1995]] [[Toyota Grand Prix of Monterey]] ([[Mazda Raceway Laguna Seca|Laguna Seca]])
  | First_Champ_Win    = [[1994 IndyCar season|1994]] [[Texaco/Havoline 200]] ([[Road America]])
  | Last_Champ_Win     = [[1995 IndyCar season|1995]] [[Budweiser Grand Prix of Cleveland]] ([[Burke Lakefront Airport|Cleveland]])
  | Champ_Wins         = 5
  | Champ_Podiums      = 10
  | Champ_Poles        = 6
  | Total_IRL_Races    = 1
  | Years_In_IRL       = 1
  | First_IRL_Race     = [[2014 IndyCar Series season|2014]] [[Indianapolis 500]] ([[Indianapolis Motor Speedway|Indianapolis]])
  | IRL_Wins           = 0
  | IRL_Podiums        = 0
  | IRL_Poles          = 0
  | updated            = December 12, 2015
  }}
}}

Microformat

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

Date-of-birth ("bday") information will only be included in the microformat if {{birth date}}, or {{birth date and age}} are used in the infobox. (Do not use these if the date is before 1583). Be cautious about using these if the person is still living, per WP:DOB.

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

Please do not remove instances of these sub-templates.

Classes

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.

Tracking category