Template:ItemTalentCat
From Card Hunter Wiki
(Difference between revisions)
Line 1: | Line 1: | ||
− | |||
<!-- | <!-- | ||
[[Image:TalentNormalFlat.png]] = Circle/Clear | [[Image:TalentNormalFlat.png]] = Circle/Clear | ||
Line 6: | Line 5: | ||
[[Image:TalentGoldFlat.png]] = Pentagon/Gold | [[Image:TalentGoldFlat.png]] = Pentagon/Gold | ||
--> | --> | ||
− | {{ #switch: {{ lc: {{ItemType|{{{2}}} }} }} | + | <includeonly>{{ #switch: {{ lc: {{ItemType|{{{2}}} }} }} |
| weapon = {{ #switch: {{{1}}} | | weapon = {{ #switch: {{{1}}} | ||
| [[Image:TalentNormalFlat.png]] = [[Category:Clear talent Weapon|{{SUBPAGENAME}}]] | | [[Image:TalentNormalFlat.png]] = [[Category:Clear talent Weapon|{{SUBPAGENAME}}]] | ||
Line 385: | Line 384: | ||
| [[Image:TalentSilverFlat.png]][[Image:TalentGoldFlat.png]] | | [[Image:TalentSilverFlat.png]][[Image:TalentGoldFlat.png]] | ||
| [[Image:TalentGoldFlat.png]][[Image:TalentSilverFlat.png]] = [[Category:Silver/Gold talent Martial Skill|{{SUBPAGENAME}}]] }} | | [[Image:TalentGoldFlat.png]][[Image:TalentSilverFlat.png]] = [[Category:Silver/Gold talent Martial Skill|{{SUBPAGENAME}}]] }} | ||
− | }} | + | }}</includeonly> |
− | </includeonly> | + | |
<noinclude> | <noinclude> | ||
Instruction for item talent categorization template, usage is as follows: | Instruction for item talent categorization template, usage is as follows: |
Revision as of 05:15, 27 February 2013
Instruction for item talent categorization template, usage is as follows:
{{ItemTalentCat|{{ItemTalent|<CSTP notation>|<CSTP notation>}}|type}}
Type and ItemTalent are mandatory fields. This template uses the ItemType and ItemTalent templates, hence inputs must be acceptable by them. If an item has no talent, then it does not need to be categorized using this template.
Examples
{{ItemTalentCat|{{ItemTalent|S}}|W}} = [[Category:Bronze talent Weapon]]
{{ItemTalentCat|{{ItemTalent|T|P}}|Dfs}} = [[Category:Silver/Gold talent Dwarf Skill]]
{{ItemTalentCat|{{ItemTalent|C|C}}|As}} = [[Category:Clear/Clear talent Arcane Skill]]