Template:ItemTalentCat

From Card Hunter Wiki
(Difference between revisions)
Jump to: navigation, search
Line 7: Line 7:
 
<includeonly>{{ #switch: {{ lc: {{ItemType|{{{2}}} }} }}
 
<includeonly>{{ #switch: {{ lc: {{ItemType|{{{2}}} }} }}
 
| weapon = {{ #switch: {{{1}}}
 
| weapon = {{ #switch: {{{1}}}
     | [[Image:TalentNormalFlat.png|link=Talents]] = [[Category:Clear talent Weapon|{{SUBPAGENAME}}]]
+
     | [[Image:TalentNormalFlat.png]] = [[Category:Clear talent Weapon|{{SUBPAGENAME}}]]
     | [[Image:TalentBronzeFlat.png|link=Talents]] = [[Category:Bronze talent Weapon|{{SUBPAGENAME}}]]
+
     | [[Image:TalentBronzeFlat.png]] = [[Category:Bronze talent Weapon|{{SUBPAGENAME}}]]
     | [[Image:TalentSilverFlat.png|link=Talents]] = [[Category:Silver talent Weapon|{{SUBPAGENAME}}]]
+
     | [[Image:TalentSilverFlat.png]] = [[Category:Silver talent Weapon|{{SUBPAGENAME}}]]
     | [[Image:TalentGoldFlat.png|link=Talents]] = [[Category:Gold talent Weapon|{{SUBPAGENAME}}]]
+
     | [[Image:TalentGoldFlat.png]] = [[Category:Gold talent Weapon|{{SUBPAGENAME}}]]
 
     | [[Image:TalentNormalFlat.png]][[Image:TalentNormalFlat.png]] = [[Category:Clear/Clear talent Weapon|{{SUBPAGENAME}}]]
 
     | [[Image:TalentNormalFlat.png]][[Image:TalentNormalFlat.png]] = [[Category:Clear/Clear talent Weapon|{{SUBPAGENAME}}]]
 
     | [[Image:TalentBronzeFlat.png]][[Image:TalentBronzeFlat.png]] = [[Category:Bronze/Bronze talent Weapon|{{SUBPAGENAME}}]]
 
     | [[Image:TalentBronzeFlat.png]][[Image:TalentBronzeFlat.png]] = [[Category:Bronze/Bronze talent Weapon|{{SUBPAGENAME}}]]

Revision as of 05:38, 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]]


      
Personal tools
Namespaces

Variants
Actions
Navigation
Tools