Template:Itempage

From Card Hunter Wiki
(Difference between revisions)
Jump to: navigation, search
Line 79: Line 79:
 
{{ #switch: {{ lc: {{ItemType|{{{type}}} }} }}
 
{{ #switch: {{ lc: {{ItemType|{{{type}}} }} }}
 
| weapon = [[Category:Weapon|{{SUBPAGENAME}}]] {{ #switch: {{ lc: {{ItemRarity|{{{rarity}}} }} }}
 
| weapon = [[Category:Weapon|{{SUBPAGENAME}}]] {{ #switch: {{ lc: {{ItemRarity|{{{rarity}}} }} }}
     | common=[[Category:Test2|{{SUBPAGENAME}}]] }}
+
     | common = [[Category:Common Weapon|{{SUBPAGENAME}}]]
 +
    | uncommon = [[Category:Uncommon Weapon|{{SUBPAGENAME}}]]
 +
    | rare = [[Category:Uncommon Weapon|{{SUBPAGENAME}}]]
 +
    | epic = [[Category:Uncommon Weapon|{{SUBPAGENAME}}]] }}
 
| divine weapon = [[Category:Divine Weapon|{{SUBPAGENAME}}]]
 
| divine weapon = [[Category:Divine Weapon|{{SUBPAGENAME}}]]
 
| staff = [[Category:Staff|{{SUBPAGENAME}}]]
 
| staff = [[Category:Staff|{{SUBPAGENAME}}]]

Revision as of 01:07, 4 February 2013


This is the skeletal outline for a item page, usage is as follows:

{{Itempage
|image1=<image_filename.jpg, mandatory>
|name=<Item name, mandatory>
|type=<Item type, mandatory>
|rarity=<Item rarity (CURE notation), mandatory>
|level=<Item level, mandatory> 
|talent={{ItemTalent|<CS notation>|<CS notation>|<CS notation>|<CS notation>}}
|value=<item value in gold>
|itemcard1_qty=<qty of 1st card, mandatory>
|itemcard1_name=<name of 1st card, mandatory>
|itemcard2_qty=<qty of 2nd card, optional>
|itemcard2_name=<name of 2nd card, optional>
|itemcard3_qty=<qty of 3rd card, optional>
|itemcard3_name=<name of 3rd card, optional>
| and so on...
}}


      
Personal tools
Namespaces

Variants
Actions
Navigation
Tools