Template:TalentIcon: Difference between revisions
From IdleOn MMO Wiki
imported>Wekhter mNo edit summary |
imported>Wekhter mNo edit summary |
||
(10 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>[[File:{{{1}}}.png|link={{ | <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: | ||
| | <pre>{{TalentIcon | ||
|link ( | |Talent name (Required) | ||
}}</pre>< | |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|}}
Example 2:
{{TalentIcon|Bored To Death|Special Talents|y}}