Difference between revisions of "Template:Difficulty"

From Underrail Wiki
Jump to navigation Jump to search
m
(using semantically correct abbr element)
 
Line 1: Line 1:
<noinclude>[[Upper Caves]]</noinclude><sup title="{{{1|Unknown}}} Difficulty" style="color:{{#switch: {{{1}}}
+
<noinclude>[[Upper Caves]]</noinclude><sup><abbr title="{{{1|Unknown}}} Difficulty" style="color:{{#switch: {{{1}}}
 
| DOMINATING = #C9144C
 
| DOMINATING = #C9144C
 
| Hard = #FA760B
 
| Hard = #FA760B
Line 9: Line 9:
 
| Normal = N
 
| Normal = N
 
| Easy = E
 
| Easy = E
| #default = ?}}</sup><noinclude>
+
| #default = ?}}</abbr></sup><noinclude>
  
 
{{documentation}}</noinclude>
 
{{documentation}}</noinclude>

Latest revision as of 06:43, 12 January 2020

Upper Caves?

Template documentation follows
Note: the template above may sometimes be partially or fully invisible.
Visit Template:Difficulty/doc to view this documentation. (edit) (How does this work?)
Description
This template is used for small inline difficulty notes. It is used by templates {{Easy}}, {{Normal}}, {{Hard}}, {{DOMINATING}}.
Syntax
Insert this template using one of the difficulty names: {{Easy}}, {{Normal}}, {{Hard}}, {{DOMINATING}}
Example
[[Upper Caves]]{{Easy}}{{Normal}}{{Hard}}{{DOMINATING}} results in Upper CavesENHD