Template:Changes/doc
This is a documentation subpage for Template:Changes. It may contain usage information, categories and other content that is not part of the original template page. |
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[edit]
This template has the following syntax:
{{Changes|number01|...|number20|order=|nd=|pd=|ic=|dc=}}
where:
number01|...|number20
are up to 20 numbers. If a number is not known, use NA or  order=
is an optional change calculation order:order=a
calculate percent change in ascending order. (default)order=d
calculate 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[edit]
- This template invokes Template:Changes/a and Template:Changes/d.
- See also Template:Change2.