Difference between revisions of "Skill row format/Documentation"
Stratonian (talk | contribs) m (→Parameters: renamed params) |
Stratonian (talk | contribs) m (→Usage: Added use case) |
||
Line 11: | Line 11: | ||
==Usage== | ==Usage== | ||
− | <pre>{{#ask: [[E (Berserker)]] | + | This template is usually used with queries like so: |
+ | <pre> | ||
+ | {{#ask: [[E (Berserker)]] | ||
| ?Has icon | | ?Has icon | ||
| ?Has skill name | | ?Has skill name | ||
Line 18: | Line 20: | ||
| template=Skill row format | | template=Skill row format | ||
}}</pre> | }}</pre> | ||
+ | For skills with custom parameters or no dedicated wiki article, the template can be used like so: | ||
+ | <pre>{{skill row format|Query|E (Berserker).png|E (Berserker)|Custom Description}}</pre> |
Revision as of 08:17, 16 February 2023
Description
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.
•icon: The skill's icon.
•name: The name of the skill.
•description: The description of the skill.
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|Query|E (Berserker).png|E (Berserker)|Custom Description}}