Template:Stat: Difference between revisions

From Wildfrost Wiki
Jump to navigation Jump to search
(Created page with "<div style="display:inline;" title={{#switch:{{{1|}}} |Health=Health |Attack=Attack |Counter=Counter. Reduces by 1 each turn. When reaches zero the card will attack |Frenzy=Frenzy. Trigger Multiple Times |Shell=Shell. Blocks damage |Snow=Snow. Freezes Counter & Reactions |#default={{{1|}}}}}>[[File:{{{1}}}.png|22px|link=Stats]]</div>")
 
(allow word-ending links (so {{Stat|Bling}}s can replace {{Stat|Bling|Blings}}))
 
(22 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<div style="display:inline;" title={{#switch:{{{1|}}}
<noinclude>
           |Health=Health
==Usage==
           |Attack=Attack
This template is used for [[Stats]], displaying the stat's icon and providing a link to its page. The first parameter is the stat, and the second (optional) parameter is alt text.
           |Counter=Counter. Reduces by 1 each turn. When reaches zero the card will attack
{{Stat|1=the stat|2=alt text}}
           |Frenzy=Frenzy. Trigger Multiple Times
</noinclude><span style="display:inline;" title={{#switch:{{{2|}}}
           |Shell=Shell. Blocks damage
           |Hearts=Health
           |Snow=Snow. Freezes Counter & Reactions
           |HP=Health
           |#default={{{1|}}}}}>[[File:{{{1}}}.png|22px|link=Stats]]</div>
           |Spikes=Teeth
           |Pepper=Spice
           |Mushroom=Shroom
           |Reaction=Alert Icon
           |#default={{{1|}}}}}>[[File:{{{1}}}.png|x20px|sub|link={{{1}}}]]</span> [[{{{1}}}|{{{2|{{{1}}}}}}]]

Latest revision as of 15:07, 15 June 2024

Usage

This template is used for Stats, displaying the stat's icon and providing a link to its page. The first parameter is the stat, and the second (optional) parameter is alt text. File:The stat.png alt text [[File:{{{1}}}.png|x20px|sub|link={{{1}}}]] [[{{{1}}}|{{{1}}}]]