Difference between revisions of "Talent table body"
Stratonian (talk | contribs) m |
Stratonian (talk | contribs) (better image displaying) |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
− | | {{#if:{{{2|}}}|[[File:{{{2}}}|x30px|link={{{1}}}]] }}[[{{{1}}}]] || {{{3}}} || {{{4}}} | + | | {{#if:{{{2|}}}|[[File:{{{2}}}|x30px|link={{{1}}}]] <!-- if icon parameter exists, use icon |
+ | -->|{{#ifexist:File:{{{1}}}.png|[[File:{{{1}}}.png]] }}}}<!-- else try to display a default icon | ||
+ | -->[[{{{1}}}]] || {{{3}}} || {{{4}}} | ||
|- | |- | ||
</includeonly><noinclude>{{{{PAGENAME}}/Documentation}}</noinclude> | </includeonly><noinclude>{{{{PAGENAME}}/Documentation}}</noinclude> |
Revision as of 21:52, 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 }}