Template:Infobox F1 driver: Difference between revisions
m (1 revision imported) |
m (1 revision imported) |
||
(One intermediate revision by one other user not shown) | |||
Line 25: | Line 25: | ||
|label6 = {{#if:{{{teams|{{{Teams|{{{Team(s)|}}}}}}}}}|Teams|Team}} | |label6 = {{#if:{{{teams|{{{Teams|{{{Team(s)|}}}}}}}}}|Teams|Team}} | ||
| data6 = {{if empty|{{{teams|{{{Teams|{{{Team(s)|}}}}}}}}}|{{{team|{{{Team|}}}}}}}} | | data6 = {{if empty|{{{teams|{{{Teams|{{{Team(s)|}}}}}}}}}|{{{team|{{{Team|}}}}}}}} | ||
| | |label7 = Engines | ||
| | | data7 = {{{engines|{{{Engines|}}}}}} | ||
| | |class8 = org | ||
|label8 = {{CURRENTYEAR}} team | |||
| data8 = {{{current_team|{{{current team|{{{Current team|}}}}}}}}} | |||
|label9 = 2022 team | |label9 = 2022 team | ||
| data9 = {{{2022 Team|}}} | | data9 = {{{2022 Team|}}} | ||
|label10 = Car number | |label10 = 2023 team | ||
| | | data10 = {{{2023 Team|}}} | ||
| | |label11 = Car number | ||
| | | data11 = {{{car_number|{{{car number|{{{Car number|}}}}}}}}} | ||
| | |label12 = Entries | ||
| | | data12 = {{{races|{{{Races|}}}}}} | ||
| | |label13 = [[List of Formula One World Drivers' Champions|Championships]] | ||
| | | data13 = {{{championships|{{{Championships|}}}}}} | ||
| | |label14 = [[List of Formula One Grand Prix winners|Wins]] | ||
| | | data14 = {{{wins|{{{Wins|}}}}}} | ||
| | |label15 = Podiums | ||
| | | data15 = {{{podiums|{{{Podiums|}}}}}} | ||
| | |label16 = Career points | ||
| | | data16 = {{{points|{{{Points|}}}}}} | ||
| | |label17 = [[List of Formula One polesitters|Pole position]]s | ||
| | | data17 = {{{poles|{{{Poles|}}}}}} | ||
| | |label18 = [[List of Formula One drivers who set a fastest lap|Fastest lap]]s | ||
| | | data18 = {{{fastest_laps|{{{fastest laps|{{{Fastest laps|}}}}}}}}} | ||
| | |label19 = First entry | ||
| | | data19 = {{{first_race|{{{first race|{{{First race|}}}}}}}}} | ||
| | |label20 = First win | ||
| | | data20 = {{{first_win|{{{first win|{{{First win|}}}}}}}}} | ||
| | |label21 = Last win | ||
| | | data21 = {{{last_win|{{{last win|{{{Last win|}}}}}}}}} | ||
| | |label22 = Last entry | ||
| | | data22 = {{{last_race|{{{last race|{{{Last race|}}}}}}}}} | ||
|label23 = {{#if:{{{last_position|{{{last position|{{{Last position|}}}}}}}}}|[[{{{last_season|{{{last season|{{{Last season|}}}}}}}}} Formula One World Championship|{{{last_season|{{{last season|{{{Last season|}}}}}}}}}]] position}} | |||
| data23 = {{{last_position|{{{last position|{{{Last position|}}}}}}}}} | |||
<!-- British Formula One career --> | <!-- British Formula One career --> | ||
| | |header24 = {{#if:{{{bf1_years|{{{bf1 years|{{{BF1 Years|}}}}}}}}}{{{bf1_races|{{{bf1 races|{{{BF1 Races|}}}}}}}}}{{{bf1_championships|{{{bf1 championships|{{{BF1 Championships|}}}}}}}}}{{{bf1_wins|{{{bf1 wins|{{{BF1 Wins|}}}}}}}}}{{{bf1_podiums|{{{bf1 podiums|{{{BF1 Podiums|}}}}}}}}}{{{bf1_points|{{{bf1 points|{{{BF1 Points|}}}}}}}}}{{{bf1_poles|{{{bf1 poles|{{{BF1 Poles|}}}}}}}}}{{{bf1_fastest_laps|{{{bf1 fastest laps|{{{BF1 Fastest laps|}}}}}}}}}|[[British Formula One Championship]] career}} | ||
| | |label25 = Active years | ||
| | | data25 = {{{bf1_years|{{{bf1 years|{{{BF1 Years|}}}}}}}}} | ||
| | |label26 = Races | ||
| | | data26 = {{{bf1_races|{{{bf1 races|{{{BF1 Races|}}}}}}}}} | ||
| | |label27 = Championships | ||
| | | data27 = {{{bf1_championships|{{{bf1 championships|{{{BF1 Championships|}}}}}}}}} | ||
| | |label28 = Wins | ||
| | | data28 = {{{bf1_wins|{{{bf1 wins|{{{BF1 Wins|}}}}}}}}} | ||
| | |label29 = Podium finishes | ||
| | | data29 = {{{bf1_podiums|{{{bf1 podiums|{{{BF1 Podiums|}}}}}}}}} | ||
| | |label30 = Career points | ||
| | | data30 = {{{bf1_points|{{{bf1 points|{{{BF1 Points|}}}}}}}}} | ||
| | |label31 = [[Pole position]]s | ||
| | | data31 = {{{bf1_poles|{{{bf1 poles|{{{BF1 Poles|}}}}}}}}} | ||
| | |label32 = [[Fastest lap]]s | ||
| | | data32 = {{{bf1_fastest_laps|{{{bf1 fastest laps|{{{BF1 Fastest laps|}}}}}}}}} | ||
| | |label33 = Signature | ||
| | | data33 = {{#invoke:InfoboxImage|InfoboxImage|sizedefault=85px | ||
|image = {{{signature|}}} | |image = {{{signature|}}} | ||
|size = {{{signature_size|}}} | |size = {{{signature_size|}}} | ||
|alt = {{{signature alt|{{{signature_alt|}}}}}}}} | |alt = {{{signature alt|{{{signature_alt|}}}}}}}} | ||
| | |label39 = Website | ||
| | |data39 = {{{website|{{{homepage|{{{URL|{{{url|}}}}}}}}}}}} | ||
| | | data34 = {{{module|{{{module1|{{{record template1|{{{career template1|}}}}}}}}}}}} | ||
| | | data35 = {{{module2|{{{record template2|{{{career template2|}}}}}}}}} | ||
| | | data36 = {{{module3|{{{record template3|{{{career template3|}}}}}}}}} | ||
| | | data37 = {{{module4|{{{record template4|{{{career template4|}}}}}}}}} | ||
| | | data38 = {{{module5|{{{record template5|{{{career template5|}}}}}}}}} | ||
|below = {{#if:{{{updated|{{{Updated|}}}}}}|Last updated on: {{{updated|{{{Updated|}}}}}}.}} | |below = {{#if:{{{updated|{{{Updated|}}}}}}|Last updated on: {{{updated|{{{Updated|}}}}}}.}} | ||
}}<!-- | }}<!-- | ||
-->{{#invoke:Check for unknown parameters | check | ignoreblank = y | unknown = {{Main other|[[Category:Pages using infobox F1 driver with unknown parameters|_VALUE_{{PAGENAME}}]]}} | preview = Page using [[Template:Infobox F1 driver]] with unknown parameter "_VALUE_" | embed | child | subbox | name | Name | image | Image | image_size | upright | image_upright | alt | caption | birth_name | birth_date | birth_place | death_date | death_place | nationality | Nationality | years | Years | teams | Teams | Team(s) | team | Team | current_team | current team | Current team | | -->{{#invoke:Check for unknown parameters | check | ignoreblank = y | unknown = {{Main other|[[Category:Pages using infobox F1 driver with unknown parameters|_VALUE_{{PAGENAME}}]]}} | preview = Page using [[Template:Infobox F1 driver]] with unknown parameter "_VALUE_" | embed | child | subbox | name | Name | image | Image | image_size | upright | image_upright | alt | caption | birth_name | birth_date | birth_place | death_date | death_place | nationality | Nationality | years | Years | teams | Teams | Team(s) | team | Team | engines | Engines | current_team | current team | Current team | 2022 Team | 2023 Team | car_number | car number | Car number | races | Races | championships | Championships | wins | Wins | podiums | Podiums | points | Points | poles | Poles | fastest_laps | fastest laps | Fastest laps | first_race | first race | First race | first_win | first win | First win | last_win | last win | Last win | last_race | last race | Last race | last_position | last position | Last position | last_season | last season | Last season | bf1_years | bf1 years | BF1 Years | bf1_races | bf1 races | BF1 Races | bf1_championships | bf1 championships | BF1 Championships | bf1_wins | bf1 wins | BF1 Wins | bf1_podiums | bf1 podiums | BF1 Podiums | bf1_points | bf1 points | BF1 Points | bf1_poles | bf1 poles | BF1 Poles | bf1_fastest_laps | bf1 fastest laps | BF1 Fastest laps | signature | signature_size | signature alt | signature_alt | website | module | module1 | module2 | module3 | module4 | module5 | record template1 | record template2 | record template3 | record template4 | record template5 | career template1 | career template2 | career template3 | career template4 | career template5 | updated | Updated | ||
}}<noinclude> | }}<noinclude> | ||
{{Documentation}}<!-- place category and language links on the /doc sub-page, not here --> | {{Documentation}}<!-- place category and language links on the /doc sub-page, not here --> | ||
</noinclude> | </noinclude> |
Latest revision as of 19:12, 28 December 2022
This template uses Lua: |
Usage
[[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}}} |
2022 team | {{{2022 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 --> |2022 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 in which the driver competed --> |last_position = <!-- championship position and points scored in that season --> |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
Sebastian Vettel
Born | Heppenheim, West Germany | 3 July 1987
---|---|
Formula One World Championship career | |
Nationality | German |
2022 team | Aston Martin-Mercedes |
Car number | 5 |
Entries | 258 (257 starts) |
Championships | 4 (2010, 2011, 2012, 2013) |
Wins | 53 |
Podiums | 121 |
Career points | 3018 |
Pole positions | 57 |
Fastest laps | 38 |
First entry | 2007 United States Grand Prix |
First win | 2008 Italian Grand Prix |
Last win | 2018 Belgian Grand Prix |
Last entry | 2020 Abu Dhabi Grand Prix |
2018 position | 2nd (320 pts) |
{{Infobox F1 driver | name = Sebastian Vettel | image = Sebastian Vettel 2015 Malaysia podium 2.jpg | caption = Vettel in 2015 | nationality = {{flagicon|DEU}} German | birth_date = {{birth date and age|1987|7|3|df=y}} | birth_place = [[Heppenheim]], [[West Germany]] | 2022 Team = [[Aston Martin F1 Team|Aston Martin]]-[[Mercedes AMG High Performance Powertrains|Mercedes]] | car_number = 5 | races = {{F1stat|VET|entries}} ({{F1stat|VET|starts}} starts) | championships = 4 ({{F1|2010}}, {{F1|2011}}, {{F1|2012}}, {{F1|2013}}) | wins = {{F1stat|VET|wins}} | podiums = {{F1stat|VET|podiums}} | points = {{F1stat|VET|careerpoints}} | poles = {{F1stat|VET|poles}} | fastest_laps = {{F1stat|VET|fastestlaps}} | first_race = [[2007 United States Grand Prix]] | first_win = [[2008 Italian Grand Prix]] | last_win = [[2018 Belgian Grand Prix]] | last_race = {{Latest F1GP}} | last_season = 2018 | last_position = 2nd (320 pts) }}
Ayrton Senna
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 (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.
Teams field
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, 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
The "BF1" fields contain details of the driver's participation in the British Formula One Championship.
Updates
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
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 or 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.