Template:Average change/doc

From blackwiki
< Template:Average change
Revision as of 15:46, 27 October 2019 by imported>Bungle (provide some documentation)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Usage

{{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

  • |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)