Template:F1 stats/doc
This is a documentation subpage for Template:F1 stats. It may contain usage information, categories and other content that is not part of the original template page. |
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
change- |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
change- 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
change{{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
changeThis template calls other sub-templates, {{F1 stats background}} and {{F1 stats race}}.