Template:F1 stats
please enter the statistics type
F1 stats = Build Formula One race statistics.
This template may be used to enter the F1 race statistics. It will set the background color, italics for fastest lap, and bold for pole position.
Parameters
- |first
- Unnamed parameter, identifies what type of entry will be made.
- driver updates the entry on the driver's page.
- stats updates the entries on the Formula One season page.
- Unnamed parameter, identifies what type of entry will be made.
- |race
- Grand Prix race name three letter code.
- gbr for British Grand Prix, etc.
- Grand Prix race name three letter code.
- |pos=
- The driver's finishing position.
- Number 1 and up, or a text code from the driver legend.
- The driver's finishing position.
- |pole=
- Driver won the pole position.
- yes or no. Defaults to no.
- Driver won the pole position.
- |fast=
- Driver set the fastest lap.
- yes or no. Defaults to no.
- Driver set the fastest lap.
- |class=
- Did not finish the Grand Prix, but was classified. Completed over 90% of the race distance.
- yes or no. Defaults to no.
- Did not finish the Grand Prix, but was classified. Completed over 90% of the race distance.
Usage
- Basic parameters
- {{F1 stats|driver|race=|pos=}}
- {{F1 stats|stats|race=|pos=}}
- Full parameters
- {{F1 stats|driver|race=|pos=|pole=|fast=|class=}}
- {{F1 stats|stats|race=|pos=|pole=|fast=|class=}}
Examples
{{F1 stats|driver|race=gbr|pos=4|pole=yes|fast=yes}} gives:
GBR 4 |
{{F1 stats|driver|race=gbr|pos=17|class=yes}} gives:
GBR 17† |
{{F1 stats|driver|race=gbr|pos=Ret}} gives:
GBR Ret |
{{F1 stats|stats|race=gbr|pos=1}} gives:
1 |
{{F1 stats|stats|race=gbr|pos=1|pole=yes|fast=yes}} gives:
1 |
{{F1 stats|stats|race=gbr|pos=17|class=yes}} gives:
17† |
Other templates
This template calls other sub-templates, {{F1 stats background}} and {{F1 stats race}}.
The above documentation is transcluded from Template:F1 stats/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |