Difference between revisions of "Stat/Documentation"

m (→‎Usage: usage update)
Line 2: Line 2:
 
Displays a stat's icon and name, with a link to the page of the stat.
 
Displays a stat's icon and name, with a link to the page of the stat.
 
==Usage==
 
==Usage==
{{T|stat|Attack Power.png|Attack Power|Attack Power}}
+
{{T|stat|Attack Power|+123|icon{{=}}Attack Power.png|link{{=}}Attack Power}}
 +
 
 
==Parameters==
 
==Parameters==
 
{{parameter|1|The name of the stat.}}
 
{{parameter|1|The name of the stat.}}

Revision as of 13:27, 12 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>}}

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}}}.png'.
Arrow.pnglink: The page link.
Optional. Defaults to '{{{1}}}'.