Template:Cardpage
From Card Hunter Wiki
(Difference between revisions)
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
{| style="background:white; border-collapse: collapse;" | {| style="background:white; border-collapse: collapse;" | ||
− | |style="width: | + | |style="width:16%;"|'''Name:''' |
|style="width:20%;"|<big>'''{{{name}}}'''</big> | |style="width:20%;"|<big>'''{{{name}}}'''</big> | ||
|rowspan={{#expr:3+{{#if:{{{damage|}}}|1|0}}+{{#if:{{{range|}}}|1|0}}+{{#if:{{{effectType|}}}|1|0}}+{{#if:{{{effect1|}}}|4|0}}+{{#if:{{{effect2|}}}|4|0}}+{{#if:{{{reaction1|}}}|4|0}}++{{#if:{{{reaction2|}}}|4|0}}{{#if:{{{flavor|}}}|1|0}}}}|{{CardImage|{{{image1}}} }} | |rowspan={{#expr:3+{{#if:{{{damage|}}}|1|0}}+{{#if:{{{range|}}}|1|0}}+{{#if:{{{effectType|}}}|1|0}}+{{#if:{{{effect1|}}}|4|0}}+{{#if:{{{effect2|}}}|4|0}}+{{#if:{{{reaction1|}}}|4|0}}++{{#if:{{{reaction2|}}}|4|0}}{{#if:{{{flavor|}}}|1|0}}}}|{{CardImage|{{{image1}}} }} |
Revision as of 22:30, 28 October 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> |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.