Template:Average change
Appearance
This template employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages. You can conduct experiments, and should test all major changes, in either this template's sandbox, the general template sandbox, or your user space before changing anything here. |
Usage
[edit]{{Average change|Value 1|Value 2|Value 3 (optional)|Value 4 (optional)|Value 5 (optional)|Class|Type}}
This template is used for calculating the average change (increase or decrease) of a given collection of numerical values, up to a maximum of 5.
Parameters
[edit]|class=actual OR percent
, mandatory, specifies whether the output should work out an actual average change or the equivalent percentage change|type=decrease OR d
, optional, defines whether the calculated change should be calculated as a decrease (default is increase)