Template:Itempage

From Card Hunter Wiki
(Difference between revisions)
Jump to: navigation, search
Line 46: Line 46:
 
|}
 
|}
  
{{#ifexist:Cards/{{{itemcard1_name}}}|
+
{{CardGallery
{{ {{{itemcard1_qty}}}x|{{CardImage|{{{itemcard1_name}}}.png}} }}|
+
|1={{{itemcard1_qty}}}
{{ {{{itemcard1_qty}}}x|no card image}} }}
+
|2={{{itemcard1_name}}}
 
+
|3={{{itemcard2_qty}}}
{{CardGallery|1={{{itemcard1_qty}}}|2={{{itemcard1_name}}} }}
+
|4={{{itemcard2_name}}}
 +
|5={{{itemcard3_qty}}}
 +
|6={{{itemcard3_name}}}
 +
|7={{{itemcard4_qty}}}
 +
|8={{{itemcard4_name}}}
 +
|9={{{itemcard5_qty}}}
 +
|10={{{itemcard5_name}}}
 +
|11={{{itemcard6_qty}}}
 +
|12-{{{itemcard6_name}}}
 +
}}
  
 
{{ #switch: {{ lc: {{ItemType|{{{type}}} }} }}
 
{{ #switch: {{ lc: {{ItemType|{{{type}}} }} }}

Revision as of 03:53, 25 January 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