Template:StatDisplay/render: Difference between revisions
From Heroes of Might and Magic: Olden Era Official Wiki
Created page with "<noinclude> 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. <pre><nowiki>{{StatDisplay/render|stat=4|filename=Icon Stats Attack.png|link=Attack|text=Attack|lang=en}}</nowiki></pre> {{StatDisplay/render|stat=4|filename=Icon Stats Attack.png|link=Attack|text=Attack|lang=en}} <pre><nowiki>{{StatDisplay/render|stat=4|filename=Ic..." |
No edit summary |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 11: | Line 11: | ||
<pre><nowiki>{{StatDisplay/render|stat=4|filename=Icon Stats Spell Power.png|link=Spell Power|text=Spell Power|lang=pl}}</nowiki></pre> | <pre><nowiki>{{StatDisplay/render|stat=4|filename=Icon Stats Spell Power.png|link=Spell Power|text=Spell Power|lang=pl}}</nowiki></pre> | ||
{{StatDisplay/render|stat=17|filename=Icon Stats Spell Power.png|link=Spell Power|text= | {{StatDisplay/render|stat=17|filename=Icon Stats Spell Power.png|link=Spell Power|text=Moc zaklęć|lang=pl}} | ||
</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}}


