Template:Infobox racing driver/sandbox
Racing licence | Script error: No such module "If empty". |
---|
This is the template sandbox page for Template:Infobox racing driver (diff). See also the companion subpage for test cases. |
This template uses Lua: |
Contents
Usage
Template:Parameter names example
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 = | 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 = | 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 = | 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 | 6 May 1988 |
Nationality | Australian |
Citizenship | Dual – Britain & Australia |
Alma mater | University of Sydney |
Occupation | Rally driver |
Parent(s) | Mark Taylor, Coral Taylor |
Australian Rally Championship | |
Racing licence | Script error: No such module "If empty". |
Years active | 2007 – 2009; 2015–2018 |
Teams | Subaru do Motorsport |
Championship titles | |
2016 | Australian Rally Champion |
Awards | |
2007 & 2008 | F16 Champion |
Website | Template:URL |
{{Infobox person | name = Molly Taylor | birth_date = {{Birth date and age|df=yes|1988|5|6}} | nationality = {{flagicon|Australia}} Australian | citizenship = Dual – Britain & Australia | alma_mater = [[University of Sydney]] | occupation = [[Rallying|Rally driver]] | home_town = Arcadia, NSW, Australia | 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 Template:Post-nominals | |||||||
---|---|---|---|---|---|---|---|
Nationality | Canadian | ||||||
Born | Jacques Joseph Charles Villeneuve April 9, 1971 Saint-Jean-sur-Richelieu, Quebec, Canada | ||||||
Related to | Gilles Villeneuve (father) Jacques Villeneuve Sr. (uncle) | ||||||
Racing licence | Script error: No such module "If empty". | ||||||
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 race | 2014 Indianapolis 500 (Indianapolis) | ||||||
| |||||||
Champ Car career | |||||||
33 races run over 2 years | |||||||
Years active | 1994–1995 | ||||||
Best finish | 1st (1995) | ||||||
First race | 1994 Australian FAI Indycar Grand Prix (Surfers Paradise) | ||||||
Last race | 1995 Toyota Grand Prix of Monterey (Laguna Seca) | ||||||
First win | 1994 Texaco/Havoline 200 (Road America) | ||||||
Last win | 1995 Budweiser Grand Prix of Cleveland (Cleveland) | ||||||
| |||||||
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 = {{flagicon|CAN}} Canadian | birth_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
Tracking category
The above documentation is transcluded from Template:Infobox racing driver/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |