Template:Itempage
From Card Hunter Wiki
(Difference between revisions)
Line 81: | Line 81: | ||
[[Category:Items|{{SUBPAGENAME}}]] | [[Category:Items|{{SUBPAGENAME}}]] | ||
<!--Semantic Properties for items, edit with care !--> | <!--Semantic Properties for items, edit with care !--> | ||
− | [[Has itemcard1_name::Cards/{{{itemcard1_name}}}| ]] | + | {{#if:{{{itemcard1_name|}}}|[[Has itemcard1_name::Cards/{{{itemcard1_name}}}| ]]|}} |
− | [[Has itemcard2_name::Cards/{{{itemcard2_name}}}| ]] | + | {{#if:{{{itemcard2_name|}}}|[[Has itemcard2_name::Cards/{{{itemcard2_name}}}| ]]|}} |
− | [[Has itemcard3_name::Cards/{{{itemcard3_name}}}| ]] | + | {{#if:{{{itemcard3_name|}}}|[[Has itemcard3_name::Cards/{{{itemcard3_name}}}| ]]|}} |
− | [[Has itemcard4_name::Cards/{{{itemcard4_name}}}| ]] | + | {{#if:{{{itemcard4_name|}}}|[[Has itemcard4_name::Cards/{{{itemcard4_name}}}| ]]|}} |
− | [[Has itemcard5_name::Cards/{{{itemcard5_name}}}| ]] | + | {{#if:{{{itemcard5_name|}}}|[[Has itemcard5_name::Cards/{{{itemcard5_name}}}| ]]|}} |
− | [[Has itemcard6_name::Cards/{{{itemcard6_name}}}| ]] | + | {{#if:{{{itemcard6_name|}}}|[[Has itemcard6_name::Cards/{{{itemcard6_name}}}| ]]|}} |
</includeonly> | </includeonly> | ||
<noinclude> | <noinclude> |
Revision as of 21:17, 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... }}