Template:Chance/doc

A standardized way of probability presentation.

Usage
The fraction of chance. e.g.,. It does not need to be an irreducible fraction, the template will reduce it if needed.
 * First unnamed parameter

Rounds off the percent number to a multiple of 1/10 raised to a power, with the exponent equal to this number. Default value is.
 * Second unnamed parameter

If set, when the actual number of digits is less than the given value specified by the second unnamed parameter, it will pad the percent number with zeros to that length.
 * pad

Prevents automatic reduction of the fraction.
 * reduce

If set to f, only output fractal part; if set to p, only output percent part.
 * mode

Options
Example: A:

B:

It will output: