Template:Itempage
From Card Hunter Wiki
(Difference between revisions)
Line 51: | Line 51: | ||
{{#if:{{{itemcard1_name|}}} | | {{#if:{{{itemcard1_name|}}} | | ||
{{#ifexist:Cards/{{{itemcard1_name}}}| | {{#ifexist:Cards/{{{itemcard1_name}}}| | ||
− | {{ {{{itemcard1_qty}}}x| | + | {{ {{{itemcard1_qty}}}x|[[File:{{{itemcard1_name}}}.jpeg|150px|link=Cards/{{{itemcard1_name}}}]] }}| |
− | {{ {{{itemcard1_qty}}}x| | + | {{ {{{itemcard1_qty}}}x|[[File:No_image.png|150px]] }} }} |
|}} | |}} | ||
{{#if:{{{itemcard2_name|}}} | | {{#if:{{{itemcard2_name|}}} | | ||
{{#ifexist:Cards/{{{itemcard2_name}}}| | {{#ifexist:Cards/{{{itemcard2_name}}}| | ||
− | {{ {{{itemcard2_qty}}}x| | + | {{ {{{itemcard2_qty}}}x|[[File:{{{itemcard2_name}}}.jpeg|150px|link=Cards/{{{itemcard2_name}}}]] }}| |
− | {{ {{{itemcard2_qty}}}x| | + | {{ {{{itemcard2_qty}}}x|[[File:No_image.png|150px]] }} }} |
|}} | |}} | ||
{{#if:{{{itemcard3_name|}}} | | {{#if:{{{itemcard3_name|}}} | | ||
{{#ifexist:Cards/{{{itemcard3_name}}}| | {{#ifexist:Cards/{{{itemcard3_name}}}| | ||
− | {{ {{{itemcard3_qty}}}x| | + | {{ {{{itemcard3_qty}}}x|[[File:{{{itemcard3_name}}}.jpeg|150px|link=Cards/{{{itemcard3_name}}}]] }}| |
− | {{ {{{itemcard3_qty}}}x| | + | {{ {{{itemcard3_qty}}}x|[[File:No_image.png|150px]] }} }} |
|}} | |}} | ||
{{#if:{{{itemcard4_name|}}} | | {{#if:{{{itemcard4_name|}}} | | ||
{{#ifexist:Cards/{{{itemcard4_name}}}| | {{#ifexist:Cards/{{{itemcard4_name}}}| | ||
− | {{ {{{itemcard4_qty}}}x| | + | {{ {{{itemcard4_qty}}}x|[[File:{{{itemcard4_name}}}.jpeg|150px|link=Cards/{{{itemcard4_name}}}]] }}| |
− | {{ {{{itemcard4_qty}}}x| | + | {{ {{{itemcard4_qty}}}x|[[File:No_image.png|150px]] }} }} |
|}} | |}} | ||
{{#if:{{{itemcard5_name|}}} | | {{#if:{{{itemcard5_name|}}} | | ||
{{#ifexist:Cards/{{{itemcard5_name}}}| | {{#ifexist:Cards/{{{itemcard5_name}}}| | ||
− | {{ {{{itemcard5_qty}}}x| | + | {{ {{{itemcard5_qty}}}x|[[File:{{{itemcard5_name}}}.jpeg|150px|link=Cards/{{{itemcard5_name}}}]] }}| |
− | {{ {{{itemcard5_qty}}}x| | + | {{ {{{itemcard5_qty}}}x|[[File:No_image.png|150px]] }} }} |
|}} | |}} | ||
{{#if:{{{itemcard6_name|}}} | | {{#if:{{{itemcard6_name|}}} | | ||
{{#ifexist:Cards/{{{itemcard6_name}}}| | {{#ifexist:Cards/{{{itemcard6_name}}}| | ||
− | {{ {{{itemcard6_qty}}}x| | + | {{ {{{itemcard6_qty}}}x|[[File:{{{itemcard6_name}}}.jpeg|150px|link=Cards/{{{itemcard6_name}}}]] }}| |
− | {{ {{{itemcard6_qty}}}x| | + | {{ {{{itemcard6_qty}}}x|[[File:No_image.png|150px]] }} }} |
|}} | |}} | ||
{{#ifeq: {{uc:{{{deleted?|}}} }} | YES | This item is no longer in game |{{ItemCat|{{{type}}}|{{{rarity}}}|{{{level}}} }}{{#if:{{{expansion|}}}|[[Category:Expansion set Item]][[Category:{{Expansion|{{{expansion}}} }} Item]]|[[Category:Basic set Item]]}}{{ItemTalentCat|{{{talent}}}|{{{type}}} }}[[Category:Items|{{SUBPAGENAME}}]]}} | {{#ifeq: {{uc:{{{deleted?|}}} }} | YES | This item is no longer in game |{{ItemCat|{{{type}}}|{{{rarity}}}|{{{level}}} }}{{#if:{{{expansion|}}}|[[Category:Expansion set Item]][[Category:{{Expansion|{{{expansion}}} }} Item]]|[[Category:Basic set Item]]}}{{ItemTalentCat|{{{talent}}}|{{{type}}} }}[[Category:Items|{{SUBPAGENAME}}]]}} |
Revision as of 01:09, 4 June 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... }}