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: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:talent_S.jpg]]
+
| S = [[Image:TalentBronzeFlat.png]]
| C = [[Image:talent_C.jpg]]
+
| C = [[Image:TalentNormalFlat.png]]
| #default = <span style="color:red">undefined talent!</span>
+
| T = [[Image:TalentSilverFlat.png]]
}}| }}{{#if: {{{3|}}}|
+
| H = [[Image:TalentGoldFlat.png]]
{{#switch: {{ucfirst:{{{3}}} }}
+
| S = [[Image:talent_S.jpg]]
+
| C = [[Image:talent_C.jpg]]
+
| #default = <span style="color:red">undefined talent!</span>
+
}}| }}{{#if: {{{4|}}}|
+
{{#switch: {{ucfirst:{{{4}}} }}
+
| S = [[Image:talent_S.jpg]]
+
| C = [[Image:talent_C.jpg]]
+
 
| #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
|Symbol 3 (optional), another symbol to display
 
|Symbol 4 (optional), another symbol to display
 
 
}}
 
}}
 
</pre>
 
</pre>
Line 37: Line 26:
  
 
== Examples ==
 
== Examples ==
<code><nowiki>{{ItemTalent|C|S|}}</nowiki></code> = [[Image:talent_C.jpg]][[Image:talent_S.jpg]]
+
<code><nowiki>{{ItemTalent|C|S}}</nowiki></code> = {{ItemTalent|C|S}}
  
<code><nowiki>{{ItemTalent|S|C}}</nowiki></code> = [[Image:talent_S.jpg]][[Image:talent_C.jpg]]
+
<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 22: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|C|S}} = TalentNormalFlat.pngTalentBronzeFlat.png

{{ItemTalent|S|C}} = TalentBronzeFlat.pngTalentNormalFlat.png

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


      
Personal tools
Namespaces

Variants
Actions
Navigation
Tools