Difference between revisions of "Template:DSQ/doc"
From LFS Manual
Jump to navigationJump to search (→Usage) |
|||
| Line 6: | Line 6: | ||
<pre> | <pre> | ||
{{DSQ | {{DSQ | ||
| − | |1 = | + | |1 = |
| − | |short = | + | |short = |
}} | }} | ||
</pre> | </pre> | ||
| + | |||
| + | == Parameters == | ||
| + | {| class="wikitable" | ||
| + | |+ {{NAMESPACE}}:{{BASEPAGENAME}} parameters and basic guidelines | ||
| + | ! scope="col" | Parameter | ||
| + | ! scope="col" | Explanation | ||
| + | ! scope="col" width="271px" | Example values | ||
| + | ! scope="col" | Required? | ||
| + | |- | ||
| + | ! scope="row" | 1 | ||
| + | | Footnote for the status reason, if any. Unnamed parameter. | ||
| + | | {{code|Reason}} | ||
| + | | {{Optional}} | ||
| + | |- | ||
| + | ! scope="row" | short | ||
| + | | When a value is set to <code>yes</code>, shown text "Disqualified" is abbreviated to "DSQ". | ||
| + | | {{code|yes}} | ||
| + | | {{Optional}} | ||
| + | |} | ||
| + | |||
=== Examples === | === Examples === | ||
Revision as of 09:55, 25 June 2025
| This is a documentation subpage for Template:DSQ.
It may contain usage information, categories and other content that is not part of the original page. |
This is a table cell template used to fill cells of a table to indicate a driver that has been disqualified from final race results.
Usage
{{DSQ
|1 =
|short =
}}
Parameters
| Parameter | Explanation | Example values | Required? |
|---|---|---|---|
| 1 | Footnote for the status reason, if any. Unnamed parameter. | Reason
|
Optional |
| short | When a value is set to yes, shown text "Disqualified" is abbreviated to "DSQ".
|
yes
|
Optional |
Examples
| What to type | What it produces |
|---|---|
{{DSQ}}
|
Disqualified |
{{DSQ|short=yes}}
|
DSQ |
{{DSQ|Note}}
|
DisqualifiedNote |
{{DSQ|Note|short=yes}}
|
DSQNote |