Шаблон:Infobox racing driver/doc
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 = | 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 / subbox=yes -->
| parameter-1 =
| parameter-2 =
| parameter-3 =
| parameter-4 =
| <!-- 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.