Template:Map/Percentage/doc

This template tests if the first parameter is a valid percentage - i.e. a number between 0 and 100.

Usage
{{T|Percentage|Number in question|Default value}
 * Number in question : The number to be tested if it's greater or equal 0 and lesser or equal 100
 * Default value : If the number is out of bounds, no number at all or an empty string, the default value is returned; If the default value is omitted, the template returns 0

Examples

 * returns NaN%
 * returns NaN%
 * returns NaN%
 * returns NaN%
 * returns NaN%
 * returns NaN%
 * returns NaN%
 * returns NaN%