Template:ItemTalent

From Card Hunter Wiki
(Difference between revisions)
Jump to: navigation, search
m (Protected "Template:ItemTalent" (‎[edit=sysop] (indefinite) ‎[move=sysop] (indefinite)))
 
(29 intermediate revisions by one user not shown)
Line 1: Line 1:
<includeonly>
+
<includeonly>{{#switch: {{ucfirst:{{{1|}}} }}
{{#switch: {{ucfirst:{{{1|}}} }}
+
| S = [[Image:TalentBronzeFlat.png]]
| S = [[Image:talent_S.jpg]]
+
| C = [[Image:TalentNormalFlat.png]]
| C = [[Image:talent_C.jpg]]
+
| T = [[Image:TalentSilverFlat.png]]
 +
| P = [[Image:TalentGoldFlat.png]]
 +
| #default = <span style="color:red">undefined power token!</span>
 
|}}{{#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]]
}}| }}{{#if: {{{3|}}}|
+
| T = [[Image:TalentSilverFlat.png]]
{{#switch: {{ucfirst:{{{3}}} }}
+
| P = [[Image:TalentGoldFlat.png]]
| S = [[Image:talent_S.jpg]]
+
| #default = <span style="color:red">undefined power token!</span>
| C = [[Image:talent_C.jpg]]
+
}}| }}{{#if:{{{2|}}}|[[Has talent::{{uc:{{{1}}}{{{2}}} }}| ]]|[[Has talent::{{uc:{{{1}}} }}| ]] }}</includeonly><noinclude>
}}| }}{{#if: {{{4|}}}|
+
{{#switch: {{ucfirst:{{{4}}} }}
+
| S = [[Image:talent_S.jpg]]
+
| C = [[Image:talent_C.jpg]]
+
}}| }}</includeonly><noinclude>
+
  
  
Displays a talent symbol. Usage:
+
Displays a power token symbol. Usage:
 
<pre>
 
<pre>
 
{{ItemTalent
 
{{ItemTalent
|Symbol 1 (optional), pick one of the letters/numbers below to show that talent symbol
+
|Symbol 1 (optional), pick one of the letters below to show that power token 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>
  
CS notation is used when denoting talent costs. C is circle, S is square.
+
CSTP notation is used when denoting power token costs. C is circle, S is square, T is triangle, P is pentagon.
  
 
== Examples ==
 
== Examples ==
<code><nowiki>{{ItemTalent|C|S|}}</nowiki></code> = Attack
+
<code><nowiki>{{ItemTalent|C|S}}</nowiki></code> = {{ItemTalent|C|S}}
  
<code><nowiki>{{ItemTalent|S|C}}</nowiki></code> = Attack
+
<code><nowiki>{{ItemTalent|S|C}}</nowiki></code> = {{ItemTalent|S|C}}
  
<code><nowiki>{{ItemTalent|red|blue|green}}</nowiki></code> = Attack , Movement , Block
+
<code><nowiki>{{ItemTalent|P|T}}</nowiki></code> = {{ItemTalent|P|T}}
 
+
<code><nowiki>{{ItemTalent|brown}}</nowiki></code> = ERROR TYPE !
+
 
+
<code><nowiki>{{ItemTalent|brown|brown|red}}</nowiki></code> = ERROR TYPE ! , ERROR TYPE ! , Attack
+
  
 
</noinclude>
 
</noinclude>

Latest revision as of 23:58, 13 September 2013


Displays a power token symbol. Usage:

{{ItemTalent
|Symbol 1 (optional), pick one of the letters below to show that power token symbol
|Symbol 2 (optional), another symbol to display
}}

CSTP notation is used when denoting power token costs. C is circle, S is square, T is triangle, P is pentagon.

[edit] Examples

{{ItemTalent|C|S}} = TalentNormalFlat.pngTalentBronzeFlat.png

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

{{ItemTalent|P|T}} = TalentGoldFlat.pngTalentSilverFlat.png


      
Personal tools
Namespaces

Variants
Actions
Navigation
Tools