Template:Wr-damage
From Discworld MUD Wiki
[edit]
DocumentationThis template returns a number based on a 'damage' judge rating, according to the following table:
string | rating |
---|---|
incredibly low | 0 |
extremely low | 1 |
very low | 2 |
rather low | 3 |
low | 4 |
pretty low | 5 |
quite low | 6 |
reasonable | 7 |
quite high | 8 |
pretty high | 9 |
high | 10 |
rather high | 11 |
very high | 12 |
extremely high | 13 |
incredibly high | 14 |
If you add an argument named "reverse" with any value it will take a number and output the string instead.
If you pass the template a number but do not put an argument named "reverse" it will just return the same number.
- Examples
{{Wr-damage|rather high}}
11
{{Wr-damage|11}}
11
{{Wr-damage|11|reverse=true}}rather high