Difference between revisions of "Template:Required"

From Asmbly Wiki
Line 17: Line 17:
 
Example:
 
Example:
 
   <nowiki>{{Required|Woodshop Safety}}</nowiki>
 
   <nowiki>{{Required|Woodshop Safety}}</nowiki>
{{Required|Woodshop Safety}}
+
<div style="width:90%; margin-right:auto; margin-left:auto; color:white; background-color:crimson; text-align:center;">
 +
 
 +
[[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>

Revision as of 02:54, 2 October 2021


Prints a lovely warning box about class prerequisites for a tool

Usage:

 {{Required|ClassName}}

Example:

 {{Required|Woodshop Safety}}

ClassWarningIcon.png Members must complete the Woodshop Safety Class before using this tool