Template:Changes
Appearance
File:Test Template Info-Icon - Version (2).svg Template documentation[view] [edit] [history] [purge]
This template takes up to 20 numbers and calculates the percent change between each pair and formats them for inclusion in a table in either ascending or descending order.
Use
This template has the following syntax:
{{Changes|number01|...|number20|order=|nd=|pd=|ic=|dc=}}
where:
number01|...|number20are up to 20 numbers. If a number is not known, use NA or  order=is an optional change calculation order:order=acalculate percent change in ascending order. (default)order=dcalculate percent change in descending order.
nd=is an optional number of decimal places in the formatted numbers. (default=0)pd=is an optional number of decimal places in the formatted percent changes. (default=2)ic=is an optional color for a percent increase. (default=green)dc=is an optional color for a percent decrease. (default=red)
See also
- This template invokes Template:Changes/a and Template:Changes/d.
- See also Template:Change2.