Template:Sandbox/Aurelain/LawSummary/base: Difference between revisions
From Heroes of Might and Magic: Olden Era Official Wiki
No edit summary |
No edit summary |
||
| (9 intermediate revisions by the same user not shown) | |||
| Line 8: | Line 8: | ||
--><div class='about'><!-- | --><div class='about'><!-- | ||
--><div class='name'>{{{name}}}</div><!-- | --><div class='name'>{{{name}}}</div><!-- | ||
--> | -->{{LinkIcon | ||
|id={{{faction}}} | |||
|type=faction | |||
|filename=1 | |||
|suffix=_icon.png | |||
|lang={{{lang}}} | |||
|link={{#switch: {{{faction}}} | |||
|human=Temple_Laws | |||
|undead=Necropolis_Laws | |||
|nature=Grove_Laws | |||
|demon=Hive_Laws | |||
|unfrozen=Schism_Laws | |||
|dungeon=Dungeon_Laws | |||
}} | |||
}}<!-- | |||
--></div><!-- | --></div><!-- | ||
--></div><!-- | --></div><!-- | ||
-->{{#invoke:Sandbox/Aurelain/LawSummary|compactText|text={{{description}}}}}<!-- | -->{{#invoke:Sandbox/Aurelain/LawSummary|compactText|text={{{description}}}}}<!-- | ||
--><div class='ribbon'><!-- | |||
--><span class='field'><!-- | |||
-->{{Translation|wiki_law_tier|{{{lang}}}}} {{#invoke:Roman|main|{{{tier}}}}}<!-- | |||
--></span><!-- | |||
--><span class='field'><!-- | |||
-->{{Translation|wiki_cost|{{{lang}}}}}: <!-- | |||
-->{{#invoke:Sandbox/Aurelain/LawSummary|compactCost|text={{{cost}}}}} <!-- | |||
-->{{Hint|[[File:Icon_LawsPoint.png|16px|link=]]|{{Translation|wiki_law_seals|{{{lang}}}}}}}<!-- | |||
--></span><!-- | |||
--></div><!-- | |||
--></div><!-- | --></div><!-- | ||
################################################################################ | ################################################################################ | ||
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


