Difference between revisions of "Stat"
Stratonian (talk | contribs) m |
Stratonian (talk | contribs) m |
||
Line 1: | Line 1: | ||
− | <includeonly>{{#if:{{{2|}}}|{{{2}}} }} | + | <includeonly>{{#if:{{{2|}}}|{{{2}}} }}{{!((}}{{#iferror:{{icon|{{{icon|{{{1}}}_Icon.png}}}}}||{{icon|{{{icon|{{{1}}}_Icon.png}}}}} }}|{{#if:{{{label|}}}||{{{link|{{{1}}}}}}|{{{1}}}}}{{!))}}</includeonly><noinclude>{{Stat/Documentation}}</noinclude> |
+ | {{stat|Attack Power}} |
Revision as of 16:31, 24 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>}}
Parameters
- link: The page link.
- Optional. Defaults to '
{{{1}}}
'. - Notes: If set to '
no
', label will be plaintext.
- nolabel: Determines whether the name of the stat is shown.
- Optional.
- Notes: Set this parameter any value to hide label text.
[[ |Attack Power]] Template loop detected: Template:Stat