Difference between revisions of "Template:Infobox racing driver/doc"

From blackwiki
Jump to navigation Jump to search
imported>Zyxw
(document birth_name parameter, as also found in Template:Infobox person, Template:Infobox NASCAR driver, etc.)
imported>Zyxw
(add section for usage as a child template)
Line 2: Line 2:
 
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
 
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
  
 +
==Usage==
 
'''For currently active drivers:'''
 
'''For currently active drivers:'''
 
<pre>
 
<pre>
Line 93: Line 94:
 
</pre>
 
</pre>
 
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 [[Wikipedia:WikiProject Motorsport|WikiProject Motorsport]] for more templates.
 
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 [[Wikipedia:WikiProject Motorsport|WikiProject Motorsport]] for more templates.
 +
 +
== Use as a child template ==
 +
{{Infobox person module documentation|Infobox racing driver}}
  
 
==Microformat==
 
==Microformat==

Revision as of 03:40, 3 August 2014

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           =
| former teams      = 
| starts            = 
| championships     =
| wins              = 
| 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       = 
| 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       = 
| updated           = 
}}

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

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. -->
  }}
}}

Microformat

Template:UF-hcard-person