Template:ItemTalent
From Card Hunter Wiki
(Difference between revisions)
m (Protected "Template:ItemTalent" ([edit=sysop] (indefinite) [move=sysop] (indefinite))) |
|||
(27 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: | + | | C = [[Image:TalentNormalFlat.png]] |
− | | C = [[Image: | + | | T = [[Image:TalentSilverFlat.png]] |
− | | #default = undefined | + | | 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: | + | | S = [[Image:TalentBronzeFlat.png]] |
− | | C = [[Image: | + | | C = [[Image:TalentNormalFlat.png]] |
− | | | + | | T = [[Image:TalentSilverFlat.png]] |
− | + | | P = [[Image:TalentGoldFlat.png]] | |
− | + | | #default = <span style="color:red">undefined power token!</span> | |
− | + | }}| }}{{#if:{{{2|}}}|[[Has talent::{{uc:{{{1}}}{{{2}}} }}| ]]|[[Has talent::{{uc:{{{1}}} }}| ]] }}</includeonly><noinclude> | |
− | | | + | |
− | | #default = undefined | + | |
− | }}| }}{{#if: {{{ | + | |
− | {{ | + | |
− | | | + | |
− | | | + | |
− | + | ||
− | }}| }}</includeonly><noinclude> | + | |
− | Displays a | + | Displays a power token symbol. Usage: |
<pre> | <pre> | ||
{{ItemTalent | {{ItemTalent | ||
− | |Symbol 1 (optional), pick one of the letters | + | |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 | ||
− | |||
− | |||
}} | }} | ||
</pre> | </pre> | ||
− | + | 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 | + | <code><nowiki>{{ItemTalent|C|S}}</nowiki></code> = {{ItemTalent|C|S}} |
− | <code><nowiki>{{ItemTalent|S|C}}</nowiki></code> = | + | <code><nowiki>{{ItemTalent|S|C}}</nowiki></code> = {{ItemTalent|S|C}} |
− | <code><nowiki>{{ItemTalent | + | <code><nowiki>{{ItemTalent|P|T}}</nowiki></code> = {{ItemTalent|P|T}} |
</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