Template:Difference

From Archaelund Wiki
Revision as of 18:54, 6 February 2024 by MikeB (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Description

This template formats any input number as a bonus/malus. Positive numbers are highlighted in green and receive a preceding plus sign, while negative numbers are highlighted in red. Zeros are ouputted in standard color without any sign.

Usage

{{Difference|<number>}}

Note that this template only supports numbers. Any non-numeric input will result in an error message.


View/Edit documentation page