Difference between revisions of "Skill table body/Documentation"

(Created page with "==Description== Creates a body for a skill table [https://www.semantic-mediawiki.org/wiki/Help:Inline_queries#Parser_function_.23ask inline query], using the parameters provid...")
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
==Description==
 
==Description==
Creates a body for a skill table [https://www.semantic-mediawiki.org/wiki/Help:Inline_queries#Parser_function_.23ask inline query], using the parameters provided in the original query. Used in conjunction with [[Template:SkillListTableHeader]] and [[Template:Table footer]].
+
Creates a body for a skill table [https://www.semantic-mediawiki.org/wiki/Help:Inline_queries#Parser_function_.23ask inline query], using the parameters provided in the original query. Used in conjunction with [[Template:Skill table header]] and [[Template:Table footer]].
  
 
==Usage==
 
==Usage==
Line 17: Line 17:
 
| order=asc
 
| order=asc
 
| format=template
 
| format=template
| template=SkillListTableBody
+
| introtemplate=Skill table header
| introtemplate=SkillListTableHeader
+
| template=Skill table body
 
| outrotemplate=Table footer
 
| outrotemplate=Table footer
 
}}</pre>
 
}}</pre>

Latest revision as of 14:51, 17 February 2024

Description[edit]

Creates a body for a skill table inline query, using the parameters provided in the original query. Used in conjunction with Skill table header and Table footer.

Usage[edit]

{{#ask: [[Category:Berserker skills]]
| ?Has icon
| ?Has skill name
| ?Has cast time
| ?Has range
| ?Has cost
| ?Has cost type
| ?Has cooldown
| ?Is for hero
| ?Has mastery
| ?Has skill order
| sort=Has skill order
| order=asc
| format=template
| introtemplate=Skill table header
| template=Skill table body
| outrotemplate=Table footer
}}

Parameters[edit]

Arrow.png1: The page to query.
Required.
Arrow.png2: The thumbnail image.
Required.
Arrow.png3: The page to be linked.
Required.
Arrow.png4: The skill's cast time.
Required.
Arrow.png5: The skill's range.
Required.
Arrow.png6: The skill's cost.
Required.
Arrow.png7: The skill's cost type.
Required.
Arrow.png8: The skill's cooldown.
Required.
Arrow.png9: The Hero that uses the skill.
Required.
Arrow.png10: The Mastery that uses the skill.
Required.
Arrow.png11: The location of the skill in a list.
Required.