Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

Jump to content

Template:Average change/doc

From Wikipedia, the free encyclopedia

This template will calculate the average change (increase or decrease) of up to 6 given numerical values, either as actual or in percentage format.

Usage

[edit]
{{Average change|Value 1|Value 2|Values 3-6 (optional)|class|omitop (optional)}}

Parameters

[edit]
  • |class=actual OR percent, specifies whether the output should work out an actual average change or the equivalent percentage change. Default is actual if unspecified
  • |omitop=yes, optional, defines whether the operator (minus sign) should be omitted (for example, -2.50 would show an output of 2.5)

Examples

[edit]