Template:Cardpage

From Card Hunter Wiki
(Difference between revisions)
Jump to: navigation, search
Line 15: Line 15:
 
|-
 
|-
 
{{#if:{{{Type|}}}|
 
{{#if:{{{Type|}}}|
{{!}} style="background: beige" {{!}} '''Type:'''
+
{{!}} style="background: beige;" {{!}} '''Type:'''
{{!}} style="background: beige" {{!}} {{{Type}}} }}
+
{{!}} style="background: beige;" {{!}} {{{Type}}} }}
 
{{!-}}
 
{{!-}}
 
{{#if:{{{damType|}}}|
 
{{#if:{{{damType|}}}|
{{!}} style="background: beige" {{!}} '''Damage Type:'''
+
{{!}} style="background: beige;" {{!}} '''Damage Type:'''
{{!}} style="background: beige" {{!}} {{{damType}}} }}
+
{{!}} style="background: beige;" {{!}} {{{damType}}} }}
 
{{!-}}
 
{{!-}}
 
{{#if:{{{effectType|}}}|
 
{{#if:{{{effectType|}}}|
{{!}} style="background: beige" {{!}} '''Effect Type:'''
+
{{!}} style="background: beige;" {{!}} '''Effect Type:'''
{{!}} style="background: beige" {{!}} {{{effectType}}} }}
+
{{!}} style="background: beige;" {{!}} {{{effectType}}} }}
 
{{!-}}
 
{{!-}}
 
{{#if:{{{damage|}}}|
 
{{#if:{{{damage|}}}|
{{!}} style="background: beige" {{!}} '''Damage:'''
+
{{!}} style="background: beige;" {{!}} '''Damage:'''
{{!}} style="background: beige" {{!}} {{{damage}}} }}
+
{{!}} style="background: beige;" {{!}} {{{damage}}} }}
 
{{!-}}
 
{{!-}}
 
{{#if:{{{range|}}}|
 
{{#if:{{{range|}}}|
{{!}} style="background: beige" {{!}} '''Range:'''
+
{{!}} style="background: beige;" {{!}} '''Range:'''
{{!}} style="background: beige" {{!}} {{{range}}} }}
+
{{!}} style="background: beige;" {{!}} {{{range}}} }}
 
{{!-}}
 
{{!-}}
 
{{#if:{{{effect1|}}}|
 
{{#if:{{{effect1|}}}|
{{!}} style="background: beige" {{!}} '''Effect 1:'''
+
{{!}} style="background: beige;" {{!}} '''Effect 1:'''
{{!}} style="background: beige" {{!}} {{{effect1}}} }}
+
{{!}} style="background: beige;" {{!}} {{{effect1}}} }}
 
{{!-}}
 
{{!-}}
 
{{#if:{{{effect1_range|}}}|
 
{{#if:{{{effect1_range|}}}|
{{!}} style="background: beige" {{!}} '''Range:'''
+
{{!}} style="background: beige;" {{!}} '''Range:'''
{{!}} style="background: beige" {{!}} {{{effect1_range}}} }}
+
{{!}} style="background: beige;" {{!}} {{{effect1_range}}} }}
 
{{!-}}
 
{{!-}}
 
{{#if:{{{effect1_duration|}}}|
 
{{#if:{{{effect1_duration|}}}|
{{!}} style="background: beige" {{!}} '''Duration:'''
+
{{!}} style="background: beige;" {{!}} '''Duration:'''
{{!}} style="background: beige" {{!}} {{{effect1_duration}}} }}
+
{{!}} style="background: beige;" {{!}} {{{effect1_duration}}} }}
 
{{!-}}
 
{{!-}}
 
{{#if:{{{effect1_selftar|}}}|
 
{{#if:{{{effect1_selftar|}}}|
{{!}} style="background: beige" {{!}} '''Self target:'''
+
{{!}} style="background: beige;" {{!}} '''Self target:'''
{{!}} style="background: beige" {{!}} {{{effect1_selftar}}} }}
+
{{!}} style="background: beige;" {{!}} {{{effect1_selftar}}} }}
 
{{!-}}
 
{{!-}}
 
{{#if:{{{effect1_chance|}}}|
 
{{#if:{{{effect1_chance|}}}|
{{!}} style="background: beige" {{!}} '''Chance:'''
+
{{!}} style="background: beige;" {{!}} '''Chance:'''
{{!}} style="background: beige" {{!}} {{{effect1_chance}}} }}
+
{{!}} style="background: beige;" {{!}} {{{effect1_chance}}} }}
 
{{!-}}
 
{{!-}}
 
{{#if:{{{effect1_keep|}}}|
 
{{#if:{{{effect1_keep|}}}|
{{!}} style="background: beige" {{!}} '''Keep:'''
+
{{!}} style="background: beige;" {{!}} '''Keep:'''
{{!}} style="background: beige" {{!}} {{{effect1_keep}}} }}
+
{{!}} style="background: beige;" {{!}} {{{effect1_keep}}} }}
 
{{!-}}
 
{{!-}}
 
{{#if:{{{effect2|}}}|
 
{{#if:{{{effect2|}}}|
{{!}} style="background: aliceblue" {{!}} '''Effect 2:'''
+
{{!}} style="background: aliceblue;" {{!}} '''Effect 2:'''
{{!}} style="background: aliceblue" {{!}} {{{effect2}}} }}
+
{{!}} style="background: aliceblue;" {{!}} {{{effect2}}} }}
 
{{!-}}
 
{{!-}}
 
{{#if:{{{effect2_range|}}}|
 
{{#if:{{{effect2_range|}}}|
{{!}} style="background: aliceblue" {{!}} '''Range:'''
+
{{!}} style="background: aliceblue;" {{!}} '''Range:'''
{{!}} style="background: aliceblue" {{!}} {{{effect2_range}}} }}
+
{{!}} style="background: aliceblue;" {{!}} {{{effect2_range}}} }}
 
{{!-}}
 
{{!-}}
 
{{#if:{{{effect2_duration|}}}|
 
{{#if:{{{effect2_duration|}}}|
{{!}} style="background: aliceblue" {{!}} '''Duration:'''
+
{{!}} style="background: aliceblue;" {{!}} '''Duration:'''
{{!}} style="background: aliceblue" {{!}} {{{effect2_duration}}} }}
+
{{!}} style="background: aliceblue;" {{!}} {{{effect2_duration}}} }}
 
{{!-}}
 
{{!-}}
 
{{#if:{{{effect2_selftar|}}}|
 
{{#if:{{{effect2_selftar|}}}|
{{!}} style="background: aliceblue" {{!}} '''Self target:'''
+
{{!}} style="background: aliceblue;" {{!}} '''Self target:'''
{{!}} style="background: aliceblue" {{!}} {{{effect2_selftar}}} }}
+
{{!}} style="background: aliceblue;" {{!}} {{{effect2_selftar}}} }}
 
{{!-}}
 
{{!-}}
 
{{#if:{{{effect2_chance|}}}|
 
{{#if:{{{effect2_chance|}}}|
{{!}} style="background: aliceblue" {{!}} '''Chance:'''
+
{{!}} style="background: aliceblue;" {{!}} '''Chance:'''
{{!}} style="background: aliceblue" {{!}} {{{effect2_chance}}} }}
+
{{!}} style="background: aliceblue;" {{!}} {{{effect2_chance}}} }}
 
{{!-}}
 
{{!-}}
 
{{#if:{{{effect2_keep|}}}|
 
{{#if:{{{effect2_keep|}}}|
{{!}} style="background: aliceblue" {{!}} '''Keep:'''
+
{{!}} style="background: aliceblue;" {{!}} '''Keep:'''
{{!}} style="background: aliceblue" {{!}} {{{effect2_keep}}} }}
+
{{!}} style="background: aliceblue;" {{!}} {{{effect2_keep}}} }}
 
{{!-}}
 
{{!-}}
 
{{#if:{{{reaction1|}}}|
 
{{#if:{{{reaction1|}}}|
{{!}} style="background: pink" {{!}} '''Reaction 1:'''
+
{{!}} style="background: pink;" {{!}} '''Reaction 1:'''
{{!}} style="background: pink" {{!}} {{{reaction1}}} }}
+
{{!}} style="background: pink;" {{!}} {{{reaction1}}} }}
 
{{!-}}
 
{{!-}}
 
{{#if:{{{reaction1_range|}}}|
 
{{#if:{{{reaction1_range|}}}|
{{!}} style="background: pink" {{!}} '''Range:'''
+
{{!}} style="background: pink;" {{!}} '''Range:'''
{{!}} style="background: pink" {{!}} {{{reaction1_range}}} }}
+
{{!}} style="background: pink;" {{!}} {{{reaction1_range}}} }}
 
{{!-}}
 
{{!-}}
 
{{#if:{{{reaction1_duration|}}}|
 
{{#if:{{{reaction1_duration|}}}|
{{!}} style="background: pink" {{!}} '''Duration:'''
+
{{!}} style="background: pink;" {{!}} '''Duration:'''
{{!}} style="background: pink" {{!}} {{{reaction1_duration}}} }}
+
{{!}} style="background: pink;" {{!}} {{{reaction1_duration}}} }}
 
{{!-}}
 
{{!-}}
 
{{#if:{{{reaction1_selftar|}}}|
 
{{#if:{{{reaction1_selftar|}}}|
{{!}} style="background: pink" {{!}} '''Self target:'''
+
{{!}} style="background: pink;" {{!}} '''Self target:'''
{{!}} style="background: pink" {{!}} {{{reaction1_selftar}}} }}
+
{{!}} style="background: pink;" {{!}} {{{reaction1_selftar}}} }}
 
{{!-}}
 
{{!-}}
 
{{#if:{{{reaction1_chance|}}}|
 
{{#if:{{{reaction1_chance|}}}|
{{!}} style="background: pink" {{!}} '''Chance:'''
+
{{!}} style="background: pink;" {{!}} '''Chance:'''
{{!}} style="background: pink" {{!}} {{{reaction1_chance}}} }}
+
{{!}} style="background: pink;" {{!}} {{{reaction1_chance}}} }}
 
{{!-}}
 
{{!-}}
 
{{#if:{{{reaction1_keep|}}}|
 
{{#if:{{{reaction1_keep|}}}|
{{!}} style="background: pink" {{!}} '''Keep:'''
+
{{!}} style="background: pink;" {{!}} '''Keep:'''
{{!}} style="background: pink" {{!}} {{{reaction1_keep}}} }}
+
{{!}} style="background: pink;" {{!}} {{{reaction1_keep}}} }}
 
{{!-}}
 
{{!-}}
 
{{#if:{{{reaction2|}}}|
 
{{#if:{{{reaction2|}}}|
{{!}} style="background: lavender" {{!}} '''Reaction 2:'''
+
{{!}} style="background: lavender;" {{!}} '''Reaction 2:'''
{{!}} style="background: lavender" {{!}} {{{reaction2}}} }}
+
{{!}} style="background: lavender;" {{!}} {{{reaction2}}} }}
 
{{!-}}
 
{{!-}}
 
{{#if:{{{reaction2_range|}}}|
 
{{#if:{{{reaction2_range|}}}|
{{!}} style="background: lavender" {{!}} ''Range:'''
+
{{!}} style="background: lavender;" {{!}} ''Range:'''
{{!}} style="background: lavender" {{!}} {{{reaction2_range}}} }}
+
{{!}} style="background: lavender;" {{!}} {{{reaction2_range}}} }}
 
{{!-}}
 
{{!-}}
 
{{#if:{{{reaction2_duration|}}}|
 
{{#if:{{{reaction2_duration|}}}|
{{!}} style="background: lavender" {{!}} '''Duration:'''
+
{{!}} style="background: lavender;" {{!}} '''Duration:'''
{{!}} style="background: lavender" {{!}} {{{reaction2_duration}}} }}
+
{{!}} style="background: lavender;" {{!}} {{{reaction2_duration}}} }}
 
{{!-}}
 
{{!-}}
 
{{#if:{{{reaction2_selftar|}}}|
 
{{#if:{{{reaction2_selftar|}}}|
{{!}} style="background: lavender" {{!}} '''Self target:'''
+
{{!}} style="background: lavender;" {{!}} '''Self target:'''
{{!}} style="background: lavender" {{!}} {{{reaction2_selftar}}} }}
+
{{!}} style="background: lavender;" {{!}} {{{reaction2_selftar}}} }}
 
{{!-}}
 
{{!-}}
 
{{#if:{{{reaction2_chance|}}}|
 
{{#if:{{{reaction2_chance|}}}|
{{!}} style="background: lavender" {{!}} '''Chance:'''
+
{{!}} style="background: lavender;" {{!}} '''Chance:'''
{{!}} style="background: lavender" {{!}} {{{reaction2_chance}}} }}
+
{{!}} style="background: lavender;" {{!}} {{{reaction2_chance}}} }}
 
{{!-}}
 
{{!-}}
 
{{#if:{{{reaction2_keep|}}}|
 
{{#if:{{{reaction2_keep|}}}|
{{!}} style="background: lavender" {{!}} '''Keep:'''
+
{{!}} style="background: lavender;" {{!}} '''Keep:'''
{{!}} style="background: lavender" {{!}} {{{reaction2_keep}}} }}
+
{{!}} style="background: lavender;" {{!}} {{{reaction2_keep}}} }}
 
{{!-}}
 
{{!-}}
 
{{#if:{{{flavor|}}}|
 
{{#if:{{{flavor|}}}|

Revision as of 02:43, 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