Jump to content

User:Bamkin/F1careerSandbox

From Wikipedia, the free encyclopedia

New template (under construction)

[edit]

AthleteTimeline is used to summarise the seasons or major events of an athlete's or team's career or participation in a regular series of events, which are documented elsewhere on Wikipedia.

Usage

[edit]

The template may be used by using the following basic format

{{User:Bamkin/AthleteTimeline
| sportSeries = 
| debutYear =
| result1
| result2
| result3
   ...
| retired = 
}}

Parameters

[edit]
Parameter Required Description
sportSeries yes Defines the sport series or series of athletic events.

The parameter and capitalisation must match the Wikipedia pages for that series

e.g. sportSeries=Tour de France

e.g. sportSeries=Formula One season (note the capitalisation to match the Wikipedia pages)

debutYear yes The year of the athlete's first full or half season

e.g. debutYear=1980

athleteName no The name of the athlete as it should display in the template output

e.g. Valteri Bottas or BOT or Car number 77

If the parameter is blank, no name or link to the athlete page is displayed

athletePage no The name of the Wikipedia page on this athlete

The default is the athleteName provided

result1 yes Results are expressed as a series of special words:

Season Athlete contested this season or event.

HalfSeason Athlete participated in part of the season.

P3 Athlete took third place overall.

P2 Athlete took second place overall.

P1 Athlete took first place overall.

Break Athlete did not participate in this season or event, on a break or due to injury.

(All special words begin with a capital letter)

result2,

result3

...

result25

no Formatting is the same as result1. Each result is separate by a vertical bar (i.e. as a separate parameter).

For example:

HalfSeason|Season|P3|P2|P1|P1|Break|Break|Season|P3
currentSeason no If the athlete or sportsperson is competing in a current season or event, special words are used

currentlyRacing symbol athleteTimelineCurrentlyRacing Displays a 'race start' green flag to symbolise the current season for motorsport.

currentlyRacing symbol athleteTimelineCompetingWheel Displays a wheel to symbolise the current season for cycling and wheelchair athletics and sports.

currentlyRacing symbol athleteTimelineCurrentlyBatting Displays a bat to symbolise the current season for batting games and events events.

currentlyRacing symbol athleteTimelineCurrentlyDancing Displays a pair of toe-shoes to symbolise the current season for dance events.

currentlyRacing symbol athleteTimelineCurrentlyPlayingRacket Displays a racket to symbolise the current season for racket sports and events.

currentlyRacing symbol athleteTimelineCurrentlyPlayingBoot Displays a boot to symbolise the current season for footballs, field sports and running.

If used, the following parameter should be retired=no

retired no Is the athlete retired.

The default is retired=yes

Problem example (multiple series do not align properly)

[edit]

The code:

{|
|+[[Chris Froome]] in [[Grand Tours|Grand Tour (cycling)]]
|[[Giro d'Italia]]
|{{User:Bamkin/AthleteTimeline|sportSeries=Giro d'Italia|debutYear=2008|Break|Season|Season|Break|Break|Break|Break|Break|Break|Break|P1|Break}}
|-
|[[Tour de France]]
|{{User:Bamkin/AthleteTimeline|sportSeries=Tour de France|debutYear=2008|Season|Break|Break|Break|P2|P1|Season|P1|P1|P1|P3|Break}}
|-
|[[Vuelta a España]]
|{{User:Bamkin/AthleteTimeline|sportSeries=Vuelta a España|debutYear=2008|Break|Break|Break|P1|Season|Break|P2|Season|P2|P1|Break|Break}}
|}
 

Displays as:

Chris Froome in Grand Tour (cycling)
Giro d'Italia Debut2008 Giro d'Italia2009 Giro d'Italia2010 Giro d'Italia2011 Giro d'Italia2012 Giro d'Italia2013 Giro d'Italia2014 Giro d'Italia2015 Giro d'Italia2016 Giro d'Italia2017 Giro d'Italia2018 Giro d'Italia2019 Giro d'ItaliaEnd
Tour de France Debut2008 Tour de France2009 Tour de France2010 Tour de France2011 Tour de France2012 Tour de France2013 Tour de France2014 Tour de France2015 Tour de France2016 Tour de France2017 Tour de France2018 Tour de France2019 Tour de FranceEnd
Vuelta a España Debut2008 Vuelta a España2009 Vuelta a España2010 Vuelta a España2011 Vuelta a España2012 Vuelta a España2013 Vuelta a España2014 Vuelta a España2015 Vuelta a España2016 Vuelta a España2017 Vuelta a España2018 Vuelta a España2019 Vuelta a EspañaEnd

FRO: Debut2008 Vuelta a España2009 Vuelta a España2010 Vuelta a España2011 Vuelta a España2012 Vuelta a España2013 Vuelta a España2014 Vuelta a España2015 Vuelta a España2016 Vuelta a España2017 Vuelta a España2018 Vuelta a España2019 Vuelta a EspañaEnd

Working example (F1 driver careers)

[edit]
Driver Titles Season(s)
Germany Michael Schumacher 7 1994, 1995, 2000, 2001, 2002, 2003, 2004 Debut1991 Formula One season1992 Formula One season1993 Formula One season1994 Formula One season1995 Formula One season1996 Formula One season1997 Formula One season1998 Formula One season1999 Formula One season2000 Formula One season2001 Formula One season2002 Formula One season2003 Formula One season2004 Formula One season2005 Formula One season2006 Formula One season2007 Formula One season2008 Formula One season2009 Formula One season2010 Formula One season2011 Formula One season2012 Formula One seasonEnd
United Kingdom Lewis Hamilton 6 2008, 2014, 2015, 2017, 2018, 2019 Debut2007 Formula One season2008 Formula One season2009 Formula One season2010 Formula One season2011 Formula One season2012 Formula One season2013 Formula One season2014 Formula One season2015 Formula One season2016 Formula One season2017 Formula One season2018 Formula One season2019 Formula One season2020 Formula One season
Argentina Juan Manuel Fangio 5 1951, 1954, 1955, 1956, 1957 Debut1950 Formula One season1951 Formula One season1952 Formula One season1953 Formula One season1954 Formula One season1955 Formula One season1956 Formula One season1957 Formula One season1958 Formula One seasonEnd
France Alain Prost 4 1985, 1986, 1989, 1993 Debut1980 Formula One season1981 Formula One season1982 Formula One season1983 Formula One season1984 Formula One season1985 Formula One season1986 Formula One season1987 Formula One season1988 Formula One season1989 Formula One season1990 Formula One season1991 Formula One season1992 Formula One seasonEnd
Germany Sebastian Vettel 2010, 2011, 2012, 2013 Debut2007 Formula One season2008 Formula One season2009 Formula One season2010 Formula One season2011 Formula One season2012 Formula One season2013 Formula One season2014 Formula One season2015 Formula One season2016 Formula One season2017 Formula One season2018 Formula One season2019 Formula One season2020 Formula One season
Australia Jack Brabham 3 1959, 1960, 1966
United Kingdom Jackie Stewart 1969, 1971, 1973
Austria Niki Lauda 1975, 1977, 1984 Debut1971 Formula One season1972 Formula One season1973 Formula One season1974 Formula One season1975 Formula One season1976 Formula One season1977 Formula One season1978 Formula One season1979 Formula One season1980 Formula One season1981 Formula One season1982 Formula One season1983 Formula One seasonEnd
Brazil Nelson Piquet 1981, 1983, 1987
Brazil Ayrton Senna 1988, 1990, 1991 Debut1984 Formula One season1985 Formula One season1986 Formula One season1987 Formula One season1988 Formula One season1989 Formula One season1990 Formula One season1991 Formula One season1992 Formula One season1993 Formula One season1994 Formula One seasonEnd
Italy Alberto Ascari 2 1952, 1953
United Kingdom Graham Hill 1962, 1968
United Kingdom Jim Clark 1963, 1965
Brazil Emerson Fittipaldi 1972, 1974
Finland Mika Häkkinen 1998, 1999
Spain Fernando Alonso 2005, 2006 Debut2001 Formula One season2002 Formula One season2003 Formula One season2004 Formula One season2005 Formula One season2006 Formula One season2007 Formula One season2008 Formula One season2009 Formula One season2010 Formula One season2011 Formula One season2012 Formula One season2013 Formula One season2014 Formula One season2015 Formula One season2016 Formula One season2017 Formula One season2018 Formula One season2019 Formula One season2020 Formula One season
Italy Giuseppe Farina 1 1950
United Kingdom Mike Hawthorn 1958
United States Phil Hill 1961
United Kingdom John Surtees 1964
New Zealand Denny Hulme 1967
Austria Jochen Rindt 1970
United Kingdom James Hunt 1976
United States Mario Andretti 1978
South Africa Jody Scheckter 1979
Australia Alan Jones 1980
Finland Keke Rosberg 1982
United Kingdom Nigel Mansell 1992
United Kingdom Damon Hill 1996
Canada Jacques Villeneuve 1997
Finland Kimi Räikkönen 2007
United Kingdom Jenson Button 2009
Germany Nico Rosberg 2016 Debut2006 Formula One season2007 Formula One season2008 Formula One season2009 Formula One season2010 Formula One season2011 Formula One season2012 Formula One season2013 Formula One season2014 Formula One season2015 Formula One season2016 Formula One seasonEnd

Drivers in bold are entered in the 2020 World Championship.