Difference between revisions of "Template:Driver/doc"
From LFS Manual
Jump to navigationJump to search (Created page with "<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 speci...") |
|||
| Line 4: | Line 4: | ||
=== Examples === | === Examples === | ||
| − | + | {{markup| | |
| + | <nowiki>{{Driver|Average Joe|avgjoe123}}</nowiki>|{{Driver|Average Joe|avgjoe123}}}}<!-- Template:Mra --> | ||
| + | {{markup| | ||
| + | <nowiki>{{Driver|Average Joe|avgjoe123|1:24.75}}</nowiki>|{{Driver|Average Joe|avgjoe123|1:24.75}}}}<!-- Template:Mra --> | ||
<includeonly> | <includeonly> | ||
Revision as of 11:45, 26 January 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.
Examples
| Markup | Renders as |
|---|---|
{{Driver|Average Joe|avgjoe123}}
|
Average Joe (avgjoe123) |
| Markup | Renders as |
|---|---|
{{Driver|Average Joe|avgjoe123|1:24.75}}
|
Average Joe (avgjoe123) |