Template:Wr-speed/doc
From Discworld MUD Wiki
This template returns a number based on a 'speed' judge rating, according to the following table:
string | rating |
---|---|
incredibly slow | 0 |
extremely slow | 1 |
very slow | 2 |
slow | 3 |
slightly slow | 4 |
rather quick | 5 |
quick | 6 |
very quick | 7 |
fast | 8 |
very fast | 9 |
extremely fast | 10 |
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-speed|extremely fast}}
10
{{Wr-speed|10}}
10
{{Wr-speed|10|reverse=true}}
extremely fast