Template:Cardpage

From Card Hunter Wiki
(Difference between revisions)
Jump to: navigation, search
Line 3: Line 3:
 
|style="width:16%;"|'''Name:'''
 
|style="width:16%;"|'''Name:'''
 
|style="width:20%;"|<big>'''{{{name}}}'''</big>
 
|style="width:20%;"|<big>'''{{{name}}}'''</big>
|rowspan={{#expr:4+{{#if:{{{damage|}}}|1|0}}+{{#if:{{{range|}}}|1|0}}+{{#if:{{{Type|}}}|1|0}}+{{#if:{{{damType|}}}|1|0}}+{{#if:{{{effectType|}}}|1|0}}+{{#if:{{{effect1|}}}|4|0}}+{{#if:{{{effect2|}}}|4|0}}+{{#if:{{{reaction1|}}}|5|0}}++{{#if:{{{reaction2|}}}|5|0}}{{#if:{{{flavor|}}}|1|0}}}}|{{CardImage|{{{image1}}} }}
+
|rowspan={{#expr:4+{{#if:{{{damage|}}}|1|0}}+{{#if:{{{range|}}}|1|0}}+{{#if:{{{Type|}}}|1|0}}+{{#if:{{{damType|}}}|1|0}}+{{#if:{{{effectType|}}}|1|0}}+{{#if:{{{effect1|}}}|4|0}}+{{#if:{{{effect2|}}}|4|0}}+{{#if:{{{reaction1|}}}|6|0}}++{{#if:{{{reaction2|}}}|6|0}}{{#if:{{{flavor|}}}|1|0}}}}|{{CardImage|{{{image1}}} }}
 
|-
 
|-
 
|'''Quality:'''
 
|'''Quality:'''
Line 14: Line 14:
 
|{{CardType|{{{cardcolor1}}}|{{{cardcolor2}}}|{{{cardcolor3}}} }}
 
|{{CardType|{{{cardcolor1}}}|{{{cardcolor2}}}|{{{cardcolor3}}} }}
 
|-
 
|-
{{#if:{{{damage|}}}|
 
{{!}} '''Damage:'''
 
{{!}} {{{damage}}} }}
 
{{!-}}
 
{{#if:{{{range|}}}|
 
{{!}} '''Range:'''
 
{{!}} {{{range}}} }}
 
{{!-}}
 
 
{{#if:{{{Type|}}}|
 
{{#if:{{{Type|}}}|
 
{{!}} '''Type:'''
 
{{!}} '''Type:'''
Line 33: Line 25:
 
{{!}} '''Effect Type:'''
 
{{!}} '''Effect Type:'''
 
{{!}} {{{effectType}}} }}
 
{{!}} {{{effectType}}} }}
 +
{{!-}}
 +
{{#if:{{{damage|}}}|
 +
{{!}} '''Damage:'''
 +
{{!}} {{{damage}}} }}
 +
{{!-}}
 +
{{#if:{{{range|}}}|
 +
{{!}} '''Range:'''
 +
{{!}} {{{range}}} }}
 
{{!-}}
 
{{!-}}
 
{{#if:{{{effect1|}}}|
 
{{#if:{{{effect1|}}}|
Line 61: Line 61:
 
{{!-}}
 
{{!-}}
 
{{#if:{{{reaction1|}}}|
 
{{#if:{{{reaction1|}}}|
{{!}} style="background: pink" {{!}} '''1st Reaction:'''
+
{{!}} style="background: pink" {{!}} '''Reaction 1:'''
 
{{!}} style="background: pink" {{!}} {{{reaction1}}} }}
 
{{!}} style="background: pink" {{!}} {{{reaction1}}} }}
 
{{!-}}
 
{{!-}}
 
{{#if:{{{reaction1_range|}}}|
 
{{#if:{{{reaction1_range|}}}|
{{!}} style="background: pink" {{!}} '''1st Reaction range:'''
+
{{!}} style="background: pink" {{!}} '''Range:'''
 
{{!}} style="background: pink" {{!}} {{{reaction1_range}}} }}
 
{{!}} style="background: pink" {{!}} {{{reaction1_range}}} }}
 
{{!-}}
 
{{!-}}
 
{{#if:{{{reaction1_duration|}}}|
 
{{#if:{{{reaction1_duration|}}}|
{{!}} style="background: pink" {{!}} '''1st Reaction duration:'''
+
{{!}} style="background: pink" {{!}} '''Duration:'''
 
{{!}} style="background: pink" {{!}} {{{reaction1_duration}}} }}
 
{{!}} style="background: pink" {{!}} {{{reaction1_duration}}} }}
 +
{{!-}}
 +
{{#if:{{{reaction1_selftar|}}}|
 +
{{!}} style="background: pink" {{!}} '''Self target:'''
 +
{{!}} style="background: pink" {{!}} {{{reaction1_selftar}}} }}
 
{{!-}}
 
{{!-}}
 
{{#if:{{{reaction1_chance|}}}|
 
{{#if:{{{reaction1_chance|}}}|
{{!}} style="background: pink" {{!}} '''1st Reaction chance:'''
+
{{!}} style="background: pink" {{!}} '''Chance:'''
 
{{!}} style="background: pink" {{!}} {{{reaction1_chance}}} }}
 
{{!}} style="background: pink" {{!}} {{{reaction1_chance}}} }}
 
{{!-}}
 
{{!-}}
 
{{#if:{{{reaction1_keep|}}}|
 
{{#if:{{{reaction1_keep|}}}|
{{!}} style="background: pink" {{!}} '''1st Reaction Keep:'''
+
{{!}} style="background: pink" {{!}} '''Keep:'''
 
{{!}} style="background: pink" {{!}} {{{reaction1_keep}}} }}
 
{{!}} style="background: pink" {{!}} {{{reaction1_keep}}} }}
 
{{!-}}
 
{{!-}}
 
{{#if:{{{reaction2|}}}|
 
{{#if:{{{reaction2|}}}|
{{!}} style="background: lavender" {{!}} '''2nd Reaction:'''
+
{{!}} style="background: lavender" {{!}} '''Reaction 2:'''
 
{{!}} style="background: lavender" {{!}} {{{reaction2}}} }}
 
{{!}} style="background: lavender" {{!}} {{{reaction2}}} }}
 
{{!-}}
 
{{!-}}
 
{{#if:{{{reaction2_range|}}}|
 
{{#if:{{{reaction2_range|}}}|
{{!}} style="background: lavender" {{!}} '''2nd Reaction range:'''
+
{{!}} style="background: lavender" {{!}} ''Range:'''
 
{{!}} style="background: lavender" {{!}} {{{reaction2_range}}} }}
 
{{!}} style="background: lavender" {{!}} {{{reaction2_range}}} }}
 
{{!-}}
 
{{!-}}
 
{{#if:{{{reaction2_duration|}}}|
 
{{#if:{{{reaction2_duration|}}}|
{{!}} style="background: lavender" {{!}} '''2nd Reaction duration:'''
+
{{!}} style="background: lavender" {{!}} '''Duration:'''
 
{{!}} style="background: lavender" {{!}} {{{reaction2_duration}}} }}
 
{{!}} style="background: lavender" {{!}} {{{reaction2_duration}}} }}
 +
{{!-}}
 +
{{#if:{{{reaction2_selftar|}}}|
 +
{{!}} style="background: lavender" {{!}} '''Self target:'''
 +
{{!}} style="background: lavender" {{!}} {{{reaction2_selftar}}} }}
 
{{!-}}
 
{{!-}}
 
{{#if:{{{reaction2_chance|}}}|
 
{{#if:{{{reaction2_chance|}}}|
{{!}} style="background: lavender" {{!}} '''2nd Reaction chance:'''
+
{{!}} style="background: lavender" {{!}} '''Chance:'''
 
{{!}} style="background: lavender" {{!}} {{{reaction2_chance}}} }}
 
{{!}} style="background: lavender" {{!}} {{{reaction2_chance}}} }}
 
{{!-}}
 
{{!-}}
 
{{#if:{{{reaction2_keep|}}}|
 
{{#if:{{{reaction2_keep|}}}|
{{!}} style="background: lavender" {{!}} '''2nd Reaction Keep:'''
+
{{!}} style="background: lavender" {{!}} '''Keep:'''
 
{{!}} style="background: lavender" {{!}} {{{reaction2_keep}}} }}
 
{{!}} style="background: lavender" {{!}} {{{reaction2_keep}}} }}
 
{{!-}}
 
{{!-}}

Revision as of 00:52, 8 November 2012


This is the skeletal outline for a card page, usage is as follows:

{{Cardpage
|image1=<image_filename.jpg>
|name=<Card name>
|titlebar=<Card tier>
|rarity=<Card rarity>
|cardcolor1=<Card type1>
|cardcolor2=<Card type2>
|cardcolor3=<Card type3>
|damage=<damage value>
|range=<range value>
|effectType=<effect type in keywords or plain text>
|effect1=<effect 1 in keywords or plain text>
|effect1_return=<Yes/No>
|effect1_duration=<integer duration or instant>
|effect1_chance=<dice roll>
|effect2=<effect 2 in keywords or plain text>
|effect2_return=<Yes/No>
|effect2_duration=<integer duration or instant>
|effect2_chance=<dice roll>
|reaction1=<reaction 1 in keywords or plain text>
|reaction1_return=<Yes/No>
|reaction1_duration=<integer duration or instant>
|reaction1_chance=<dice roll>
|reaction2=<reaction 2 in keywords or plain text>
|reaction2_return=<Yes/No>
|reaction2_duration=<integer duration or instant>
|reaction2_chance=<dice roll>
|flavor=<flavor text>
}}

Simply copy/paste the above code and fill in what should be there and delete any optional lines you are not using.


      
Personal tools
Namespaces

Variants
Actions
Navigation
Tools