Template:Itempage
From Card Hunter Wiki
(Difference between revisions)
Line 3: | Line 3: | ||
|width="100pt"|'''Item name:''' | |width="100pt"|'''Item name:''' | ||
|width="100pt"|<big>'''{{{name}}}'''</big> | |width="100pt"|<big>'''{{{name}}}'''</big> | ||
− | |rowspan={{#expr:5+{{#if:{{{itemcard1_name|}}}|1|0}} }} | + | |rowspan={{#expr:5+{{#if:{{{itemcard1_name|}}}|1|0}}+{{#if:{{{itemcard2_name|}}}|1|0}}}}|{{ItemImage|{{{image1}}} }} |
− | |{{ItemImage|{{{image1}}} }} | + | |
|- | |- | ||
|'''Item type:''' | |'''Item type:''' | ||
Line 72: | Line 71: | ||
|talent= 12 | |talent= 12 | ||
|itemcard1_qty=4 | |itemcard1_qty=4 | ||
− | |itemcard1_name= | + | |itemcard1_name=Bash |
|itemcard2_qty=2 | |itemcard2_qty=2 | ||
− | |itemcard2_name= | + | |itemcard2_name=Simple Bash |
}} | }} | ||
</noinclude> | </noinclude> |
Revision as of 06:11, 20 December 2012
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, mandatory> |level=<Item level, mandatory> |talent=<Item talent, mandatory. Enter 0 for none> |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... }}
Do not use yet ! template WIP.
Item name: | Stout club | |
Item type: | Weapon | |
Rarity: | No such rarity ! Check input ! | |
Expansion: | Basic | |
Item level: | 15 | |
Power Token: | 12 | |
Cards: | 4 x Bash | |
2 x Simple Bash |