Difference between revisions of "Template:Effectmodifier"

From Twilight Heroes Wiki
Jump to: navigation, search
Line 4: Line 4:
 
|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]]
 
|ppregen={{{2}}} PP regen/turn[[Category:PP Regeneration]]
 
|ppregen={{{2}}} PP regen/turn[[Category:PP Regeneration]]
 +
|hpregen={{{2}}} HP regen/turn[[Category:HP Regeneration]]
 
|#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 21: Line 22:
 
|-
 
|-
 
| [[:Category:PP Regeneration]] || <nowiki>{{effectmodifier|ppregen|+3}}</nowiki> || <b>+3 PP regen/turn</b>
 
| [[:Category:PP Regeneration]] || <nowiki>{{effectmodifier|ppregen|+3}}</nowiki> || <b>+3 PP regen/turn</b>
 +
|-
 +
| [[:Category:HP Regeneration]] || <nowiki>{{effectmodifier|hpregen|+3}}</nowiki> || <b>+3 HP regen/turn</b>
 
|}
 
|}
 
[[Category:Standardization Templates]]
 
[[Category:Standardization Templates]]
 
</noinclude>
 
</noinclude>

Revision as of 11:24, 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 {{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