Template:Percent and number/doc

This template may be used to generate a percentage of total followed by the number. For the reverse, see number and percent.

Optional parameters
For two-column table output, use table

To insert a line break before the parenthetical expression, use br

To add a prefix to the numbers, use prefix; for example,

To add a suffix to the number, use suffix; for example,

To pad the result with zeros to achieve the desired precision, use yes.

To override the default right alignment in table mode, use left or center.

Basic examples
&rarr; 17% (3,333)

&rarr; 16.665% (3,333)

&rarr; NaN% (NaN)

&rarr; NaN% (NaN)

&rarr; 11.1000% (111)

&rarr; 17% (3,333)