Template:Itempage
From Card Hunter Wiki
(Difference between revisions)
Line 2: | Line 2: | ||
{| style="background:white; border-collapse: collapse; width=85%;" | {| style="background:white; border-collapse: collapse; width=85%;" | ||
|width="100pt"|'''Item name:''' | |width="100pt"|'''Item name:''' | ||
− | |width=" | + | |width="100pt"|<big>'''{{{name}}}'''</big> |
− | |rowspan={{#expr:5+{{#if:{{{ | + | |rowspan={{#expr:5+{{#if:{{{itemcard1_name|}}}|1|0}} }} |
+ | |{{ItemImage|{{{image1}}} }} | ||
|- | |- | ||
|'''Item type:''' | |'''Item type:''' | ||
Line 14: | Line 15: | ||
|{{{level|<span style="color:red">Pls enter item level</span>}}} | |{{{level|<span style="color:red">Pls enter item level</span>}}} | ||
|- | |- | ||
− | {{ | + | |'''Talent bead:''' |
− | {{ | + | |{{ItemTalent|{{{talent}}} }} |
− | {{!}} | + | |- |
+ | | | ||
+ | |{{{itemcard1_qty}} x {{K|{{{itemcard1_name}}} }} | ||
+ | |- | ||
+ | {{#if:{{{itemcard2_name|}}}| | ||
+ | {{!}} | ||
+ | {{!}} {{{itemcard2_qty}} x {{K|{{{itemcard2_name}}} }} }} | ||
{{!-}} | {{!-}} | ||
− | {{#if:{{{ | + | {{#if:{{{itemcard3_name|}}}| |
− | {{!}} | + | {{!}} |
− | {{ | + | {{!}} {{{itemcard3_qty}} x {{K|{{{itemcard3_name}}} }} }} |
{{!-}} | {{!-}} | ||
− | {{#if:{{{ | + | {{#if:{{{itemcard4_name|}}}| |
− | {{!}} | + | {{!}} |
− | {{ | + | {{!}} {{{itemcard4_qty}} x {{K|{{{itemcard4_name}}} }} }} |
{{!-}} | {{!-}} | ||
− | {{#if:{{{ | + | {{#if:{{{itemcard5_name|}}}| |
− | {{!}} | + | {{!}} |
− | {{ | + | {{!}} {{{itemcard5_qty}} x {{K|{{{itemcard5_name}}} }} }} |
{{!-}} | {{!-}} | ||
− | {{#if:{{{ | + | {{#if:{{{itemcard6_name|}}}| |
− | {{!}} | + | {{!}} |
− | + | {{!}} {{{itemcard6_qty}} x {{K|{{{itemcard6_name}}} }} }} | |
− | {{ | + | |}[[Category:Items|{{SUBPAGENAME}}]]</includeonly><noinclude> |
− | + | ||
− | {{ | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | |}[[Category: | + | |
This is the skeletal outline for a item page, usage is as follows: | This is the skeletal outline for a item page, usage is as follows: | ||
Line 144: | Line 51: | ||
|rarity=<Item rarity, mandatory> | |rarity=<Item rarity, mandatory> | ||
|level=<Item level, mandatory> | |level=<Item level, mandatory> | ||
− | |talent | + | |talent=<Item talent, mandatory. Enter 0 for none> |
|itemcard1_qty=<qty of 1st card, mandatory> | |itemcard1_qty=<qty of 1st card, mandatory> | ||
|itemcard1_name=<name of 1st card, mandatory> | |itemcard1_name=<name of 1st card, mandatory> | ||
Line 156: | Line 63: | ||
Do not use yet ! template WIP. | Do not use yet ! template WIP. | ||
+ | |||
+ | {{Itempage | ||
+ | |image1=stout_club.jpg | ||
+ | |name=Stout club | ||
+ | |type=w | ||
+ | |rarity=uncommon | ||
+ | |level= 15 | ||
+ | |talent= 12 | ||
+ | |itemcard1_qty=4 | ||
+ | |itemcard1_name=bash | ||
+ | |itemcard2_qty=2 | ||
+ | |itemcard2_name=simple bash | ||
+ | }} | ||
</noinclude> | </noinclude> |
Revision as of 05:51, 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 |