Difference between revisions of "Skill row format/Documentation"
Stratonian (talk | contribs) m (→Usage: Added use case) |
Stratonian (talk | contribs) m (→Usage: useless query) |
||
Line 21: | Line 21: | ||
}}</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: | ||
− | <pre>{{skill row format| | + | <pre>{{skill row format||E (Berserker).png|E (Berserker)|Custom Description}}</pre> |
Revision as of 12:38, 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||E (Berserker).png|E (Berserker)|Custom Description}}