Difference between revisions of "Template:DSQ/doc"
From LFS Manual
Jump to navigationJump to search (note prep test) |
|||
| (5 intermediate revisions by the same user not shown) | |||
| Line 2: | Line 2: | ||
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. | 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 == | ||
| + | <pre> | ||
| + | {{DSQ | ||
| + | |1 = | ||
| + | |short = | ||
| + | }} | ||
| + | </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 set to <code>yes</code>, shown text "Disqualified" is abbreviated to "DSQ". | ||
| + | | {{code|yes}} | ||
| + | | {{Optional}} | ||
| + | |} | ||
=== Examples === | === Examples === | ||
| Line 10: | Line 37: | ||
| {{tl|code=1|DSQ}} | | {{tl|code=1|DSQ}} | ||
| {{DSQ}} | | {{DSQ}} | ||
| + | |- | ||
| + | | {{tl|code=1|DSQ|2=short=yes}} | ||
| + | | {{DSQ|short=yes}} | ||
|- | |- | ||
| {{tl|code=1|DSQ|Note}} | | {{tl|code=1|DSQ|Note}} | ||
| {{DSQ|Note}} | | {{DSQ|Note}} | ||
|- | |- | ||
| − | | {{tl|code=1|DSQ|Note|short}} | + | | {{tl|code=1|DSQ|2=Note|3=short=yes}} |
| − | | {{DSQ|Note|short}} | + | | {{DSQ|Note|short=yes}} |
|} | |} | ||
Latest revision as of 10:03, 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 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 |