Template:WarnAlt/template: Difference between revisions

From Caps Wiki
Jump to navigation Jump to search
(create to make life easier)
 
(code tags go outside nowiki tags...)
Line 1: Line 1:
Meta-template for creating severity templates.
Meta-template for creating severity templates.
<nowiki><code>
<code><nowiki>
{{#switch: {{{1|}}}
{{#switch: {{{1|}}}
  | #default = Size argument is required.
  | #default = Size argument is required.
Line 7: Line 7:
  | small|1 =  
  | small|1 =  
}}
}}
</code></nowiki>
</nowiki></code>

Revision as of 14:53, 11 February 2022

Meta-template for creating severity templates. {{#switch: {{{1|}}} | #default = Size argument is required. | large|3 = | medium|med|2 = | small|1 = }}