Difference between revisions of "Template:Difficulty"
From sureai
(Create a new template for difficulties) |
(Remove links from the generated images) |
||
Line 1: | Line 1: | ||
<onlyinclude><includeonly>{{#switch: {{NAMESPACE}} | <onlyinclude><includeonly>{{#switch: {{NAMESPACE}} | ||
| Enderal = | | Enderal = | ||
− | [[File:EN-Quest-Ornament-Difficulty{{#ifexpr: {{{1}}} >= 1 |02|01}}.png|20px]] | + | [[File:EN-Quest-Ornament-Difficulty{{#ifexpr: {{{1}}} >= 1 |02|01}}.png|20px|link=]] |
− | [[File:EN-Quest-Ornament-Difficulty{{#ifexpr: {{{1}}} >= 2 |02|01}}.png|20px]] | + | [[File:EN-Quest-Ornament-Difficulty{{#ifexpr: {{{1}}} >= 2 |02|01}}.png|20px|link=]] |
− | [[File:EN-Quest-Ornament-Difficulty{{#ifexpr: {{{1}}} >= 3 |02|01}}.png|20px]] | + | [[File:EN-Quest-Ornament-Difficulty{{#ifexpr: {{{1}}} >= 3 |02|01}}.png|20px|link=]] |
− | [[File:EN-Quest-Ornament-Difficulty{{#ifexpr: {{{1}}} >= 4 |02|01}}.png|20px]] | + | [[File:EN-Quest-Ornament-Difficulty{{#ifexpr: {{{1}}} >= 4 |02|01}}.png|20px|link=]] |
| #default = | | #default = | ||
− | [[File:Quest-Difficulty-{{{1}}}.png|70px]] | + | [[File:Quest-Difficulty-{{{1}}}.png|70px|link=]] |
}}{{#ifeq: {{{text|0}}} | 1 | {{#switch: {{{1}}} | }}{{#ifeq: {{{text|0}}} | 1 | {{#switch: {{{1}}} |
Revision as of 11:56, 20 December 2018
This template creates a difficulty meter that varies according to which namespace it is used on.
Parameters
- 1: The numeric value of the difficulty, from 0 to 4, inclusive
- text (Optional): If set to 1, adds a text describind the difficulty next to it
Examples
{{Difficulty|0|text=1}}
Very Easy
{{Difficulty|3}}
{{Difficulty|4|text=1}}
Very Hard