Difference between revisions of "Template:Required"

From Asmbly Wiki
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
<div style="width:90%; margin-right:auto; margin-left:auto; color:white; background-color:crimson; text-align:center; vertical-align:center">  
+
<div style="width:90%; margin-right:auto; margin-left:auto; color:white; background-color:crimson; text-align:center; vertical-align:middle">  
  
 
[[file:ClassWarningIcon.png|50px]]
 
[[file:ClassWarningIcon.png|50px]]
Line 17: Line 17:
 
Example:
 
Example:
 
   <nowiki>{{Required|Woodshop Safety}}</nowiki>
 
   <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:center"">  
+
<div style="width:90%; margin-right:auto; margin-left:auto; color:white; background-color:crimson; text-align:center; vertical-align:middle">  
  
 
[[file:ClassWarningIcon.png|50px]]
 
[[file:ClassWarningIcon.png|50px]]

Revision as of 23:47, 25 August 2023


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