Template:Changes/doc

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:

where:
 *   are up to 20 numbers. If a number is not known, use NA or &#&#8203;32;
 *   is an optional change calculation order:
 *   calculate percent change in ascending order. (default)
 *   calculate percent change in descending order.
 *   is an optional number of decimal places in the formatted numbers. (default=0)
 *   is an optional number of decimal places in the formatted percent changes. (default=2)
 *   is an optional color for a percent increase. (default=green)
 *   is an optional color for a percent decrease. (default=red)

Example
The following Wiki markup: creates the following table: You can put this table in descending order with :