Difference between revisions of "Template:Effectmodifier"

From Twilight Heroes Wiki
Jump to: navigation, search
Line 1: Line 1:
 
<includeonly>{{#switch:{{lc:{{{1|?}}}}}||?=<i>Unknown Modifier</i>[[Category:Incomplete]]
 
<includeonly>{{#switch:{{lc:{{{1|?}}}}}||?=<i>Unknown Modifier</i>[[Category:Incomplete]]
|defense=Increases defense (scales with level)[[Category:Defense Modifiers]]
+
|defense=Increases defense[[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={{#if:{{{2|}}}|{{{2}}} weapon damage|Increased weapon damage (scales with level)}}[[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]]

Revision as of 13:47, 3 March 2010

This template is to be used to specify and autocat modifiers on skills and effects. It can be used to set:

Category format example yields
Category:Defense Modifiers {{effectmodifier|defense}} Increases defense
Category:Resist Elemental Damage {{effectmodifier|elementalres|fire|+10%}} +10% fire resistance
Category:Bonus Melee Damage and Category:Bonus Ranged Damage {{effectmodifier|weapondamage}} Increased weapon damage (scales with level)
{{effectmodifier|weapondamage|3x}} 3x weapon damage
Category:PP Regeneration {{effectmodifier|ppregen|+3}} +3 PP regen/turn
Category:HP Regeneration {{effectmodifier|hpregen|+3}} +3 HP regen/turn
Category:Initiative Modifiers {{modifier|initiative|+5}} +5 initiative