Template:Changes/d/doc

This template takes two numbers and formats the first number and the percent increase or decrease from the second number for use in two columns of a table in descending order. This template is invoked recursively by Template:Changes and Template:Change2.

Use
This template has the following syntax:

where:
 *   is the target number. If the target number is not known, use NA or &#&#8203;32;.
 *   is the base number. If the base number is not known, use NA or &#&#8203;32;.
 *   is an optional number of decimal places in the formatted target number. (default=0)
 *   is an optional number of decimal places in the formatted percent change. (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 syntax:

produces the following Wiki markup: