Template:Sandbox/Aurelain/LawSummary/base: Difference between revisions

From Heroes of Might and Magic: Olden Era Official Wiki
No edit summary
No edit summary
 
Line 10: Line 10:
             -->{{LinkIcon
             -->{{LinkIcon
                 |id={{{faction}}}
                 |id={{{faction}}}
                |type=faction
                 |filename=1
                 |filename=1
                 |suffix=_icon.png
                 |suffix=_icon.png

Latest revision as of 18:52, 31 July 2026


This template is used by Template:LawSummary to render the results of its query.

1. Basic result:

Input:

{{Sandbox/Aurelain/LawSummary/base
    | lang = en
    | id = fraction_law_human_4
    | name = Elite Swordsmen
    | description = Swordsman growth in your cities increases by 4. They gain 2 Defense.
    | cost = 3
    | tier = 1
    | faction = human
}}

Output:

Swordsman growth in your cities increases by 4. They gain 2 Defense.
Tier ICost: 3 Law Seals


2. Multiple costs:

Input:

{{Sandbox/Aurelain/LawSummary/base
    | lang = en
    | id = fraction_law_human_4
    | name = Elite Swordsmen
    | description = Swordsman growth in your cities increases by 4. They gain 2 Defense.~Swordsman growth in your cities increases by 4. They gain 4 Defense.
    | cost = 3~2
    | tier = 1
    | faction = human
}}

Output:

Swordsman growth in your cities increases by 4. They gain 2/4 Defense.
Tier ICost: 3/2 Law Seals

3. Japanese:

Input:

{{Sandbox/Aurelain/LawSummary/base
    | lang = en
    | id = fraction_law_human_4
    | name = 精鋭剣士
    | description = 自都市における「剣士」の生産数が4増加し、その防御力が4増加する。
    | cost = 3
    | tier = 1
    | faction = human
}}

Output:

自都市における「剣士」の生産数が4増加し、その防御力が4増加する。
Tier ICost: 3 Law Seals