Difference between revisions of "Talent table body"

m
m (icon column)
 
Line 2: Line 2:
 
| {{#if:{{{2|}}}|[[File:{{{2}}}|x30px|link={{{1}}}]]&nbsp;<!-- if icon parameter exists, use icon
 
| {{#if:{{{2|}}}|[[File:{{{2}}}|x30px|link={{{1}}}]]&nbsp;<!-- if icon parameter exists, use icon
 
-->|{{#ifexist:File:{{{1}}}.png|[[File:{{{1}}}.png|x30px|link={{{1}}}]]&nbsp;}}}}<!-- else try to display a default icon
 
-->|{{#ifexist:File:{{{1}}}.png|[[File:{{{1}}}.png|x30px|link={{{1}}}]]&nbsp;}}}}<!-- else try to display a default icon
-->[[{{{1}}}]] || {{{3}}} || {{{4}}}
+
--> || [[{{{1}}}]] || {{{3}}} || {{{4}}}
 
|-
 
|-
 
</includeonly><noinclude>{{{{PAGENAME}}/Documentation}}</noinclude>
 
</includeonly><noinclude>{{{{PAGENAME}}/Documentation}}</noinclude>

Latest revision as of 19:23, 29 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.