Template:Cardpage
From Card Hunter Wiki
(Difference between revisions)
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
{| style="background:white; border-collapse: collapse; width=85%;" | {| style="background:white; border-collapse: collapse; width=85%;" | ||
− | |style="width: | + | |style="width:20%;"|'''Name:''' |
− | |style="width: | + | |style="width:35%;"|<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|}}}|1|0}}+{{#if:{{{effect1_range|}}}|1|0}}+{{#if:{{{effect1_duration|}}}|1|0}}+{{#if:{{{effect1_selftar|}}}|1|0}}+{{#if:{{{effect1_chance|}}}|1|0}}+{{#if:{{{effect1_keep|}}}|1|0}}+{{#if:{{{effect2|}}}|6|0}}+{{#if:{{{effect2_range|}}}|1|0}}+{{#if:{{{effect2_duration|}}}|1|0}}+{{#if:{{{effect2_selftar|}}}|1|0}}+{{#if:{{{effect2_chance|}}}|1|0}}+{{#if:{{{effect2_keep|}}}|1|0}}+{{#if:{{{reaction1|}}}|1|0}}+{{#if:{{{reaction1_range|}}}|1|0}}+{{#if:{{{reaction1_duration|}}}|1|0}}+{{#if:{{{reaction1_selftar|}}}|1|0}}+{{#if:{{{reaction1_chance|}}}|1|0}}+{{#if:{{{reaction1_keep|}}}|1|0}}+{{#if:{{{reaction2|}}}|6|0}}+{{#if:{{{reaction2_range|}}}|1|0}}+{{#if:{{{reaction2_duration|}}}|1|0}}+{{#if:{{{reaction2_selftar|}}}|1|0}}+{{#if:{{{reaction2_chance|}}}|1|0}}+{{#if:{{{reaction2_keep|}}}|1|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|}}}|1|0}}+{{#if:{{{effect1_range|}}}|1|0}}+{{#if:{{{effect1_duration|}}}|1|0}}+{{#if:{{{effect1_selftar|}}}|1|0}}+{{#if:{{{effect1_chance|}}}|1|0}}+{{#if:{{{effect1_keep|}}}|1|0}}+{{#if:{{{effect2|}}}|6|0}}+{{#if:{{{effect2_range|}}}|1|0}}+{{#if:{{{effect2_duration|}}}|1|0}}+{{#if:{{{effect2_selftar|}}}|1|0}}+{{#if:{{{effect2_chance|}}}|1|0}}+{{#if:{{{effect2_keep|}}}|1|0}}+{{#if:{{{reaction1|}}}|1|0}}+{{#if:{{{reaction1_range|}}}|1|0}}+{{#if:{{{reaction1_duration|}}}|1|0}}+{{#if:{{{reaction1_selftar|}}}|1|0}}+{{#if:{{{reaction1_chance|}}}|1|0}}+{{#if:{{{reaction1_keep|}}}|1|0}}+{{#if:{{{reaction2|}}}|6|0}}+{{#if:{{{reaction2_range|}}}|1|0}}+{{#if:{{{reaction2_duration|}}}|1|0}}+{{#if:{{{reaction2_selftar|}}}|1|0}}+{{#if:{{{reaction2_chance|}}}|1|0}}+{{#if:{{{reaction2_keep|}}}|1|0}}+{{#if:{{{flavor|}}}|1|0}}}}|{{CardImage|{{{image1}}} }} | ||
|- | |- |
Revision as of 02:54, 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.