Template:TalentIcon: Difference between revisions

From IdleOn MMO Wiki
imported>Kiokurashi
No edit summary
imported>Wekhter
mNo edit summary
 
(18 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>[[File:{{{1}}}.png|link={{{2|#{{{1}}}}}}|{{{1}}}]]{{{3|}}}</includeonly><noinclude>Use to display the icon for a talent<br/><pre>{{TalentIcon
<includeonly>[[File:{{{1}}}.png|link={{#if:{{{2|}}}|{{{2|}}}#{{{1}}}|{{PAGENAME}}#{{{1}}}}}|{{{1}}}{{#if:{{{3|}}}|{{!}}36px]] [[{{{2|}}}#{{{1|}}}|{{{1|}}}]]|]]}}</includeonly><noinclude>Display the icon for a talent. Usage:
|Bored To Death (Talent Name #Required)
<pre>{{TalentIcon
|link (Specifies link #Optional)
|Talent name (Required)
}}</pre><br/>{{TalentIcon|Bored To Death|}}</noinclude>
|Page link (Optional)
|Display text (Optional, defaults to no)
}}</pre>
 
Example 1:
<pre>{{TalentIcon|Bored To Death|}}</pre>
{{TalentIcon|Bored To Death|}}
 
Example 2:
<pre>{{TalentIcon|Bored To Death|Special Talents|y}}</pre>
{{TalentIcon|Bored To Death|Special Talents|y}}</noinclude>

Latest revision as of 20:11, 11 March 2022

Display the icon for a talent. Usage:

{{TalentIcon
|Talent name (Required)
|Page link (Optional)
|Display text (Optional, defaults to no)
}}

Example 1:

{{TalentIcon|Bored To Death|}}

Bored To Death

Example 2:

{{TalentIcon|Bored To Death|Special Talents|y}}

Bored To Death Bored To Death