Template:Itempage

From Card Hunter Wiki
(Difference between revisions)
Jump to: navigation, search
Line 2: Line 2:
 
{| style="border-collapse: collapse; width=85%;"
 
{| style="border-collapse: collapse; width=85%;"
 
|width="100pt"|'''Item name:'''
 
|width="100pt"|'''Item name:'''
|width="150pt"|[[Itemname::<big>'''{{{name}}}'''</big>]]
+
|width="150pt"|<big>'''{{{name}}}'''</big>
 
|rowspan={{#expr:4+{{#if:{{{talent|}}}|1|0}}+{{#if:{{{value|}}}|1|0}}+{{#if:{{{itemcard1_name|}}}|1|0}}+{{#if:{{{itemcard2_name|}}}|1|0}}+{{#if:{{{itemcard3_name|}}}|1|0}}+{{#if:{{{itemcard4_name|}}}|1|0}}+{{#if:{{{itemcard5_name|}}}|1|0}}+{{#if:{{{itemcard6_name|}}}|1|0}}}}|{{ItemImage|{{{image1}}} }}
 
|rowspan={{#expr:4+{{#if:{{{talent|}}}|1|0}}+{{#if:{{{value|}}}|1|0}}+{{#if:{{{itemcard1_name|}}}|1|0}}+{{#if:{{{itemcard2_name|}}}|1|0}}+{{#if:{{{itemcard3_name|}}}|1|0}}+{{#if:{{{itemcard4_name|}}}|1|0}}+{{#if:{{{itemcard5_name|}}}|1|0}}+{{#if:{{{itemcard6_name|}}}|1|0}}}}|{{ItemImage|{{{image1}}} }}
 
|-
 
|-

Revision as of 02:01, 25 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 (CUREL notation), mandatory>
|level=<Item level, mandatory> 
|talent={{ItemTalent|<CSTP notation>|<CSTP notation>}}
|value=<item value in gold, optional>
|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