Difference between revisions of "Skill row format/Documentation"

m
(Edited the documentation to explicitly state how it is meant to be used.)
Line 1: Line 1:
==Documation==
+
==Documentation==
Creates a custom [[Template:Skill row|skill row]] using the parameters provided.
+
Used in conjunction with [[Template:Skill row|skill row]]. Formats the skill row using the parameters provided in the original query.
 
==Parameters==
 
==Parameters==
{{bullet}}'''(unnamed parameter)''':
+
{{bullet}}'''(unnamed parameter)''': Unused. The page that was queried.
  
 
{{bullet}}'''(unnamed parameter)''': The thumbnail image to be used.
 
{{bullet}}'''(unnamed parameter)''': The thumbnail image to be used.
Line 10: Line 10:
 
{{bullet}}'''(unnamed parameter)''': The description of the skill.
 
{{bullet}}'''(unnamed parameter)''': The description of the skill.
 
==Usage==
 
==Usage==
<pre>{{Skill row format||E (Berserker).png|E (Berserker)|The Berserker leaps into a target area, stunning all enemies in the area for 1 second and dealing physical damage (Dexterity). The leap generates 25 rage.}}</pre>
+
<pre>{{#ask: [[E (Berserker)]]
 +
| ?Has icon
 +
| ?Has skill name
 +
| ?Has description
 +
| format=template
 +
| template=Skill row format
 +
}}</pre>

Revision as of 20:38, 1 February 2022

Documentation

Used in conjunction with skill row. Formats the skill row using the parameters provided in the original query.

Parameters

(unnamed parameter): Unused. The page that was queried.

(unnamed parameter): The thumbnail image to be used.

(unnamed parameter): The page to be linked.

(unnamed parameter): The description of the skill.

Usage

{{#ask: [[E (Berserker)]]
| ?Has icon
| ?Has skill name
| ?Has description
| format=template
| template=Skill row format
}}