Ad placeholder

Template:Action page: Difference between revisions

Jump to navigation Jump to search
Preliminary conversion to use ResourceList. Once pages are updated, cost amount, cost 2, hit cost 2, etc. fields should be deleted.
(Automatically add common actions to the category)
(Preliminary conversion to use ResourceList. Once pages are updated, cost amount, cost 2, hit cost 2, etc. fields should be deleted.)
Line 14: Line 14:
{{#if: {{{cost|}}} |
{{#if: {{{cost|}}} |
<dt> Cost: </dt>
<dt> Cost: </dt>
<dd> {{InfoBlob|{{Resource|{{{cost}}}|{{{cost amount|1}}}}}}} {{#if: {{{cost2|}}} | + {{InfoBlob|{{Resource|{{{cost2}}}|{{{cost2 amount|1}}}}}}}}} {{#if: {{{cost3|}}} | + {{InfoBlob|{{Resource|{{{cost3}}}|{{{cost3 amount|1}}}}}}}}} </dd>{{#ifeq: {{{this is an example|}}} ||{{Resource/category|{{{cost}}}}}{{Resource/category|{{{cost2|}}}}}{{Resource/category|{{{cost3|}}}}}}}
<dd> {{InfoBlob|{{ResourceList|{{{cost}}}|{{{cost amount|1}}}}}}} {{#if: {{{cost2|}}} | + {{InfoBlob|{{Resource|{{{cost2}}}|{{{cost2 amount|1}}}}}}}}} {{#if: {{{cost3|}}} | + {{InfoBlob|{{Resource|{{{cost3}}}|{{{cost3 amount|1}}}}}}}}} </dd>{{#ifeq: {{{this is an example|}}} ||{{Resource/category|{{{cost}}}}}{{Resource/category|{{{cost2|}}}}}{{Resource/category|{{{cost3|}}}}}}}
}} {{#if: {{{hit cost|}}} |
}} {{#if: {{{hit cost|}}} |
<dt> Cost on hit: </dt>
<dt> Cost on hit: </dt>
<dd> {{InfoBlob|{{Resource|{{{hit cost}}}|{{{hit cost amount|1}}}}}}} {{#if: {{{hit cost2|}}} | + {{InfoBlob|{{Resource|{{{hit cost2}}}|{{{hit cost2 amount|1}}}}}}}}} </dd>
<dd> {{InfoBlob|{{ResourceList|{{{hit cost}}}|{{{hit cost amount|1}}}}}}} {{#if: {{{hit cost2|}}} | + {{InfoBlob|{{Resource|{{{hit cost2}}}|{{{hit cost2 amount|1}}}}}}}}} </dd>
}} {{#if: {{{damage|}}} |
}} {{#if: {{{damage|}}} |
<dt> Damage: </dt>
<dt> Damage: </dt>

Navigation menu