Template:StatDiff

From Heroes of Might and Magic: Olden Era Official Wiki
Revision as of 09:52, 15 July 2026 by Aurelain (talk | contribs) (Created page with "<includeonly><!-- -->{{#ifexpr: {{{1|}}}>{{{2|}}}|<!-- --><sup>{{Hint |10px|link= |This stat is higher compared to the base unit.<!-- -->}}</sup>|}}<!-- -->{{#ifexpr: {{{1|}}}<{{{2|}}}|<!-- --><sup>{{Hint |10px|link= |This stat is lower compared to the base unit.<!-- -->}}</sup>|}}<!-- --></includeonly><!-- ########################################################...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

Usage

1. Upwards:

Input: {{StatDiff|100|105}}

Output:

       This stat is lower compared to the base unit.

2. Downwards:

Input: {{StatDiff|100|95}}

Output:

       This stat is higher compared to the base unit.



3. Equality:

Input: {{StatDiff|100|100}}

Output:


4. Japanese:

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

Output:

       This stat is lower compared to the base unit.