Шаблон:Ронандаи Формула-1/doc

Мавод аз Википедиа — донишномаи озод

Usage[вироиши манбаъ]

{{Infobox F1 driver
| name            = 
| image           = 
| caption         = 
| birth_name      = 
| birth_date      = 
| birth_place     = 
| death_date      = 
| death_place     = 
| nationality     = 
| Years           = 
| Team(s)         = 
| 2015 Team       =  
| 2015 Car number =  <!-- see "Car number fields" section below -->
| Car number      =  <!-- see "Car number fields" section below -->
| Races           =  <!-- number of races *entered* optionally followed by number of starts in brackets, e.g. 75 (74 starts) -->
| Championships   = 
| Wins            = 
| Podiums         = 
| Points          = 
| Poles           = 
| Fastest laps    = 
| First race      =  <!-- first race *entered* -->
| First win       = 
| Last win        = 
| Last race       =  <!-- last (or, for current drivers, latest) race *entered* -->
| Last season     =
| Last position   =
| BF1 Years       =
| BF1 Races       =
| BF1 Championships =
| BF1 Wins        =
| BF1 Podiums     =
| BF1 Points      =
| BF1 Poles       =
| BF1 Fastest laps =
}}

Examples[вироиши манбаъ]

Example - current driver: Fernando Alonso
{{Infobox F1 driver
| name            = Fernando Alonso
| image           = Fernando_Alonso_Bahrain.jpg
| caption         = Alonso at the [[2012 Bahrain Grand Prix]].
| birth_name      = Fernando Alonso Díaz
| birth_date      = {{birth date and age|1981|7|29|df=y}}
| birth_place     = [[Oviedo]], [[Asturias]], [[Spain]]
| nationality     = {{flag|ESP|name=Spanish}}
| 2015 Team       = [[McLaren]]-[[Honda in Formula One|Honda]]
| Car number      = 14
| Races           = {{F1stat|ALO|entries}} ({{F1stat|ALO|starts}} starts)
| Championships   = 2 ({{F1|2005}}, {{F1|2006}})
| Wins            = {{F1stat|ALO|wins}}
| Podiums         = {{F1stat|ALO|podiums}}
| Points          = {{F1stat|ALO|careerpoints}}
| Poles           = {{F1stat|ALO|poles}}
| Fastest laps    = {{F1stat|ALO|fastestlaps}}
| First race      = [[2001 Australian Grand Prix]]
| First win       = [[2003 Hungarian Grand Prix]]
| Last win        = [[2013 Spanish Grand Prix]]
| Last race       = {{Latest F1GP}}
| Last season     = 2013
| Last position   = 2nd (242 pts)
}}
Example - former driver: Ayrton Senna
{{Infobox F1 driver
| name            = Ayrton Senna
| image           = Ayrton Senna Imola 1989 Cropped.jpg
| caption         = Senna at the [[1989 San Marino Grand Prix]]
| birth_name      = Ayrton Senna da Silva
| birth_date      = {{birth date|1960|3|21|df=y}}
| birth_place     = [[São Paulo]], Brazil
| death_date      = {{death date and age|1994|5|1|1960|3|21|df=y}}
| death_place     = [[Bologna]], Italy
| nationality     = {{BRA}}ian
| Years           = {{F1|1984}}–{{F1|1994}}
| Team(s)         = [[Toleman]], [[Team Lotus|Lotus]], [[McLaren (racing)|McLaren]], [[WilliamsF1|Williams]]
| Races           = 162 (161 starts)
| Championships   = 3 ({{F1|1988}}, {{F1|1990}}, {{F1|1991}})
| Wins            = 41
| Podiums         = 80
| Points          = 610 (614)
| Poles           = 65
| Fastest laps    = 19
| First race      = [[1984 Brazilian Grand Prix]]
| First win       = [[1985 Portuguese Grand Prix]]
| Last win        = [[1993 Australian Grand Prix]]
| Last race       = [[1994 San Marino Grand Prix]]
}}

First/Last race[вироиши манбаъ]

The First/Last race fields should contain the first/last races for which the driver was *entered*, even if they didn't actually start the race.

Car number fields[вироиши манбаъ]

Since 2014, Formula One drivers each select a permanent race number which they carry throughout their career (with the exception that the reigning World Champion has the option to carry the number '1' instead of their permanent number). Drivers whose number won't change between seasons (i.e. most of them) should have the "Car number" field populated and the "YYYY Car number" fields not populated. Drivers whose number will change between seasons (i.e. the outgoing and new World Champions) should have the "YYYY Car Number" fields populated and the "Car Number" field not populated.

Updates[вироиши манбаъ]

Following the final race of the season, "Team" and "Car number" fields for the following season are added but the existing fields for the just-completed season are retained until the end of the calendar year.

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 F1 driver |child=yes <!-- or embed=yes / subbox=yes -->
| Years =
| Team(s) =
| Races =
| Championships =
| <!-- etc. -->
}} }}

The template may also be used as a subsection of {{Infobox racing driver}} as follows:

{{Infobox racing driver
| image           = 
| caption         = 
| nationality     = 
| birth_name      = 
| birth_date      = 
| birth_place     = 
| titles          = 
| title years     = 
| record template1 =
  {{Infobox F1 driver|child=yes
  | Years         = 
  | Team(s)       =  
  | Races         = 
  | Championships = 
  }}
}}

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.