Difference between revisions of "Template:Difficulty"

From Underrail Wiki
Jump to navigation Jump to search
m (Protected "Template:Difficulty": template (‎[edit=autoconfirmed] (indefinite) ‎[move=autoconfirmed] (indefinite)))
(colors from metatiles.xnb)
Line 1: Line 1:
<noinclude>[[Upper Caves]]</noinclude><sup title="{{{1|unknown}}} Difficulty" style="cursor:help; border-bottom:1px dotted;">{{#switch: {{{1}}}
+
<noinclude>[[Upper Caves]]</noinclude><sup title="{{{1|Unknown}}} Difficulty" color="{{#switch: {{{1}}}
 +
| DOMINATING = #C9144C
 +
| Hard = #FA760B
 +
| Normal = #EBC142
 +
| Easy = #58EB73
 +
| #default = inherit}}"; style="cursor:help; border-bottom:1px dotted; margin:1px;">{{#switch: {{{1}}}
 
| DOMINATING = D
 
| DOMINATING = D
 
| Hard = H
 
| Hard = H

Revision as of 15:15, 20 December 2019

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