Template:Infobox F1 driver/sandbox
This is the template sandbox page for Template:Infobox F1 driver (diff). See also the companion subpage for test cases. |
This template uses Lua: |
Usage
[edit][[File:{{{image}}}|{{{image_size}}}|alt={{{alt}}}|upright=1]] | |
Born | {{{birth_name}}} {{{birth_date}}} {{{birth_place}}} |
---|---|
Died | {{{death_date}}} {{{death_place}}} |
Formula One World Championship career | |
Nationality | {{{nationality}}} |
Active years | {{{years}}} |
Teams | {{{teams}}} |
2024 team | {{{2024 Team}}} |
Car number | {{{car_number}}} |
Entries | {{{races}}} |
Championships | {{{championships}}} |
Wins | {{{wins}}} |
Podiums | {{{podiums}}} |
Career points | {{{points}}} |
Pole positions | {{{poles}}} |
Fastest laps | {{{fastest_laps}}} |
First entry | {{{first_race}}} |
First win | {{{first_win}}} |
Last win | {{{last_win}}} |
Last entry | {{{last_race}}} |
[[{{{last_season}}} Formula One World Championship|{{{last_season}}}]] position | {{{last_position}}} |
British Formula One Championship career | |
Active years | {{{bf1_years}}} |
Races | {{{bf1_races}}} |
Championships | {{{bf1_championships}}} |
Wins | {{{bf1_wins}}} |
Podium finishes | {{{bf1_podiums}}} |
Career points | {{{bf1_points}}} |
Pole positions | {{{bf1_poles}}} |
Fastest laps | {{{bf1_fastest_laps}}} |
Signature | [[File:{{{signature}}}|{{{signature_size}}}|alt={{{signature_alt}}}]] |
{{{module1}}} | |
{{{module2}}} | |
{{{module3}}} | |
{{{module4}}} | |
{{{module5}}} | |
Website | {{{website}}} |
Last updated on: {{{updated}}}. |
{{Infobox F1 driver
|name =
|image =
|image_size =
|alt =
|caption =
|birth_name =
|birth_date =
|birth_place =
|death_date =
|death_place =
|nationality =
|years =
|teams = <!-- or |team = See "Teams field" section below -->
|2024 Team =
|car_number =
|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 *completed* season if the driver competed in that season, otherwise blank -->
|last_position = <!-- championship position and points scored in that season if the driver competed in that season, otherwise blank -->
|bf1_years =
|bf1_races =
|bf1_championships =
|bf1_wins =
|bf1_podiums =
|bf1_points =
|bf1_poles =
|bf1_fastest_laps =
|website =
|signature =
|signature_size =
|module =
|module2 =
|module3 =
|module4 =
|module5 =
|updated =
}}
For filling in the updated parameter, use {{subst:Date}}
or {{subst:Date|2=mdy}}
.
Examples
[edit]Charles Leclerc
[edit]Born | Monte Carlo, Monaco | 16 October 1997
---|---|
Formula One World Championship career | |
Nationality | Monégasque |
2024 team | Ferrari |
Car number | 16 |
Entries | 146 (144 starts) |
Championships | 0 |
Wins | 8 |
Podiums | 41 |
Career points | 1381 |
Pole positions | 26 |
Fastest laps | 10 |
First entry | 2018 Australian Grand Prix |
First win | 2019 Belgian Grand Prix |
Last win | 2022 Austrian Grand Prix |
Last entry | 2024 São Paulo Grand Prix |
2022 position | 2nd (308 pts) |
Website | Official website |
{{Infobox F1 driver
| name = Charles Leclerc
| image = Charles-Leclerc.jpg
| caption = Leclerc in 2020
| birth_date = {{Birth date and age|1997|10|16|df=y}}
| birth_place = [[Monte Carlo]], Monaco
| 2024 Team = [[Scuderia Ferrari|Ferrari]]
| nationality = {{flag icon|MCO}} Monégasque
| Car number = 16
| Races = {{F1stat|LEC|entries}} ({{F1stat|LEC|starts}} starts)
| Championships = 0
| Wins = {{F1stat|LEC|wins}}
| Podiums = {{F1stat|LEC|podiums}}
| Points = {{F1stat|LEC|careerpoints}}
| Poles = {{F1stat|LEC|poles}}
| Fastest laps = {{F1stat|LEC|fastestlaps}}
| First race = [[2018 Australian Grand Prix]]
| First win = [[2019 Belgian Grand Prix]]
| Last win = [[2022 Austrian Grand Prix]]
| Last race = {{Latest F1GP}}
| Last season = 2022
| Last position = 2nd (308 pts)
| website = {{Official website|https://www.charlesleclerc.com/}}
}}
Ayrton Senna
[edit]Born | Ayrton Senna da Silva 21 March 1960 São Paulo, Brazil |
---|---|
Died | 1 May 1994 Bologna, Italy | (aged 34)
Formula One World Championship career | |
Nationality | Brazilian |
Active years | 1984–1994 |
Teams | Toleman, Lotus, McLaren, Williams |
Entries | 162 (161 starts) |
Championships | 3 (1988, 1990, 1991) |
Wins | 41 |
Podiums | 80 |
Career points | 610 (614) |
Pole positions | 65 |
Fastest laps | 19 |
First entry | 1984 Brazilian Grand Prix |
First win | 1985 Portuguese Grand Prix |
Last win | 1993 Australian Grand Prix |
Last entry | 1994 San Marino Grand Prix |
{{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}}
| teams = [[Toleman]], [[Team Lotus|Lotus]], [[McLaren]], [[Williams Grand Prix Engineering|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
[edit]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.
Teams field
[edit]The "Teams" field should be populated with a list of the chassis makes the driver drove, rather than a list of teams for which they drove. So, Alain Prost's infobox contains "Teams: McLaren, Renault, Ferrari, Williams", rather than "Teams: Marlboro Team McLaren, Equipe Renault Elf, Marlboro McLaren International, Honda Marlboro McLaren, Scuderia Ferrari, [Williams Grand Prix Engineering|Canon Williams Renault]]". The main rationale for this is to keep the information in the infobox concise, noting that the team names are listed in the driver's F1 results table.
BF1 fields
[edit]The "BF1" fields contain details of the driver's participation in the British Formula One Championship.
Updates
[edit]Following the final race of the season, the "YYYY Team" field for the following season is added but the existing field for the just-completed season is retained until the end of the calendar year.
On 1 January, the "YYYY Team" field for the previous season is replaced with a hidden placeholder for the season following the new season (e.g. on 1 January 2018, the 2017 field was replaced with a placeholder for 2019). The placeholder is employed to avoid editors "helpfully" renumbering the fields to close up the gaps, only for the fields to have to be renumbered again at the end of the season.
Use as a child template
[edit]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 =
| <nowiki><!--</nowiki> ''[[et cetera|etc.]]'' <nowiki>--></nowiki>
| module =
<nowiki>{{</nowiki>{{{1|{{{template|<includeonly>{{BASEPAGENAME}}</includeonly><noinclude>EMBEDDED TEMPLATE NAME</noinclude>}}}}}} | {{#if:{{{parameter|}}} | {{{parameter}}}=yes | child=yes <nowiki><!--</nowiki> ''or'' embed=yes ''or'' subbox=yes <nowiki>--></nowiki>}}
| {{{2|{{{example_parameter1|parameter-1}}}}}} =
| {{{3|{{{example_parameter2|parameter-2}}}}}} =
| {{{4|{{{example_parameter3|parameter-3}}}}}} =
| {{{5|{{{example_parameter4|parameter-4}}}}}} =
| <nowiki><!--</nowiki> ''etc.'' <nowiki>--></nowiki>
}}
}}
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
[edit]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
[edit]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
[edit]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.