Template:Itempage
From Card Hunter Wiki
(Difference between revisions)
Line 79: | Line 79: | ||
<!--Semantic Properties for items, edit with care !--> | <!--Semantic Properties for items, edit with care !--> | ||
{{#if:{{{type|}}}|[[Has Itemtype::{{ItemType|{{{type}}} }}| ]]|}} | {{#if:{{{type|}}}|[[Has Itemtype::{{ItemType|{{{type}}} }}| ]]|}} | ||
+ | {{#if:{{{rarity|}}}|[[Has Itemrarity::{{ItemRarity|{{{rarity}}} }}| ]]|}} | ||
{{#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 05:56, 9 May 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> |deleted?=<item deleted?, 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... }}