Template:ItemTalent

From Card Hunter Wiki
(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
 
{{#switch: {{ucfirst:{{{1|}}} }}
 
{{#switch: {{ucfirst:{{{1|}}} }}
| S = [[Image:talent_S.jpg]]
+
| S = [[Image:TalentBronzeFlat.png]]
| C = [[Image:talent_C.jpg]]
+
| 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>
 
|}}{{#if: {{{2|}}}|
 
|}}{{#if: {{{2|}}}|
Line 32: Line 34:
 
</pre>
 
</pre>
  
CS notation is used when denoting talent costs. C is circle, S is square.
+
CSTH notation is used when denoting talent costs. C is circle, S is square, T is triangle, H is hexagon.
  
 
== Examples ==
 
== Examples ==

Revision as of 21:17, 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
|Symbol 3 (optional), another symbol to display
|Symbol 4 (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|C|S|}} = Talent C.jpgTalent S.jpg

{{ItemTalent|S|C}} = Talent S.jpgTalent C.jpg

{{ItemTalent|s|c|P}} = Talent S.jpgTalent C.jpgundefined talent!


      
Personal tools
Namespaces

Variants
Actions
Navigation
Tools