User:AB-me/Sandbox/Racing table2

Pos. Driver BHR
Bahrain
MON
Monaco
BAK
Azerbaijan
SIL
United Kingdom
MNZ
Italy
SOC
Russia
JDH
Saudi Arabia
YMC
United Arab Emirates
Points
1 China Guanyu Zhou 0
2 New Zealand Liam Lawson 0
3 India Jehan Daruvala 0
4 Australia Oscar Piastri 0
5 United Kingdom Dan Ticktum 0
6 Netherlands Richard Verschoor 0
7 Denmark Christian Lundgaard 0
8 Russia Robert Shwartzman 0
9 Germany David Beckmann 0
10 New Zealand Marcus Armstrong 0
11 France Théo Pourchaire 0
12 Brazil Felipe Drugovich 0
13 Germany Lirim Zendeli 0
14 Japan Marino Sato 0
15 Italy Matteo Nannini 0
16 Estonia Jüri Vips 0
17 Brazil Guilherme Samaia 0
18 Netherlands Bent Viscaal 0
19 Israel Roy Nissany 0
20 Brazil Gianluca Petecof 0
21 Switzerland Ralph Boschung 0
22 Italy Alessio Deledda 0
Pos. Driver BHR
Bahrain
MON
Monaco
BAK
Azerbaijan
SIL
United Kingdom
MNZ
Italy
SOC
Russia
JDH
Saudi Arabia
YMC
United Arab Emirates
Points

Primary goal

edit

Planned features

edit
  • Automatic calculation of points, including eg. fastest lap, pole

Planned arguments

edit
Name Required/optional Description Default Example
Basic
events Required Comma-separated sequential[n 1] list of event codes events=AUT,STY,HUN,GBR,ANI,ESP,BEL,ITA
event_EVENTCODE Optional, one per EVENTCODE Event table column header content EVENTCODE event_AUT=[[2020 Austrian Grand Prix|AUT]]<br />{{flagicon|AUT}}
participants Required Comma-separated sequential[n 2] list of participant codes participants=BOT,LEC,NOR,HAM,SAI,PER,GAS,OCO,GIO,VET,LAT,KVY,ALB,RAI,RUS,GRO,MAG,STR,RIC,VER
participant_PARTICIPANTCODE Optional, one per PARTICIPANTCODE Participant table row header content PARTICIPANTCODE participant_BOT={{flagicon|FIN}} [[Valtteri Bottas]]
Notes
notes Optional Comma-separated prioritized[n 3] list of note codes nil notes=Ret,DNF,P,F
note_NOTECODE Optional, one per NOTECODE Text shown when note is invoked NOTECODE note_DNF=†
Point system
pointSystem
pointSystem_POINTSYSTEMCODE
Optional Comma-separated sequential[n 4] list of points awarded pointSystem=25,18,15,12,10,8,6,4,2,1
pointSystem_HALF=12.5,9,7.5,6,5,4,3,2,1,0.5 |pointSystem_SPRINT=15,12,10,8,6,4,2,1
pointNotes_NOTECODE
pointNotes_POINTSYSTEMCODE_NOTECODE
Optional Point adjustment for note nil pointNotes_F=1
pointNotes_P=4 |pointNotes_SPRINT_F=2 |
Results
result_EVENTCODE
result_EVENTCODE_n
Optional Comma-separated sequential[n 5] list of finishing participants in the race nil result_AUT=BOT,LEC,NOR,HAM,SAI,PER,GAS,OCO,GIO,VET,LAT,KVY,ALB
result_AUT_2=DRU,DEL,TIC,SHW,LUN,MAT,SCH,AIT,ILO,MAZ,TSU,NIS,PIQ,ZHO,SAM,DAR,SAT,MAR
resultNotes_EVENTCODE_NOTECODE
resultNotes_EVENTCODE_n_NOTECODE
Optional Comma-separated list of participants in the event column to whom the note applies to nil resultNotes_AUT_Ret=RAI,RUS,GRO,MAG,STR,RIC,VER
Miscellaneous
text_participant Optional Text used for the "participant" header Participant text_participant=Driver
eventColumns Optional Default number of columns (races, etc.) per event 1 eventColumns=2
eventColumns_EVENTCODE Optional Number of columns (races, etc.) for specific event if different from default 1 eventColumns_AUT=4
  1. ^ In the order they will appear in the table header
  2. ^ In the order they will appear in the ranking
  3. ^ Order defines order of notes when shown alongside or instead of results
  4. ^ From first place onwards
  5. ^ From first place onwards