Difference between revisions of "Talent table body/Documentation"

(Created page with "==Description== Creates a body for a Passive talent table for [https://www.semantic-mediawiki.org/wiki/Help:Inline_queries#Parser_function_.23ask inline queries], using pa...")
 
m
 
(One intermediate revision by the same user not shown)
Line 4: Line 4:
 
==Usage==
 
==Usage==
 
<pre>{{#ask: [[Category:Passive talents]]
 
<pre>{{#ask: [[Category:Passive talents]]
| ?Has talent name
+
|?Has icon
| ?Has stat|+index=2
+
|?Has branch
| ?Has stat|+index=3
+
|?Has tier
| format=template
+
|format=template
| introtemplate=Talent table header
+
|introtemplate=Talent table header
| template=Talent table body
+
|template=Talent table body
| outrotemplate=Table footer
+
|outrotemplate=Table footer
 +
|link=none
 
}}</pre>
 
}}</pre>
  
 
==Parameters==
 
==Parameters==
 
{{parameter|1|The page to query.}}
 
{{parameter|1|The page to query.}}
{{parameter|2|The name of the talent.}}
+
{{parameter|2|The icon of the talent.}}
{{parameter|3|The name of the base stat.}}
+
{{parameter|3|The branch of the talent.}}
{{parameter|4|The value of the stat increase.}}
+
{{parameter|4|The tier of the talent.}}
 
<includeonly>[[Category:Table templates]]</includeonly>
 
<includeonly>[[Category:Table templates]]</includeonly>

Latest revision as of 21:00, 1 June 2024

Description[edit]

Creates a body for a Passive talent table for inline queries, using parameters provided in the original query. Used in conjunction with Talent table header and Table footer.

Usage[edit]

{{#ask: [[Category:Passive talents]]
|?Has icon
|?Has branch
|?Has tier
|format=template
|introtemplate=Talent table header
|template=Talent table body
|outrotemplate=Table footer
|link=none
}}

Parameters[edit]

Arrow.png1: The page to query.
Required.
Arrow.png2: The icon of the talent.
Required.
Arrow.png3: The branch of the talent.
Required.
Arrow.png4: The tier of the talent.
Required.