Reference any card attribute (names are in kebab case Ex. 'Mystic Power' -> 'mystic-power').
{{card.mystic-power}}
Reference any asset (names are in kebab case Ex. 'Apple Image' -> 'apple-image').
<img src="{{assets.apple-image}}"/>
Index an object/array with another variable (Ex. assets[card.image]).
{{index assets card.image}}
Compile text containing {{asset-name [multiples]}}
variables. It will also render any HTML in your field.
{{compile card.description width=100}}
Ex. Description Field
Draw {{red-card 2}}, discard {{red-card}}.
Ex. HTML in Description Field
Player Actions (three per turn):
<ul>
<li><b>draw</b> a card from your deck.</li>
<li><b>move</b> one space on the board.</li>
<li><b>attack</b> enemy for one damage.</li>
</ul>
Repeat the contained HTML n
number of times.
{{#repeat 5}}
Any arbitrary HTML
{{/repeat}}
{{#if (and (eq card.type "mystic") (gt card.power 4))}}
{{/if}}
{{#if (or (eq card.type "mystic") (gt card.power 4))}}
{{/if}}
{{#if (eq card.type 'mystic')}}
{{/if}}
{{#if (gt card.power 5)}}
{{/if}}
{{#if (gte card.power 5)}}
{{/if}}
{{#if (lt card.power 4)}}
{{/if}}
{{#if (lte card.power 4)}}
{{/if}}
{{concat card.type "-experience"}}
{{kebabcase "Clear Orb"}}
{{uppercase "Clear Orb"}}
{{lowercase "Clear Orb"}}
Pad a given number by n
zeros.
{{padZeros card.id 3}}
{{add card.power 2}}
{{sub card.power 2}}
{{multiply card.power 2}}
{{divide card.power 2}}
{{ceil card.power}}
{{floor card.power}}
{{abs card.power}}