Template:StatDisplay/render: Difference between revisions
From Heroes of Might and Magic: Olden Era Official Wiki
No edit summary |
No edit summary |
||
| 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;">{{{stat}}} <!--[[File:{{{filename}}}{{!}}x32px{{!}}link={{{link|}}}{{#ifeq:{{{lang|en}}}|en||/{{{lang}}}}}]]<br><small>{{#if:{{{link|}}}|[[{{{link}}}{{#ifeq:{{{lang|en}}}|en||/{{{lang}}}}}|{{{text}}}]]|{{{text}}}}}</small>--> | ||
{{Hint|[[File:{{{filename}}}|32px|link=]]|{{#if:{{{link|}}}|[[{{{link}}}{{#ifeq:{{{lang|en}}}|en||/{{{lang}}}}}|{{{text}}}]]|{{{text}}}}}}}</div></div></includeonly> | |||
Revision as of 21:15, 4 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}}
4
Attack
{{StatDisplay/render|stat=4|filename=Icon Stats Spell Power.png|link=Spell Power|text=Spell Power|lang=pl}}
17
Moc zaklęć


