Template:Wr-overall/doc

From Discworld MUD Wiki
Jump to: navigation, search

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

string rating
atrocious 0
extremely poor 1
very poor 2
rather poor 3
poor 4
pretty poor 5
quite poor 6
reasonable 7
quite good 8
pretty good 9
good 10
rather good 11
very good 12
extremely good 13
excellent 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-overall|very good}}

12

{{Wr-overall|11}}

11

{{Wr-overall|11|reverse=true}}

rather good