Template:Itempage
From Card Hunter Wiki
(Difference between revisions)
Line 6: | Line 6: | ||
|- | |- | ||
|'''Item type:''' | |'''Item type:''' | ||
− | | | + | |{{ItemType|{{{type}}} }} |
|- | |- | ||
|'''Rarity:''' | |'''Rarity:''' | ||
Line 23: | Line 23: | ||
{{#if:{{{itemcard1_name|}}}| | {{#if:{{{itemcard1_name|}}}| | ||
{{!}} '''Cards:''' | {{!}} '''Cards:''' | ||
− | {{!}} {{{itemcard1_qty}}} x {{C|{{{itemcard1_name}}} }} }} | + | {{!}} [[Has itemcard1_qty::{{{itemcard1_qty}}}]] x [[Has itemcard1_name::{{C|{{{itemcard1_name}}} }}]] }} |
{{!-}} | {{!-}} | ||
{{#if:{{{itemcard2_name|}}}| | {{#if:{{{itemcard2_name|}}}| | ||
{{!}} | {{!}} | ||
− | {{!}} {{{itemcard2_qty}}} x {{C|{{{itemcard2_name}}} }} }} | + | {{!}} [[Has itemcard2_qty::{{{itemcard2_qty}}}]] x [[Has itemcard2_name::{{C|{{{itemcard2_name}}} }}]] }} |
{{!-}} | {{!-}} | ||
{{#if:{{{itemcard3_name|}}}| | {{#if:{{{itemcard3_name|}}}| | ||
{{!}} | {{!}} | ||
− | {{!}} {{{itemcard3_qty}}} x {{C|{{{itemcard3_name}}} }} }} | + | {{!}} [[Has itemcard3_qty::{{{itemcard3_qty}}}]] x [[Has itemcard3_name::{{C|{{{itemcard3_name}}} }}]] }} |
{{!-}} | {{!-}} | ||
{{#if:{{{itemcard4_name|}}}| | {{#if:{{{itemcard4_name|}}}| | ||
{{!}} | {{!}} | ||
− | {{!}} {{{itemcard4_qty}}} x {{C|{{{itemcard4_name}}} }} }} | + | {{!}} [[Has itemcard4_qty::{{{itemcard4_qty}}}]] x [[Has itemcard4_name::{{C|{{{itemcard4_name}}} }}]] }} |
{{!-}} | {{!-}} | ||
{{#if:{{{itemcard5_name|}}}| | {{#if:{{{itemcard5_name|}}}| | ||
{{!}} | {{!}} | ||
− | {{!}} {{{itemcard5_qty}}} x {{C|{{{itemcard5_name}}} }} }} | + | {{!}} [[Has itemcard5_qty::{{{itemcard5_qty}}}]] x [[Has itemcard5_name::{{C|{{{itemcard5_name}}} }}]] }} |
{{!-}} | {{!-}} | ||
{{#if:{{{itemcard6_name|}}}| | {{#if:{{{itemcard6_name|}}}| | ||
{{!}} | {{!}} | ||
− | {{!}} {{{itemcard6_qty}}} x {{C|{{{itemcard6_name}}} }} }} | + | {{!}} [[Has itemcard6_qty::{{{itemcard6_qty}}}]] x [[Has itemcard6_name::{{C|{{{itemcard6_name}}} }}]] }} |
|} | |} | ||
Revision as of 18:29, 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... }}