Difference between revisions of "Template:Required"
From Asmbly Wiki
(Created page with "<includeonly> <div style="width:90%; margin-right:auto; margin-left:auto; color:white; background-color:crimson; text-align:center;"> 50px <Fon...") |
|||
(9 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
− | <div style="width:90%; margin-right:auto; margin-left:auto; color:white; background-color:crimson; text-align:center;"> | + | <div style="width:90%; margin-right:auto; margin-left:auto; color:white; background-color:crimson; text-align:center; vertical-align:middle; line-height: 60px"> |
[[file:ClassWarningIcon.png|50px]] | [[file:ClassWarningIcon.png|50px]] | ||
Line 6: | Line 6: | ||
</div> | </div> | ||
+ | [[Category:Training_Required]] | ||
</includeonly> | </includeonly> | ||
Line 15: | Line 16: | ||
Example: | Example: | ||
− | <nowiki>{{Required| | + | <nowiki>{{Required|Woodshop Safety}}</nowiki> |
− | + | <div style="width:90%; margin-right:auto; margin-left:auto; color:white; background-color:crimson; text-align:center; vertical-align:middle; line-height: 60px"> | |
+ | |||
+ | [[file:ClassWarningIcon.png|50px]] | ||
+ | <Font style="font-size:150%;">Members must complete the <b>[[Woodshop Safety Class]]</b> before using this tool</font> | ||
+ | |||
+ | </div> | ||
</noinclude> | </noinclude> |
Latest revision as of 23:49, 25 August 2023
Prints a lovely warning box about class prerequisites for a tool
Usage:
{{Required|ClassName}}
Example:
{{Required|Woodshop Safety}}
Members must complete the Woodshop Safety Class before using this tool