Difference between revisions of "Stat"
Stratonian (talk | contribs) m (only add link if user specifies) |
Stratonian (talk | contribs) m (fix) Tag: Undo |
||
Line 3: | Line 3: | ||
-->|[[File:{{{1}}}_Icon.png|?]]<!-- handle non-existent icon | -->|[[File:{{{1}}}_Icon.png|?]]<!-- handle non-existent icon | ||
-->|{{icon|{{{icon|{{{1}}}_Icon.png}}}|{{{link|{{{1}}}}}}}}}}<!-- add icon with link | -->|{{icon|{{{icon|{{{1}}}_Icon.png}}}|{{{link|{{{1}}}}}}}}}}<!-- add icon with link | ||
− | -->{{#ifeq:{{lc:{{{link}}}}}|no<!-- | + | -->{{#if:{{{label|}}}||<!-- if label exists |
− | --> | + | --> {{#ifeq:{{lc:{{{link}}}}}|no<!-- if no link is specified |
+ | -->|{{{1}}}<!-- use plaintext | ||
+ | -->|[[{{{link|{{{1}}}}}}|{{{1}}}]]}}}}<!-- else add link | ||
SET PROPERTIES | SET PROPERTIES |
Revision as of 21:36, 17 August 2023
Description
Displays a stat's icon and name, with a link to the page of the stat.
Usage
{{stat|<Attack Power>|<+123>|<icon=Attack Power.png>|<link=Attack Power>|<nolabel=yes>}}