Template:Itempage

From Card Hunter Wiki
(Difference between revisions)
Jump to: navigation, search
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="200pt"|<big>'''{{{name}}}'''</big>
+
|width="100pt"|<big>'''{{{name}}}'''</big>
|rowspan={{#expr:5+{{#if:{{{Type|}}}|1|0}} }}|{{ItemImage|{{{image1}}} }}
+
|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>}}}  
 
|-
 
|-
{{#if:{{{Type|}}}|
+
|'''Talent bead:'''
{{!}} style="background: beige;" {{!}} '''Type:'''
+
|{{ItemTalent|{{{talent}}} }}
{{!}} style="background: beige;" {{!}} {{{Type}}} }}
+
|-
 +
|
 +
|{{{itemcard1_qty}} x {{K|{{{itemcard1_name}}} }}
 +
|-
 +
{{#if:{{{itemcard2_name|}}}|
 +
{{!}}  
 +
{{!}} {{{itemcard2_qty}} x {{K|{{{itemcard2_name}}} }} }}
 
{{!-}}
 
{{!-}}
{{#if:{{{damType|}}}|
+
{{#if:{{{itemcard3_name|}}}|
{{!}} style="background: beige;" {{!}} '''Damage Type:'''
+
{{!}}  
{{!}} style="background: beige;" {{!}} {{{damType}}} }}
+
{{!}} {{{itemcard3_qty}} x {{K|{{{itemcard3_name}}} }} }}
 
{{!-}}
 
{{!-}}
{{#if:{{{effectType|}}}|
+
{{#if:{{{itemcard4_name|}}}|
{{!}} style="background: beige;" {{!}} '''Effect Type:'''
+
{{!}}  
{{!}} style="background: beige;" {{!}} {{{effectType}}} }}
+
{{!}} {{{itemcard4_qty}} x {{K|{{{itemcard4_name}}} }} }}
 
{{!-}}
 
{{!-}}
{{#if:{{{damage|}}}|
+
{{#if:{{{itemcard5_name|}}}|
{{!}} style="background: beige;" {{!}} '''Damage:'''
+
{{!}}  
{{!}} style="background: beige;" {{!}} {{{damage}}} }}
+
{{!}} {{{itemcard5_qty}} x {{K|{{{itemcard5_name}}} }} }}
 
{{!-}}
 
{{!-}}
{{#if:{{{range|}}}|
+
{{#if:{{{itemcard6_name|}}}|
{{!}} style="background: beige;" {{!}} '''Range:'''
+
{{!}}  
{{!}} style="background: beige;" {{!}} {{{range}}} }}
+
{{!}} {{{itemcard6_qty}} x {{K|{{{itemcard6_name}}} }} }}
{{!-}}
+
|}[[Category:Items|{{SUBPAGENAME}}]]</includeonly><noinclude>
{{#if:{{{effect1|}}}|
+
{{!}} style="background: beige;" {{!}} '''Play effect 1:'''
+
{{!}} style="background: beige;" {{!}} {{{effect1}}} }}
+
{{!-}}
+
{{#if:{{{effect1_range|}}}|
+
{{!}} style="background: beige;" {{!}} '''Range:'''
+
{{!}} style="background: beige;" {{!}} {{{effect1_range}}} }}
+
{{!-}}
+
{{#if:{{{effect1_duration|}}}|
+
{{!}} style="background: beige;" {{!}} '''Duration:'''
+
{{!}} style="background: beige;" {{!}} {{{effect1_duration}}} }}
+
{{!-}}
+
{{#if:{{{effect1_selftar|}}}|
+
{{!}} style="background: beige;" {{!}} '''Self target:'''
+
{{!}} style="background: beige;" {{!}} {{{effect1_selftar}}} }}
+
{{!-}}
+
{{#if:{{{effect1_chance|}}}|
+
{{!}} style="background: beige;" {{!}} '''Chance:'''
+
{{!}} style="background: beige;" {{!}} {{{effect1_chance}}} }}
+
{{!-}}
+
{{#if:{{{effect1_keep|}}}|
+
{{!}} style="background: beige;" {{!}} '''Keep:'''
+
{{!}} style="background: beige;" {{!}} {{{effect1_keep}}} }}
+
{{!-}}
+
{{#if:{{{effect2|}}}|
+
{{!}} style="background: aliceblue;" {{!}} '''Play effect 2:'''
+
{{!}} style="background: aliceblue;" {{!}} {{{effect2}}} }}
+
{{!-}}
+
{{#if:{{{effect2_range|}}}|
+
{{!}} style="background: aliceblue;" {{!}} '''Range:'''
+
{{!}} style="background: aliceblue;" {{!}} {{{effect2_range}}} }}
+
{{!-}}
+
{{#if:{{{effect2_duration|}}}|
+
{{!}} style="background: aliceblue;" {{!}} '''Duration:'''
+
{{!}} style="background: aliceblue;" {{!}} {{{effect2_duration}}} }}
+
{{!-}}
+
{{#if:{{{effect2_selftar|}}}|
+
{{!}} style="background: aliceblue;" {{!}} '''Self target:'''
+
{{!}} style="background: aliceblue;" {{!}} {{{effect2_selftar}}} }}
+
{{!-}}
+
{{#if:{{{effect2_chance|}}}|
+
{{!}} style="background: aliceblue;" {{!}} '''Chance:'''
+
{{!}} style="background: aliceblue;" {{!}} {{{effect2_chance}}} }}
+
{{!-}}
+
{{#if:{{{effect2_keep|}}}|
+
{{!}} style="background: aliceblue;" {{!}} '''Keep:'''
+
{{!}} style="background: aliceblue;" {{!}} {{{effect2_keep}}} }}
+
{{!-}}
+
{{#if:{{{reaction1|}}}|
+
{{!}} style="background: pink;" {{!}} '''Reaction 1:'''
+
{{!}} style="background: pink;" {{!}} {{{reaction1}}} }}
+
{{!-}}
+
{{#if:{{{reaction1_range|}}}|
+
{{!}} style="background: pink;" {{!}} '''Range:'''
+
{{!}} style="background: pink;" {{!}} {{{reaction1_range}}} }}
+
{{!-}}
+
{{#if:{{{reaction1_duration|}}}|
+
{{!}} style="background: pink;" {{!}} '''Duration:'''
+
{{!}} style="background: pink;" {{!}} {{{reaction1_duration}}} }}
+
{{!-}}
+
{{#if:{{{reaction1_selftar|}}}|
+
{{!}} style="background: pink;" {{!}} '''Self target:'''
+
{{!}} style="background: pink;" {{!}} {{{reaction1_selftar}}} }}
+
{{!-}}
+
{{#if:{{{reaction1_chance|}}}|
+
{{!}} style="background: pink;" {{!}} '''Chance:'''
+
{{!}} style="background: pink;" {{!}} {{{reaction1_chance}}} }}
+
{{!-}}
+
{{#if:{{{reaction1_keep|}}}|
+
{{!}} style="background: pink;" {{!}} '''Keep:'''
+
{{!}} style="background: pink;" {{!}} {{{reaction1_keep}}} }}
+
{{!-}}
+
{{#if:{{{reaction2|}}}|
+
{{!}} style="background: lavender;" {{!}} '''Reaction 2:'''
+
{{!}} style="background: lavender;" {{!}} {{{reaction2}}} }}
+
{{!-}}
+
{{#if:{{{reaction2_range|}}}|
+
{{!}} style="background: lavender;" {{!}} ''Range:'''
+
{{!}} style="background: lavender;" {{!}} {{{reaction2_range}}} }}
+
{{!-}}
+
{{#if:{{{reaction2_duration|}}}|
+
{{!}} style="background: lavender;" {{!}} '''Duration:'''
+
{{!}} style="background: lavender;" {{!}} {{{reaction2_duration}}} }}
+
{{!-}}
+
{{#if:{{{reaction2_selftar|}}}|
+
{{!}} style="background: lavender;" {{!}} '''Self target:'''
+
{{!}} style="background: lavender;" {{!}} {{{reaction2_selftar}}} }}
+
{{!-}}
+
{{#if:{{{reaction2_chance|}}}|
+
{{!}} style="background: lavender;" {{!}} '''Chance:'''
+
{{!}} style="background: lavender;" {{!}} {{{reaction2_chance}}} }}
+
{{!-}}
+
{{#if:{{{reaction2_keep|}}}|
+
{{!}} style="background: lavender;" {{!}} '''Keep:'''
+
{{!}} style="background: lavender;" {{!}} {{{reaction2_keep}}} }}
+
{{!-}}
+
{{#if:{{{flavor|}}}|
+
{{!}} valign=top {{!}} '''Flavor Text:'''
+
{{!}} ''{{{flavor}}}''}}
+
|}[[Category:Cards|{{SUBPAGENAME}}]]</includeonly><noinclude>
+
  
 
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 bead=<Item talent bead, mandatory>  
+
|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 Stout club.jpg
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

No image.pngNo image.pngNo image.pngNo image.pngNo image.png No image.png

      
Personal tools
Namespaces

Variants
Actions
Navigation
Tools