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|}}}|6|0}}++{{#if:{{{reaction2|}}}|6|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|}}}|6|0}}+{{#if:{{{effect2|}}}|6|0}}+{{#if:{{{reaction1|}}}|6|0}}++{{#if:{{{reaction2|}}}|6|0}}{{#if:{{{flavor|}}}|1|0}}}}|{{CardImage|{{{image1}}} }}
 
|-
 
|-
 
|'''Quality:'''
 
|'''Quality:'''
Line 35: Line 35:
 
{{!-}}
 
{{!-}}
 
{{#if:{{{effect1|}}}|
 
{{#if:{{{effect1|}}}|
{{!}} style="background: beige" {{!}} '''1st Effect:'''
+
{{!}} style="background: beige" {{!}} '''Effect 1:'''
{{!}} style="background: beige" {{!}} {{{effect1}}}
+
{{!}} style="background: beige" {{!}} {{{effect1}}} }}
 
{{!-}}
 
{{!-}}
{{!}} style="background: beige" {{!}} '''1st Effect duration:'''
+
{{#if:{{{effect1_range|}}}|
{{!}} style="background: beige" {{!}} {{{effect1_duration}}}
+
{{!}} style="background: beige" {{!}} '''Range:'''
 +
{{!}} style="background: beige" {{!}} {{{effect1_range}}} }}
 
{{!-}}
 
{{!-}}
{{!}} style="background: beige" {{!}} '''1st Effect chance:'''
+
{{#if:{{{effect1_duration|}}}|
{{!}} style="background: beige" {{!}} {{{effect1_chance}}}
+
{{!}} style="background: beige" {{!}} '''Duration:'''
 +
{{!}} style="background: beige" {{!}} {{{effect1_duration}}} }}
 
{{!-}}
 
{{!-}}
{{!}} style="background: beige" {{!}} '''Return to hand after effect?'''
+
{{#if:{{{effect1_selftar|}}}|
{{!}} style="background: beige" {{!}} {{{effect1_return}}} }}
+
{{!}} 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|}}}|
 
{{#if:{{{effect2|}}}|
{{!}} style="background: aliceblue" {{!}} '''2nd Effect:'''
+
{{!}} style="background: aliceblue" {{!}} '''Effect 2:'''
{{!}} style="background: aliceblue;" {{!}} {{{effect2}}}
+
{{!}} 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}}} }}
 
{{!-}}
 
{{!-}}
{{!}} style="background: aliceblue" {{!}} '''2nd Effect duration:'''
+
{{#if:{{{effect2_selftar|}}}|
{{!}} style="background: aliceblue" {{!}} {{{effect2_duration}}}
+
{{!}} style="background: aliceblue" {{!}} '''Self target:'''
 +
{{!}} style="background: aliceblue" {{!}} {{{effect2_selftar}}} }}
 
{{!-}}
 
{{!-}}
{{!}} style="background: aliceblue" {{!}} '''2nd Effect chance:'''
+
{{#if:{{{effect2_chance|}}}|
{{!}} style="background: aliceblue" {{!}} {{{effect2_chance}}}
+
{{!}} style="background: aliceblue" {{!}} '''Chance:'''
 +
{{!}} style="background: aliceblue" {{!}} {{{effect2_chance}}} }}
 
{{!-}}
 
{{!-}}
{{!}} style="background: aliceblue" {{!}} '''Return to hand after effect?'''
+
{{#if:{{{effect2_keep|}}}|
{{!}} style="background: aliceblue" {{!}} {{{effect2_return}}} }}
+
{{!}} style="background: aliceblue" {{!}} '''Keep:'''
 +
{{!}} style="background: aliceblue" {{!}} {{{effect2_keep}}} }}
 
{{!-}}
 
{{!-}}
 
{{#if:{{{reaction1|}}}|
 
{{#if:{{{reaction1|}}}|

Revision as of 00:57, 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