Difference between revisions of "Stat/Documentation"

m (outdated error)
m (→‎Parameters: added note)
Line 8: Line 8:
 
{{parameter|2|The value of the stat.|}}
 
{{parameter|2|The value of the stat.|}}
 
{{parameter|icon|The stat's icon.|{{{1}}}_Icon.png}}
 
{{parameter|icon|The stat's icon.|{{{1}}}_Icon.png}}
{{parameter|link|The page link.|{{{1}}}}}
+
{{parameter|link|The page link.|{{{1}}}|If set to '<code>no</code>', label will be plaintext.}}
{{parameter|label|Determines whether the name of the state is shown.||Set this parameter any value to hide the name.}}
+
{{parameter|label|Determines whether the name of the stat is shown.||Set this parameter any value to hide the name.}}

Revision as of 21:38, 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>|<label=no>}}

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.pnglabel: Determines whether the name of the stat is shown.
Optional.
Notes: Set this parameter any value to hide the name.