Template:Infobox Champ Car driver/doc

< Template:Infobox Champ Car driver

Note that this template is to cover all American Championship car racing and IndyCar Series events a driver has competed in. The former, in the first ("Champ Car") section, comprise those sanctioned by AAA, USAC, and CART; this includes the Indianapolis 500s in 1981 and 1982, but does not include any races run under Indy Racing League sanction, including all Indianapolis 500s from 1996 onwards.

The second section includes all Indy Racing League/IndyCar-sanctioned events from 1996 to the present.

The 2008 Toyota Grand Prix of Long Beach, run under IRL sanction but using CART equipment and rules, is a special case; for most drivers it should be counted as an IRL event in the infobox, but for some CART drivers who ran it as their only IRL race (e.g. Alex Figge) it may be more logical to place it under the Champ Car section. Use common sense.

Usage

{{{name}}}
[[File:{{{image}}}|{{{image_size}}}|alt={{{alt}}}|upright=1]]
{{{caption}}}
Nationality{{{nationality}}}
Born{{{birth_name}}}
{{{birth_date}}}
{{{birth_place}}}
Nickname{{{nick-name}}}
Died{{{death_date}}}
{{{death_place}}}
Cause of death{{{death_cause}}}
Height{{{height}}}
Weight{{{weight}}}
Achievements{{{achievements}}}
Awards{{{awards}}}
Template:Infobox racing driver series section
Template:Infobox racing driver series section
Template:Infobox racing driver series section
{{{module}}} or {{{module1}}}
{{{module2}}}
{{{module3}}}
{{{module4}}}
{{{module5}}}
Statistics current as of {{{updated}}}.

<syntaxhighlight lang="wikitext" style="overflow:auto">

BornError: Need valid birth date: year, month, day
Template:Infobox racing driver series section
Template:Infobox racing driver series section
Template:Infobox racing driver series section

</syntaxhighlight>

Use as a child template

The child, embed, or subbox parameters may be used to embed 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 Champ Car driver | child=yes <!-- or embed=yes or subbox=yes -->
  | Total_Champ_Races = 
  | Years_In_Champ = 
  | Champ_Car_Team = 
  | Best_Champ_Pos = 
  | <!-- etc. -->
  }}
}}

Embedding other templates

The module parameters (module, module2, ... module5) may used to embed other templates into this infobox (see Wikipedia:Infobox modules).

<syntaxhighlight lang="wikitext" style="overflow: auto;">

Template:Infobox racing driver series section
Template:Infobox racing driver series section
Template:Infobox racing driver series section

</syntaxhighlight>

Example

Sébastien Bourdais
Sebastien bourdais.JPG
Bourdais in 2008
NationalityFrance French
BornSébastien Olivier Bourdais
(1979-02-28) 28 February 1979 (age 45)
Le Mans, France
NicknameSea Bass
Achievements2004, 2005, 2006, 2007 Champ Car World Series Champion
2002 International Formula 3000 Champion
1999 French Formula Three Champion
Awards2003 CART FedEx Championship Series Rookie of the Year
Template:Infobox racing driver series section
Template:Infobox racing driver series section
Template:Infobox racing driver series section
Formula One World Championship career
Active years20082009
TeamsScuderia Toro Rosso
Races27
Championships0
Wins0
Podiums0
Career points6
Pole positions0
Fastest laps0
First race2008 Australian Grand Prix
Last race2009 German Grand Prix
24 Hours of Le Mans career
Participating years19992002, 2004, 2007, 20092012
TeamsLarbre Compétition, Pescarolo Sport, Peugeot Sport
Best finish2nd (2007, 2009, 2011)
Class wins0
Statistics current as of July 20, 2014.

<syntaxhighlight lang="wikitext" style="overflow:auto;">

Sébastien Bourdais
Sebastien bourdais.JPG
Bourdais in 2008
NationalityFrance French
BornSébastien Olivier Bourdais
(1979-02-28) 28 February 1979 (age 45)
Le Mans, France
NicknameSea Bass
Achievements2004, 2005, 2006, 2007 Champ Car World Series Champion
2002 International Formula 3000 Champion
1999 French Formula Three Champion
Awards2003 CART FedEx Championship Series Rookie of the Year
Template:Infobox racing driver series section
Template:Infobox racing driver series section
Template:Infobox racing driver series section
Formula One World Championship career
Active years20082009
TeamsScuderia Toro Rosso
Races27
Championships0
Wins0
Podiums0
Career points6
Pole positions0
Fastest laps0
First race2008 Australian Grand Prix
Last race2009 German Grand Prix
24 Hours of Le Mans career
Participating years19992002, 2004, 2007, 20092012
TeamsLarbre Compétition, Pescarolo Sport, Peugeot Sport
Best finish2nd (2007, 2009, 2011)
Class wins0
Statistics current as of July 20, 2014.

</syntaxhighlight>

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.