Template:ItemTalentCat

From Card Hunter Wiki
(Difference between revisions)
Jump to: navigation, search
Line 26: Line 26:
 
     | [[Image:TalentGoldFlat.png]][[Image:TalentBronzeFlat.png]][[Has talent::PS| ]] = [[Category:Major/Ultimate power token Weapon|{{SUBPAGENAME}}]]
 
     | [[Image:TalentGoldFlat.png]][[Image:TalentBronzeFlat.png]][[Has talent::PS| ]] = [[Category:Major/Ultimate power token Weapon|{{SUBPAGENAME}}]]
 
     | [[Image:TalentSilverFlat.png]][[Image:TalentGoldFlat.png]][[Has talent::TP| ]]
 
     | [[Image:TalentSilverFlat.png]][[Image:TalentGoldFlat.png]][[Has talent::TP| ]]
     | [[Image:TalentGoldFlat.png]][[Image:TalentSilverFlat.png]][[Has talent::PT| ]] = [[Category:Great/Ultimate power token Weapon|{{SUBPAGENAME}}]] }}
+
     | [[Image:TalentGoldFlat.png]][[Image:TalentSilverFlat.png]][[Has talent::PT| ]] = [[Category:Great/Ultimate power token Weapon|{{SUBPAGENAME}}]]
 +
    | #default = [[Category:Tokenless Weapon|{{SUBPAGENAME}}]] }}
 
| divine weapon = {{ #switch: {{{1}}}
 
| divine weapon = {{ #switch: {{{1}}}
 
     | [[Image:TalentNormalFlat.png]][[Has talent::C| ]] = [[Category:Minor power token Divine Weapon|{{SUBPAGENAME}}]]
 
     | [[Image:TalentNormalFlat.png]][[Has talent::C| ]] = [[Category:Minor power token Divine Weapon|{{SUBPAGENAME}}]]

Revision as of 20:27, 7 August 2015


Instruction for item power token 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 power token, then it does not need to be categorized using this template.

Examples

{{ItemTalentCat|{{ItemTalent|S}}|W}} = [[Category:Major power token Weapon]]

{{ItemTalentCat|{{ItemTalent|T|P}}|Dfs}} = [[Category:Great/Ultimate power token Dwarf Skill]]

{{ItemTalentCat|{{ItemTalent|C|C}}|As}} = [[Category:Minor/Minor power token Arcane Skill]]


      
Personal tools
Namespaces

Variants
Actions
Navigation
Tools