Template:Itempage

From Card Hunter Wiki
(Difference between revisions)
Jump to: navigation, search
Line 40: Line 40:
 
{{!}} {{{itemcard6_qty}}} x {{C|{{{itemcard6_name}}} }} }}
 
{{!}} {{{itemcard6_qty}}} x {{C|{{{itemcard6_name}}} }} }}
 
|}
 
|}
{{#if: {{#expr:{{{{{itemcard1_qty}}}+{{{itemcard2_qty}}}+{{{itemcard3_qty}}}+{{{itemcard4_qty}}}+{{{itemcard5_qty}}}+{{{itemcard6_qty}}} }} = 6 and {{ItemType|{{{type}}} }} = Weapon | valid weapon ! |invalid weapon !}}
+
{{#if: {{#expr:{{ {{formatnum:{{{itemcard1_qty}}}|R}}+{{formatnum:{{{itemcard2_qty}}}|R}}+{{formatnum:{{{itemcard3_qty}}}|R}}+{{formatnum:{{{itemcard4_qty}}}|R}}+{{formatnum:{{{itemcard5_qty}}}|R}}+{{formatnum:{{{itemcard6_qty}}}|R}} }} = 6 and {{ItemType|{{{type}}} }} = Weapon | valid weapon ! |invalid weapon !}}
 
[[Category:Items|{{SUBPAGENAME}}]]</includeonly><noinclude>
 
[[Category:Items|{{SUBPAGENAME}}]]</includeonly><noinclude>
  

Revision as of 20:50, 20 December 2012


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>}}
|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...
}}

Do not use yet ! template WIP.


      
Personal tools
Namespaces

Variants
Actions
Navigation
Tools