Template:ItemTalent
From Card Hunter Wiki
(Difference between revisions)
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> = | + | <code><nowiki>{{ItemTalent|C|S|}}</nowiki></code> = [[Image:talent_C.jpg]][[Image:talent_S.jpg]] |
− | <code><nowiki>{{ItemTalent|S|C}}</nowiki></code> = | + | <code><nowiki>{{ItemTalent|S|C}}</nowiki></code> = [[Image:talent_S.jpg]][[Image:talent_C.jpg]] |
− | <code><nowiki>{{ItemTalent| | + | <code><nowiki>{{ItemTalent|S|C|C}}</nowiki></code> = [[Image:talent_S.jpg]][[Image:talent_C.jpg]][[Image:talent_C.jpg]] |
− | <code><nowiki>{{ItemTalent| | + | <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 19: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|s|c|S|C}}
= ERROR TYPE !
{{ItemTalent|brown|brown|red}}
= ERROR TYPE ! , ERROR TYPE ! , Attack