Template:ItemTalent

From Card Hunter Wiki
(Difference between revisions)
Jump to: navigation, search
Line 3: Line 3:
 
| S = [[Image:talent_S.jpg]]
 
| S = [[Image:talent_S.jpg]]
 
| C = [[Image:talent_C.jpg]]
 
| C = [[Image:talent_C.jpg]]
 +
| #default = wrong talent, pls check input!
 
|}}{{#if: {{{2|}}}|
 
|}}{{#if: {{{2|}}}|
 
{{#switch: {{ucfirst:{{{2}}} }}
 
{{#switch: {{ucfirst:{{{2}}} }}
 
| S = [[Image:talent_S.jpg]]
 
| S = [[Image:talent_S.jpg]]
 
| C = [[Image:talent_C.jpg]]
 
| C = [[Image:talent_C.jpg]]
 +
| #default = wrong talent, pls check input!
 
}}| }}{{#if: {{{3|}}}|
 
}}| }}{{#if: {{{3|}}}|
 
{{#switch: {{ucfirst:{{{3}}} }}
 
{{#switch: {{ucfirst:{{{3}}} }}
 
| S = [[Image:talent_S.jpg]]
 
| S = [[Image:talent_S.jpg]]
 
| C = [[Image:talent_C.jpg]]
 
| C = [[Image:talent_C.jpg]]
 +
| #default = wrong talent, pls check input!
 
}}| }}{{#if: {{{4|}}}|
 
}}| }}{{#if: {{{4|}}}|
 
{{#switch: {{ucfirst:{{{4}}} }}
 
{{#switch: {{ucfirst:{{{4}}} }}
 
| S = [[Image:talent_S.jpg]]
 
| S = [[Image:talent_S.jpg]]
 
| C = [[Image:talent_C.jpg]]
 
| C = [[Image:talent_C.jpg]]
 +
| #default = wrong talent, pls check input!
 
}}| }}</includeonly><noinclude>
 
}}| }}</includeonly><noinclude>
  
Line 31: Line 35:
  
 
== Examples ==
 
== Examples ==
<code><nowiki>{{ItemTalent|C|S|}}</nowiki></code> = Attack
+
<code><nowiki>{{ItemTalent|C|S|}}</nowiki></code> = [[Image:talent_C.jpg]][[Image:talent_S.jpg]]
  
<code><nowiki>{{ItemTalent|S|C}}</nowiki></code> = Attack
+
<code><nowiki>{{ItemTalent|S|C}}</nowiki></code> = [[Image:talent_S.jpg]][[Image:talent_C.jpg]]
  
<code><nowiki>{{ItemTalent|red|blue|green}}</nowiki></code> = Attack , Movement , Block
+
<code><nowiki>{{ItemTalent|S|C|C}}</nowiki></code> = [[Image:talent_S.jpg]][[Image:talent_C.jpg]][[Image:talent_C.jpg]]
  
<code><nowiki>{{ItemTalent|brown}}</nowiki></code> = ERROR TYPE !
+
<code><nowiki>{{ItemTalent|s|c|S|C}}</nowiki></code> = ERROR TYPE !
  
 
<code><nowiki>{{ItemTalent|brown|brown|red}}</nowiki></code> = ERROR TYPE ! , ERROR TYPE ! , Attack  
 
<code><nowiki>{{ItemTalent|brown|brown|red}}</nowiki></code> = ERROR TYPE ! , ERROR TYPE ! , Attack  
  
 
</noinclude>
 
</noinclude>

Revision as of 20:03, 20 December 2012


Displays a talent symbol. Usage:

{{ItemTalent
|Symbol 1 (optional), pick one of the letters/numbers 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
}}

CS notation is used when denoting talent costs. C is circle, S is square.

Examples

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

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

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

{{ItemTalent|s|c|S|C}} = ERROR TYPE !

{{ItemTalent|brown|brown|red}} = ERROR TYPE ! , ERROR TYPE ! , Attack


      
Personal tools
Namespaces

Variants
Actions
Navigation
Tools