Difference between revisions of "Template:Effectmodifier"
From Twilight Heroes Wiki
Line 2: | Line 2: | ||
|defense=Increases defense (scales with level)[[Category:Defense Modifiers]] | |defense=Increases defense (scales with level)[[Category:Defense Modifiers]] | ||
|elementalres={{{3}}} {{{2}}} resistance[[Category:Resist Elemental Damage by Type|{{{2}}}]][[Category:Resist Elemental Damage]] | |elementalres={{{3}}} {{{2}}} resistance[[Category:Resist Elemental Damage by Type|{{{2}}}]][[Category:Resist Elemental Damage]] | ||
− | |weapondamage={{{2}}} Weapon damage[[Category:Bonus Melee Damage]][[Category:Bonus Ranged Damage]] | + | |weapondamage={{#if:{{{2|}}}|{{{2}}} Weapon damage|Increased weapon damage (scales with level)}}[[Category:Bonus Melee Damage]][[Category:Bonus Ranged Damage]] |
|#default=<i>Unknown Modifier</i>[[Category:Incomplete]]}}<br></includeonly><noinclude> | |#default=<i>Unknown Modifier</i>[[Category:Incomplete]]}}<br></includeonly><noinclude> | ||
This template is to be used to specify and autocat modifiers on skills and effects. | This template is to be used to specify and autocat modifiers on skills and effects. | ||
Line 14: | Line 14: | ||
| [[:Category:Resist Elemental Damage]] || <nowiki>{{effectmodifier|elementalres|fire|+10%}}</nowiki> || <b>+10% fire resistance</b> | | [[:Category:Resist Elemental Damage]] || <nowiki>{{effectmodifier|elementalres|fire|+10%}}</nowiki> || <b>+10% fire resistance</b> | ||
|- | |- | ||
− | | [[:Category:Bonus Melee Damage]] and [[:Category:Bonus Ranged Damage]] || <nowiki>{{modifier|weapondamage|3x}}</nowiki> || <b>3x | + | | rowspan=2 | [[:Category:Bonus Melee Damage]] and [[:Category:Bonus Ranged Damage]] |
+ | | <nowiki>{{modifier|weapondamage}}</nowiki> || <b>Increased weapon damage (scales with level)</b> | ||
+ | | <nowiki>{{modifier|weapondamage|3x}}</nowiki> || <b>3x weapon damage</b> | ||
|} | |} | ||
[[Category:Standardization Templates]] | [[Category:Standardization Templates]] | ||
</noinclude> | </noinclude> |
Revision as of 11:13, 18 May 2009
This template is to be used to specify and autocat modifiers on skills and effects. It can be used to set to set:
Category | format example | yields | ||
---|---|---|---|---|
Category:Defense Modifiers | {{effectmodifier|defense}} | Increases defense (scales with level) | ||
Category:Resist Elemental Damage | {{effectmodifier|elementalres|fire|+10%}} | +10% fire resistance | ||
Category:Bonus Melee Damage and Category:Bonus Ranged Damage | {{modifier|weapondamage}} | Increased weapon damage (scales with level) | {{modifier|weapondamage|3x}} | 3x weapon damage |