User:Bamkin/F1careerSandbox

From Wikipedia, the free encyclopedia

New template (under construction)

Summarize
Perspective

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

The template may be used by using the following basic format

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

Parameters

More information Parameter, Required ...
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

Close

Problem example (multiple series do not align properly)

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)

Drivers in bold are entered in the 2020 World Championship.

Loading related searches...

Wikiwand - on

Seamless Wikipedia browsing. On steroids.