Template:Percent/doc

This template is used to apply a standard format to percentage values in an input string. It is mainly to be used inside other templates, and especially intended for proper localization of percentages, since different countries use different formats. Note that this means that the template may have no effect if used in the English wiki, since the input values are likely already in the correct English format.

Usage
The input string. The template will detect and process the following:
 * First unnamed parameter
 * Percentages (natural and decimal, positive and negative)
 * Decimals (positive and negative)
 * Fractions (positive and negative)

Decimals and fractions will be rounded to two decimal places.

If the input string does not consist of any of these, a percent sign will be simply be added to it.