Template:ItemTalent
From Card Hunter Wiki
(Difference between revisions)
| Line 1: | Line 1: | ||
| − | <includeonly> | + | <includeonly>{{#switch: {{ucfirst:{{{1|}}} }} |
| − | {{#switch: {{ucfirst:{{{1|}}} }} | + | |
| S = [[Image:TalentBronzeFlat.png]] | | S = [[Image:TalentBronzeFlat.png]] | ||
| C = [[Image:TalentNormalFlat.png]] | | C = [[Image:TalentNormalFlat.png]] | ||
| Line 8: | Line 7: | ||
|}}{{#if: {{{2|}}}| | |}}{{#if: {{{2|}}}| | ||
{{#switch: {{ucfirst:{{{2}}} }} | {{#switch: {{ucfirst:{{{2}}} }} | ||
| − | | S = [[Image: | + | | S = [[Image:TalentBronzeFlat.png]] |
| − | | C = [[Image: | + | | C = [[Image:TalentNormalFlat.png]] |
| − | | | + | | T = [[Image:TalentSilverFlat.png]] |
| − | + | | H = [[Image:TalentGoldFlat.png]] | |
| − | + | ||
| − | + | ||
| − | | | + | |
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| #default = <span style="color:red">undefined talent!</span> | | #default = <span style="color:red">undefined talent!</span> | ||
}}| }}</includeonly><noinclude> | }}| }}</includeonly><noinclude> | ||
| Line 29: | Line 20: | ||
|Symbol 1 (optional), pick one of the letters below to show that talent symbol | |Symbol 1 (optional), pick one of the letters below to show that talent symbol | ||
|Symbol 2 (optional), another symbol to display | |Symbol 2 (optional), another symbol to display | ||
| − | |||
| − | |||
}} | }} | ||
</pre> | </pre> | ||
| Line 37: | Line 26: | ||
== Examples == | == Examples == | ||
| − | <code><nowiki>{{ItemTalent|C|S | + | <code><nowiki>{{ItemTalent|C|S}}</nowiki></code> = {{ItemTalent|C|S}} |
| − | <code><nowiki>{{ItemTalent|S|C}}</nowiki></code> = | + | <code><nowiki>{{ItemTalent|S|C}}</nowiki></code> = {{ItemTalent|S|C}} |
<code><nowiki>{{ItemTalent|s|c|P}}</nowiki></code> = [[Image:talent_S.jpg]][[Image:talent_C.jpg]]<span style="color:red">undefined talent!</span> | <code><nowiki>{{ItemTalent|s|c|P}}</nowiki></code> = [[Image:talent_S.jpg]][[Image:talent_C.jpg]]<span style="color:red">undefined talent!</span> | ||
</noinclude> | </noinclude> | ||
Revision as of 21:19, 14 February 2013
Displays a talent symbol. Usage:
{{ItemTalent
|Symbol 1 (optional), pick one of the letters below to show that talent symbol
|Symbol 2 (optional), another symbol to display
}}
CSTH notation is used when denoting talent costs. C is circle, S is square, T is triangle, H is hexagon.
Examples
{{ItemTalent|s|c|P}} = ![]()
undefined talent!