Difference between revisions of "Stat"

m
m
Line 1: Line 1:
<includeonly>{{#if:{{{2|}}}|{{{2}}}&nbsp;}}{{!((}}{{#iferror:{{icon|{{{icon|{{{1}}}_Icon.png}}}}}||{{icon|{{{icon|{{{1}}}_Icon.png}}}}}&nbsp;}}{{!}}{{#if:{{{label|}}}||{{{link|{{{1}}}}}}|{{{1}}}}}{{!))}}</includeonly><noinclude>{{Stat/Documentation}}</noinclude>
+
<includeonly>{{#if:{{{2|}}}|{{{2}}}&nbsp;}}[[{{#iferror:{{icon|{{{icon|{{{1}}}_Icon.png}}}}}||{{icon|{{{icon|{{{1}}}_Icon.png}}}}}&nbsp;}}|{{#if:{{{label|}}}||{{{link|{{{1}}}}}}|{{{1}}}}}]]</includeonly><noinclude>{{Stat/Documentation}}</noinclude>
 +
{{Stat|Attack Power}}

Revision as of 16:33, 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

Arrow.png1: The name of the stat.
Required.
Arrow.png2: The value of the stat.
Optional.
Arrow.pngicon: The stat's icon.
Optional. Defaults to '{{{1}}}_Icon.png'.
Arrow.pnglink: The page link.
Optional. Defaults to '{{{1}}}'.
Notes: If set to 'no', label will be plaintext.
Arrow.pngnolabel: Determines whether the name of the stat is shown.
Optional.
Notes: Set this parameter any value to hide label text.

[[Attack Power Icon.png |Attack Power]] Template loop detected: Template:Stat