Ad placeholder

User:Crashaholic/ActionTemplate: Difference between revisions

Jump to navigation Jump to search
m
maybe this will fix pages without any properties?
(if there are no properties, leave it empty. also defines d1 and d2 for later)
m (maybe this will fix pages without any properties?)
Line 8: Line 8:


== Description ==
== Description ==
{{{description}}}{{#vardefine: hasprop|0}}{{#vardefine: hasprop | {{#if: {{{damage|}}} | 1}}{{#if: {{{cost|}}} | 1}}{{#if: {{{concentration|}}} | 1}}{{#if: {{{recharge|}}} | 1}}{{#if: {{{distance|}}} | 1}}{{#if: {{{aoe|}}} | 1}}}}
{{{description}}}
{{#vardefine: hasprop | {{#if: {{{damage|}}} | 1}}{{#if: {{{cost|}}} | 1}}{{#if: {{{concentration|}}} | 1}}{{#if: {{{recharge|}}} | 1}}{{#if: {{{distance|}}} | 1}}{{#if: {{{aoe|}}} | 1}}0}}
{{#ifexpr: {{#var: hasprop}} > 0| == Properties ==
{{#ifexpr: {{#var: hasprop}} > 0| == Properties ==
{{trim|
{{trim|

Navigation menu