Difference between revisions of "Skill row format/Documentation"
Stratonian (talk | contribs) m (→Parameters) |
Stratonian (talk | contribs) m |
||
Line 1: | Line 1: | ||
==Description== | ==Description== | ||
Used in conjunction with [[Template:Skill row|skill row]]. Formats the skill row using the parameters provided in the original query. | Used in conjunction with [[Template:Skill row|skill row]]. Formats the skill row using the parameters provided in the original query. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
==Usage== | ==Usage== | ||
This template is usually used with queries like so: | This template is usually used with queries like so: | ||
Line 18: | Line 12: | ||
}}</pre> | }}</pre> | ||
For skills with custom parameters or no dedicated wiki article, the template can be used like so: | For skills with custom parameters or no dedicated wiki article, the template can be used like so: | ||
− | + | {{T|skill row format||E (Berserker).png|E (Berserker)|Custom Description}} | |
+ | |||
+ | ==Parameters== | ||
+ | {{parameter|1|The page to be queried.}} | ||
+ | {{parameter|icon|The skill's icon.}} | ||
+ | {{parameter|name|The name of the skill.}} | ||
+ | {{parameter|description|The description of the skill.}} |
Revision as of 20:15, 25 February 2023
Description
Used in conjunction with skill row. Formats the skill row using the parameters provided in the original query.
Usage
This template is usually used with queries like so:
{{#ask: [[E (Berserker)]] | ?Has icon | ?Has skill name | ?Has description | format=template | template=Skill row format }}
For skills with custom parameters or no dedicated wiki article, the template can be used like so: {{skill row format|<E (Berserker).png>|<E (Berserker)>|<Custom Description>}}