Difference between revisions of "Stat/Documentation"

(Added documentation page)
 
m (→‎Parameters: Documentation update for clarity)
Line 4: Line 4:
 
{{bullet}} '''icon''': The stat's icon.
 
{{bullet}} '''icon''': The stat's icon.
  
{{bullet}} '''name''': The name of the stat.
+
{{bullet}} '''name''': The name of the stat. Functions as both the name of the article to be linked and the text displayed next to the icon.
 +
 
 +
{{bullet}} '''alt''': Optional. Replaces the text to be displayed next to the icon.
  
{{bullet}} '''alt''': Optional. The alternative text of the stat.
 
 
==Usage==
 
==Usage==
 
<pre>{{stat|Attack.png|Attack|Attack}}</pre>
 
<pre>{{stat|Attack.png|Attack|Attack}}</pre>

Revision as of 18:10, 15 February 2023

Description

Displays a stat's icon and name, with a link to the page of the stat.

Parameters

icon: The stat's icon.

name: The name of the stat. Functions as both the name of the article to be linked and the text displayed next to the icon.

alt: Optional. Replaces the text to be displayed next to the icon.

Usage

{{stat|Attack.png|Attack|Attack}}