Difference between revisions of "Template:TotalDamage"

From Stoneshard wiki
Jump to navigation Jump to search
old>Phoe nixx
(Created page with "<includeonly>{{#expr| {{#if: {{:{{{1}}}|Damage1}} | {{:{{{1}}}|Damage1}} | 0 }} + {{#if: {{:{{{1}}}|Damage2}} | {{:{{{1}}}|Damage2}} | 0 }} + {{#if: {{:{{{1}}}|Damage3}} | {{:...")
 
old>Phoe nixx
m
Line 1: Line 1:
<includeonly>{{#expr|
<includeonly>{{#expr:
{{#if: {{:{{{1}}}|Damage1}} | {{:{{{1}}}|Damage1}} | 0 }} +
{{#if: {{:{{{1}}}|Damage1}} | {{:{{{1}}}|Damage1}} | 0 }} +
{{#if: {{:{{{1}}}|Damage2}} | {{:{{{1}}}|Damage2}} | 0 }} +
{{#if: {{:{{{1}}}|Damage2}} | {{:{{{1}}}|Damage2}} | 0 }} +

Revision as of 18:40, 4 October 2020

Template-info.png Documentation

This template is used for calculation of the total damage of a particular weapon.

Only one parameter is used - Weapon's page name.

Usage:

{{TotalDamage|Rusty Sword}}

Result:

Expression error: Unexpected < operator.