Template:Itempage

From Card Hunter Wiki
(Difference between revisions)
Jump to: navigation, search
Line 48: Line 48:
 
{{#if:{{{itemcard1_name|}}} |
 
{{#if:{{{itemcard1_name|}}} |
 
{{#ifexist:Cards/{{{itemcard1_name}}}|
 
{{#ifexist:Cards/{{{itemcard1_name}}}|
{{ {{{itemcard1_qty}}}x|{{CardImage|{{{itemcard1_name}}}.jpg}} }}|
+
{{ {{{itemcard1_qty}}}x|{{CardImage|{{{itemcard1_name}}}.jpeg}} }}|
 
{{ {{{itemcard1_qty}}}x|{{CardImage|No_image.png}} ‎}} }}
 
{{ {{{itemcard1_qty}}}x|{{CardImage|No_image.png}} ‎}} }}
 
|}}
 
|}}
 
{{#if:{{{itemcard2_name|}}} |
 
{{#if:{{{itemcard2_name|}}} |
 
{{#ifexist:Cards/{{{itemcard2_name}}}|
 
{{#ifexist:Cards/{{{itemcard2_name}}}|
{{ {{{itemcard2_qty}}}x|{{CardImage|{{{itemcard2_name}}}.jpg}} }}|
+
{{ {{{itemcard2_qty}}}x|{{CardImage|{{{itemcard2_name}}}.jpeg}} }}|
 
{{ {{{itemcard2_qty}}}x|{{CardImage|No_image.png}} }} }}
 
{{ {{{itemcard2_qty}}}x|{{CardImage|No_image.png}} }} }}
 
|}}
 
|}}
 
{{#if:{{{itemcard3_name|}}} |
 
{{#if:{{{itemcard3_name|}}} |
 
{{#ifexist:Cards/{{{itemcard3_name}}}|
 
{{#ifexist:Cards/{{{itemcard3_name}}}|
{{ {{{itemcard3_qty}}}x|{{CardImage|{{{itemcard3_name}}}.jpg}} }}|
+
{{ {{{itemcard3_qty}}}x|{{CardImage|{{{itemcard3_name}}}.jpeg}} }}|
 
{{ {{{itemcard3_qty}}}x|{{CardImage|No_image.png}} }} }}
 
{{ {{{itemcard3_qty}}}x|{{CardImage|No_image.png}} }} }}
 
|}}
 
|}}
 
{{#if:{{{itemcard4_name|}}} |
 
{{#if:{{{itemcard4_name|}}} |
 
{{#ifexist:Cards/{{{itemcard4_name}}}|
 
{{#ifexist:Cards/{{{itemcard4_name}}}|
{{ {{{itemcard4_qty}}}x|{{CardImage|{{{itemcard4_name}}}.jpg}} }}|
+
{{ {{{itemcard4_qty}}}x|{{CardImage|{{{itemcard4_name}}}.jpeg}} }}|
 
{{ {{{itemcard4_qty}}}x|{{CardImage|No_image.png}} ‎}} }}
 
{{ {{{itemcard4_qty}}}x|{{CardImage|No_image.png}} ‎}} }}
 
|}}
 
|}}
 
{{#if:{{{itemcard5_name|}}} |
 
{{#if:{{{itemcard5_name|}}} |
 
{{#ifexist:Cards/{{{itemcard5_name}}}|
 
{{#ifexist:Cards/{{{itemcard5_name}}}|
{{ {{{itemcard5_qty}}}x|{{CardImage|{{{itemcard5_name}}}.jpg}} }}|
+
{{ {{{itemcard5_qty}}}x|{{CardImage|{{{itemcard5_name}}}.jpeg}} }}|
 
{{ {{{itemcard5_qty}}}x|{{CardImage|No_image.png}} ‎}} }}
 
{{ {{{itemcard5_qty}}}x|{{CardImage|No_image.png}} ‎}} }}
 
|}}
 
|}}
 
{{#if:{{{itemcard6_name|}}} |
 
{{#if:{{{itemcard6_name|}}} |
 
{{#ifexist:Cards/{{{itemcard6_name}}}|
 
{{#ifexist:Cards/{{{itemcard6_name}}}|
{{ {{{itemcard6_qty}}}x|{{CardImage|{{{itemcard6_name}}}.jpg}} }}|
+
{{ {{{itemcard6_qty}}}x|{{CardImage|{{{itemcard6_name}}}.jpeg}} }}|
 
{{ {{{itemcard6_qty}}}x|{{CardImage|No_image.png}} ‎}} }}
 
{{ {{{itemcard6_qty}}}x|{{CardImage|No_image.png}} ‎}} }}
 
|}}
 
|}}

Revision as of 17:59, 10 April 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...
}}


      
Personal tools
Namespaces

Variants
Actions
Navigation
Tools