Template:Itempage

From Card Hunter Wiki
(Difference between revisions)
Jump to: navigation, search
Line 85: Line 85:
 
{{#if:{{{type|}}}|[[Has Itemtype::{{ItemType|{{{type}}} }}| ]]|}}
 
{{#if:{{{type|}}}|[[Has Itemtype::{{ItemType|{{{type}}} }}| ]]|}}
 
{{#if:{{{rarity|}}}|[[Has Itemrarity::{{ItemRarity|{{{rarity}}} }}| ]]|}}
 
{{#if:{{{rarity|}}}|[[Has Itemrarity::{{ItemRarity|{{{rarity}}} }}| ]]|}}
 +
{{#if:{{{expansion|}}}|[[Has Itemexpansion::{{Expansion|{{{expansion}}} }}| ]]|[[Has Itemexpansion::{{Expansion|0}}| ]]}}
 
{{#if:{{{itemcard1_name|}}}|[[Has itemcard1_name::Cards/{{{itemcard1_name}}}| ]]|}}
 
{{#if:{{{itemcard1_name|}}}|[[Has itemcard1_name::Cards/{{{itemcard1_name}}}| ]]|}}
 
{{#if:{{{itemcard2_name|}}}|[[Has itemcard2_name::Cards/{{{itemcard2_name}}}| ]]|}}
 
{{#if:{{{itemcard2_name|}}}|[[Has itemcard2_name::Cards/{{{itemcard2_name}}}| ]]|}}

Revision as of 23:19, 5 April 2014


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>
|expansion=<Item from expansion, optional>
|level=<Item level, mandatory> 
|talent={{ItemTalent|<CSTP notation>|<CSTP notation>}}
|value=<item value in gold, optional>
|deleted?=<item deleted?, optional>
|noloot?=<no loot flag, 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