Jump to content

Template:Motorsport result/doc

From Wikipedia, the free encyclopedia

Color cells according to {{Motorsport driver results legend}}:

Colour Result Shortcut
Gold Winner g or 1st
Silver Second place s or 2nd
Bronze Third place b or 3rd
Green Points finish p
Blue Non-points finish np
Non-classified finish (NC) nc
Purple Retired (Ret) ret
Red Did not qualify (DNQ) dnq
Did not pre-qualify (DNPQ) dnpq
Black Disqualified (DSQ) dsq
White Did not start (DNS) dns
Withdrew (WD) wd
Race cancelled (C) c
Blank Did not practice (DNP) dnp
Did not arrive (DNA) dna
Excluded (EX) ex

Other colors available:

Colour Result Shortcut
Sky blue Other points (Indy) op
Brown Withdrew (Indy / NASCAR) wth
Light blue Practiced only (F1) po
Test driver (F1) td

Usage

[edit]

This template may alternatively be called using {{msrslt}}.

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

See also

[edit]