Template:Cardpage

From Card Hunter Wiki
(Difference between revisions)
Jump to: navigation, search
Line 52: Line 52:
 
{{#if:{{{effect1_chance|}}}|
 
{{#if:{{{effect1_chance|}}}|
 
{{!}} style="background: beige;" {{!}} '''Chance:'''
 
{{!}} style="background: beige;" {{!}} '''Chance:'''
{{!}} style="background: beige;" {{!}} {{{effect1_chance}}} '''({{#expr:({{padright:|1|{{{effect1_chance}}} }}/6)*100 }}%) success'''}}
+
{{!}} style="background: beige;" {{!}} {{{effect1_chance}}} '''({{#expr:({{padright:|1|{{{effect1_chance}}} }}/6)*100 }}% success)'''}}
 
{{!-}}
 
{{!-}}
 
{{#if:{{{effect1_keep|}}}|
 
{{#if:{{{effect1_keep|}}}|
Line 76: Line 76:
 
{{#if:{{{effect2_chance|}}}|
 
{{#if:{{{effect2_chance|}}}|
 
{{!}} style="background: aliceblue;" {{!}} '''Chance:'''
 
{{!}} style="background: aliceblue;" {{!}} '''Chance:'''
{{!}} style="background: aliceblue;" {{!}} {{{effect2_chance}}} '''({{#expr:({{padright:|1|{{{effect2_chance}}} }}/6)*100 }}%) success''' }}
+
{{!}} style="background: aliceblue;" {{!}} {{{effect2_chance}}} '''({{#expr:({{padright:|1|{{{effect2_chance}}} }}/6)*100 }}% success)''' }}
 
{{!-}}
 
{{!-}}
 
{{#if:{{{effect2_keep|}}}|
 
{{#if:{{{effect2_keep|}}}|
Line 100: Line 100:
 
{{#if:{{{reaction1_chance|}}}|
 
{{#if:{{{reaction1_chance|}}}|
 
{{!}} style="background: pink;" {{!}} '''Chance:'''
 
{{!}} style="background: pink;" {{!}} '''Chance:'''
{{!}} style="background: pink;" {{!}} {{{reaction1_chance}}}  '''({{#expr:({{padright:|1|{{{reaction1_chance}}} }}/6)*100 }}%) success''' }}
+
{{!}} style="background: pink;" {{!}} {{{reaction1_chance}}}  '''({{#expr:({{padright:|1|{{{reaction1_chance}}} }}/6)*100 }}% success)''' }}
 
{{!-}}
 
{{!-}}
 
{{#if:{{{reaction1_keep|}}}|
 
{{#if:{{{reaction1_keep|}}}|
Line 124: Line 124:
 
{{#if:{{{reaction2_chance|}}}|
 
{{#if:{{{reaction2_chance|}}}|
 
{{!}} style="background: lavender;" {{!}} '''Chance:'''
 
{{!}} style="background: lavender;" {{!}} '''Chance:'''
{{!}} style="background: lavender;" {{!}} {{{reaction2_chance}}} '''({{#expr:({{padright:|1|{{{reaction2_chance}}} }}/6)*100 }}%) success'''}}
+
{{!}} style="background: lavender;" {{!}} {{{reaction2_chance}}} '''({{#expr:({{padright:|1|{{{reaction2_chance}}} }}/6)*100 }}% success)'''}}
 
{{!-}}
 
{{!-}}
 
{{#if:{{{reaction2_keep|}}}|
 
{{#if:{{{reaction2_keep|}}}|

Revision as of 01:46, 23 January 2013


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

{{Cardpage
|image1=<image_filename.jpg, mandatory>
|name=<Card name, mandatory>
|titlebar=<Card quality*, mandatory>
|rarity=<Card rarity in keywords or plain text, mandatory>
|cardcolor1=<Card color1, mandatory>
|cardcolor2=<Card color2, optional>
|cardcolor3=<Card color3, optional>
|Type=<type in keywords or plain text, optional>
|damType=<damage type in keywords or plain text, optional>
|effectType=<effect type in keywords or plain text, optional>
|damage=<damage value, optional>
|range=<range value, optional>
|effect1=<effect 1 in keywords or plain text, optional>
|effect1_range=<integer range, optional>
|effect1_duration=<integer duration, optional>
|effect1_selftar=<Yes, optional>
|effect1_chance=<dice roll, optional>
|effect1_keep=<Yes, optional>
|effect2=<effect 2 in keywords or plain text, optional>
|effect2_range=<integer range, optional>
|effect2_duration=<integer duration, optional>
|effect2_selftar=<Yes, optional>
|effect2_chance=<dice roll, optional>
|effect2_keep=<Yes, optional>
|reaction1=<reaction 1 in keywords or plain text, optional>
|reaction1_range=<integer range, optional>
|reaction1_duration=<integer duration, optional>
|reaction1_selftar=<Yes, optional>
|reaction1_chance=<dice roll, optional>
|reaction1_keep=<Yes, optional>
|reaction2=<reaction 2 in keywords or plain text, optional>
|reaction2_range=<integer range, optional>
|reaction2_duration=<integer duration, optional>
|reaction2_selftar=<Yes, optional>
|reaction2_chance=<dice roll, optional>
|reaction2_keep=<Yes, optional>
|flavor=<flavor text, optional>
}}

Simply copy/paste the above code and fill in what should be there and delete any optional lines you are not using. Template automatically puts card in Cards category.

Accepted Card quality entries: Black, Brown, Beige, Paper, Tan, Bronze, Silver, Gold, Emerald, Green, Violet, Purple and Amethyst

Accepted Card color entries: Blue, Red, Green, Grey, White, Orange, Purple and Black (Caps and non-caps catered for)

      
Personal tools
Namespaces

Variants
Actions
Navigation
Tools