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...")
 
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>
  

Revision as of 20:59, 1 June 2024

Description

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

{{#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

Arrow.png1: The page to query.
Required.
Arrow.png2: The name of the talent.
Required.
Arrow.png3: The name of the base stat.
Required.
Arrow.png4: The value of the stat increase.
Required.