Template:Infobox racing driver/doc
This is a documentation subpage for Template:Infobox racing driver. It contains usage information, categories and other content that is not part of the original template page. |
This template uses Lua: |
Usage
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. --> }} }}
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).
{{Infobox racing driver | name = | <!-- etc. --> | module = {{Infobox ABC | embed = yes <!-- or child=yes / subbox=yes--> | <!-- etc. --> }} }}
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