Template:StatDisplay/render: Difference between revisions
From Heroes of Might and Magic: Olden Era Official Wiki
No edit summary |
No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 14: | Line 14: | ||
</noinclude><includeonly><div style="flex:1; text-align:center;"><div style="margin-top: | </noinclude><includeonly><div style="flex:1; text-align:center;"> | ||
<div style="margin-top:4px;"> | |||
{{Hint|[[File:{{{filename}}}|32px|link=]]|{{#if:{{{link|}}}|[[{{{link}}}{{#ifeq:{{{lang|en}}}|en||/{{{lang}}}}}|{{{text}}}]]|{{{text}}}}}}} {{{stat}}}</div></div> | |||
</includeonly> | |||
Latest revision as of 14:31, 6 August 2026
This is an internal template used by Template:StatDisplay to render the numbers/text/icon in a Hero or Unit infobox. Use that template instead of this one unless you have a good reason.
{{StatDisplay/render|stat=4|filename=Icon Stats Attack.png|link=Attack|text=Attack|lang=en}}
{{StatDisplay/render|stat=4|filename=Icon Stats Spell Power.png|link=Spell Power|text=Spell Power|lang=pl}}


