Template:StatDiff

From Heroes of Might and Magic: Olden Era Official Wiki

Compares two numbers and displays an upwards/downwards arrow, with an explicatory Hint.

Usage

1. Upwards:

Input: {{StatDiff|105|100}}

Output: This stat is higher compared to the base unit.

Base: 100
Increase: +5


2. Downwards:

Input: {{StatDiff|95|100}}

Output: This stat is lower compared to the base unit.

Base: 100
Decrease: −5


3. Equality:

Input: {{StatDiff|100|100}}

Output:


4. Japanese:

Input: {{StatDiff|105|100|lang=ja}}

Output: This stat is higher compared to the base unit.💬

Base:💬 100
Increase:💬 +5