Difference between revisions of "Template:Wr-ease"

From Discworld MUD Wiki
Jump to: navigation, search
(hard->difficult)
(Looks like both hard/difficult are required)
Line 1: Line 1:
 
<includeonly>{{#switch:{{lc:{{{1}}}}}
 
<includeonly>{{#switch:{{lc:{{{1}}}}}
 
  |incredibly difficult=0
 
  |incredibly difficult=0
 +
|incredibly hard=0
 
  |extremely difficult=1
 
  |extremely difficult=1
 +
|extremely hard=1
 
  |very difficult=2
 
  |very difficult=2
 +
|very hard=2
 
  |rather difficult=3
 
  |rather difficult=3
 +
|rather hard=3
 
  |difficult=4
 
  |difficult=4
 +
|hard=4
 
  |pretty difficult=5
 
  |pretty difficult=5
 +
|pretty hard=5
 
  |quite difficult=6
 
  |quite difficult=6
 +
|quite hard=6
 
  |reasonably difficult=7
 
  |reasonably difficult=7
 +
|reasonably hard=7
 
  |quite easy=8
 
  |quite easy=8
 
  |pretty easy=9
 
  |pretty easy=9

Revision as of 13:09, 28 January 2011

[edit]

Documentation
 

This template returns a number based on an 'ease' judge rating, according to the following tables:

Weapon ease, the default      

string rating
incredibly difficult 0
extremely difficult 1
very difficult 2
rather difficult 3
difficult 4
pretty difficult 5
quite difficult 6
reasonably difficult 7
quite easy 8
pretty easy 9
easy 10
rather easy 11
very easy 12
extremely easy 13
incredibly easy 14

Parry ease, with parry=1

string rating
incredibly hard 0
extremely hard 1
very hard 2
rather hard 3
hard 4
pretty hard 5
quite hard 6
reasonably hard 7
quite easy 8
pretty easy 9
easy 10
rather easy 11
very easy 12
extremely easy 13
incredibly easy 14

If you add an argument named "reverse" with any value (e.g. reverse=1) it will take a number and output the string instead.

  • If you want the parry ease string returned you need to add an argument named "parry" with any value (e.g. parry=1).

If you pass the template a number but do not put an argument named "reverse" it will just return the same number.

Examples
{{Wr-ease|very easy}}

12

{{Wr-ease|11}}

11

{{Wr-ease|11|reverse=true}}
rather easy