A Wiki in the Desert
Log in

Difference between revisions of "Template:AttributeModifier"

From A Wiki in the Desert
 
Line 5: Line 5:
 
}}{{#ifexpr:{{{amount}}} != 0|
 
}}{{#ifexpr:{{{amount}}} != 0|
 
{{#ifexpr:{{{amount}}}>0|
 
{{#ifexpr:{{{amount}}}>0|
* Increases [[Attribute/{{{attribute}}}]] by <span style="color:green">{{{amount}}}</span>{{#ifeq: {{{time|0}}}|0||&nbsp;for {{{time}}}s}}
+
* Increases [[Attribute/{{{attribute}}}|{{{attribute}}}]] by <span style="color:green">{{{amount}}}</span>{{#ifeq: {{{time|0}}}|0||&nbsp;for {{{time}}}s}}
 
}}{{#ifexpr:{{{amount}}}<0|
 
}}{{#ifexpr:{{{amount}}}<0|
* Decreases [[Attribute/{{{attribute}}}]] by <span style="color:red">{{{amount}}}</span>{{#ifeq: {{{time|0}}}|0||&nbsp;for {{{time}}}s}}
+
* Decreases [[Attribute/{{{attribute}}}|{{{attribute}}}]] by <span style="color:red">{{{amount}}}</span>{{#ifeq: {{{time|0}}}|0||&nbsp;for {{{time}}}s}}
 
}}
 
}}
 
}}
 
}}

Latest revision as of 13:27, 13 May 2021

<ul><li>Property "Affects attribute" (as page type) with input value "Attribute/{{{attribute}}}" contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process.</li> <!--br--><li>"{{{amount}}}" is not a number.</li></ul>Expression error: Unrecognized punctuation character "{".