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 8: Line 8:
         --><div class='about'><!--
         --><div class='about'><!--
             --><div class='name'>{{{name}}}</div><!--
             --><div class='name'>{{{name}}}</div><!--
             -->{{LinkIcon|id={{{faction}}}|lang={{{lang}}}}}<!--
             -->{{LinkIcon|id={{{faction}}}|filename=1|lang={{{lang}}}}}<!--
             -->{{F|{{{faction}}}|{{{lang}}}}}<!--
             -->{{F|{{{faction}}}|{{{lang}}}}}<!--
         --></div><!--
         --></div><!--

Revision as of 06:21, 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