m fix if |
m add race-rule css class for future use |
||
Line 1: | Line 1: | ||
{{tag | {{tag | ||
|class=bg-danger text-danger | |class=bg-danger text-danger race-rule | ||
|shorttext=This is an important racing rule! | |shorttext=This is an important racing rule! | ||
|description=If you do not follow it, you may be disqualified from a race. | |description=If you do not follow it, you may be disqualified from a race. |
Revision as of 00:59, 10 February 2022
This page has been transcluded from Template:Race rule/Documentation.
Marks a section of a page as a racing rule that if not followed will result in disqualification in a race.
Usage
Note: examples have to be displayed using manual HTML to avoid adding this documentation page and itself to the category.
{{race rule|The reason it is a race rule}}
{{race rule|The reason it is a race rule|rule=The important rule}}
Need to Use Equals
If the reason you are including includes an equals sign, the easiest way to keep the template working is to explicitly number the unnamed parameter with 1=
{{race rule|1=The reason it is a race rule. This Rule = Important|rule=The important rule}}