Difference between revisions of "Template:Driver/doc"
From LFS Manual
Jump to navigationJump to searchm |
|||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude>{{documentation subpage}}</noinclude> | <noinclude>{{documentation subpage}}</noinclude> | ||
− | Formats a driver name, username and laptime. It can be used in both plain text and table cells. Two optional parameters specify the driver's name and their username, respectively. If the <code>|laptime=</code> parameter is defined, it gets put in front of the driver info. | + | Formats a driver name, username and laptime. It can be used in both plain text and table cells. Two optional parameters specify the driver's name and their username, respectively. If the <code>|laptime=</code> parameter is defined, it gets put in front of the driver info, separated with a vertical line (pipe) symbol (<code>|</code>). |
− | For indicating podium positions in table cells, see templates {{tl|code=1|1st}}, {{tl|code=1|2nd}}, {{tl|code=1|3rd}}. | + | For indicating podium positions in colored table cells, see templates {{tl|code=1|1st}}, {{tl|code=1|2nd}}, {{tl|code=1|3rd}}. |
=== Examples === | === Examples === |
Latest revision as of 17:45, 16 June 2024
This is a documentation subpage for Template:Driver.
It may contain usage information, categories and other content that is not part of the original page. |
Formats a driver name, username and laptime. It can be used in both plain text and table cells. Two optional parameters specify the driver's name and their username, respectively. If the |laptime=
parameter is defined, it gets put in front of the driver info, separated with a vertical line (pipe) symbol (|
).
For indicating podium positions in colored table cells, see templates {{1st}}
, {{2nd}}
, {{3rd}}
.
Examples
Markup | Renders as |
---|---|
{{Driver|Average Joe|avgjoe123}} |
Average Joe (avgjoe123) |
Markup | Renders as |
---|---|
{{Driver|Average Joe|avgjoe123|laptime=1:24.75}} |
1:24.75 | Average Joe (avgjoe123) |