Difference between revisions of "Stat"
Stratonian (talk | contribs) m |
Stratonian (talk | contribs) (Added "Has stat" property) |
||
Line 4: | Line 4: | ||
-->|{{icon|{{{icon|{{{1}}}_Icon.png}}}|{{{link|{{{1}}}}}}}}}}<!-- add icon with link | -->|{{icon|{{{icon|{{{1}}}_Icon.png}}}|{{{link|{{{1}}}}}}}}}}<!-- add icon with link | ||
-->{{#if:{{{label|}}}|| [[{{{link|{{{1}}}}}}|{{{1}}}]]}}<!-- handle label | -->{{#if:{{{label|}}}|| [[{{{link|{{{1}}}}}}|{{{1}}}]]}}<!-- handle label | ||
− | --></includeonly><noinclude>{{Stat/Documentation}}</noinclude> | + | |
+ | if the page is a Skill, then set a property | ||
+ | -->{{#ifeq:[[:{{PAGENAME}}|{{PAGENAME}}]]<!-- | ||
+ | -->|{{#ask: [[Category:Skills]] [[{{PAGENAME}}]]}}<!-- Category:Skills | ||
+ | -->|{{#set:Has stat={{{1}}}}}}}</includeonly><noinclude>{{Stat/Documentation}}</noinclude> |
Revision as of 20:53, 30 March 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>}}