Difference between revisions of "Template:AttributeModifier"
From A Wiki in the Desert
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
{{#subobject:AttributeModifier{{{attribute}}} | {{#subobject:AttributeModifier{{{attribute}}} | ||
− | |Affects attribute={{{attribute}}} | + | |Affects attribute=Attribute/{{{attribute}}} |
|Has magnitude={{{amount}}} | |Has magnitude={{{amount}}} | ||
|Has duration={{{time|-1}}} | |Has duration={{{time|-1}}} | ||
}}{{#ifexpr:{{{amount}}} != 0| | }}{{#ifexpr:{{{amount}}} != 0| | ||
{{#ifexpr:{{{amount}}}>0| | {{#ifexpr:{{{amount}}}>0| | ||
− | * Increases [[{{{attribute}}}]] by <span style="color:green">{{{amount}}}</span>{{#ifeq: {{{time|0}}}|0|| for {{{time}}}s}} | + | * Increases [[Attribute/{{{attribute}}}|{{{attribute}}}]] by <span style="color:green">{{{amount}}}</span>{{#ifeq: {{{time|0}}}|0|| for {{{time}}}s}} |
}}{{#ifexpr:{{{amount}}}<0| | }}{{#ifexpr:{{{amount}}}<0| | ||
− | * Decreases [[{{{attribute}}}]] by <span style="color:red">{{{amount}}}</span>{{#ifeq: {{{time|0}}}|0|| for {{{time}}}s}} | + | * Decreases [[Attribute/{{{attribute}}}|{{{attribute}}}]] by <span style="color:red">{{{amount}}}</span>{{#ifeq: {{{time|0}}}|0|| 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 "{".