Template:Motorsport result
Result |
Colors cells according to {{Motorsport driver results legend}}
Colour | Result |
---|---|
Gold | Winner |
Silver | Second place |
Bronze | Third place |
Green | Points finish |
Blue | Non-points finish |
Non-classified finish (NC) | |
Purple | Retired (Ret) |
Red | Did not qualify (DNQ) |
Did not pre-qualify (DNPQ) | |
Black | Disqualified (DSQ) |
White | Did not start (DNS) |
Withdrew (WD) | |
Race cancelled (C) | |
Blank | Did not practice (DNP) |
Did not arrive (DNA) | |
Excluded (EX) |
Usage
This template is used within a table cell to style the cell and text, e.g.:
{| class="wikitable"|-
|{{Motorsport result}}
|}
The template may be used with the full text of the result as |res=
or |1=
{{Motorsport result|res=Winner}}
→
Winner |
{{Motorsport result|Second place}}
→
Second place |
The color name, as it appears in {{Motorsport driver results legend}}, as well as abbreviations from that table, may also be used, with the text specified separately by |text=
or |2=
. This can also be set to blank.
{{Motorsport result|Bronze|text=3rd Place}}
→
3rd Place |
{{Motorsport result|NC|Non-classified}}
→
Non-classified |
{{Motorsport result|DNQ|}}
Text
→
Text |
Additional styles can be set with |style=
or |s=
, e.g.
{{Motorsport result|DNS|style=color:red}}
→
DNS |
Additional attributes can be set with |attr=
or |3=
, e.g.
{{Motorsport result|DSQ|Disqualified|attr=rowspan=2}}
or {{Motorsport result|DSQ|Disqualified|rowspan{{=}}2}}
→
Driver 1 | Disqualified |
Driver 2 |