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!
+
| #default = undefined talent!
 
|}}{{#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!
+
| #default = undefined talent!
 
}}| }}{{#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!
+
| #default = undefined talent!
 
}}| }}{{#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!
+
| #default = undefined talent!
 
}}| }}</includeonly><noinclude>
 
}}| }}</includeonly><noinclude>
  
Line 39: Line 39:
 
<code><nowiki>{{ItemTalent|S|C}}</nowiki></code> = [[Image:talent_S.jpg]][[Image:talent_C.jpg]]
 
<code><nowiki>{{ItemTalent|S|C}}</nowiki></code> = [[Image:talent_S.jpg]][[Image:talent_C.jpg]]
  
<code><nowiki>{{ItemTalent|S|C|C}}</nowiki></code> = [[Image:talent_S.jpg]][[Image:talent_C.jpg]][[Image:talent_C.jpg]]
+
<code><nowiki>{{ItemTalent|s|c|P}}</nowiki></code> = [[Image:talent_S.jpg]][[Image:talent_C.jpg]]undefined talent!
 
+
<code><nowiki>{{ItemTalent|s|c|S|C}}</nowiki></code> = ERROR TYPE !
+
 
+
<code><nowiki>{{ItemTalent|brown|brown|red}}</nowiki></code> = ERROR TYPE ! , ERROR TYPE ! , Attack
+
  
 
</noinclude>
 
</noinclude>

Revision as of 19:05, 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|P}} = Talent S.jpgTalent C.jpgundefined talent!


      
Personal tools
Namespaces

Variants
Actions
Navigation
Tools