Difference between revisions of "Template:Effectmodifier"

From Twilight Heroes Wiki
Jump to: navigation, search
m
m
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 (scales with level)[[Category:Defense Modifiers]]
 +
|elementalres={{{3}}} {{{2}}} resistance[[Category:Resist Elemental Damage by Type|{{{2}}}]][[Category:Resist Elemental 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 9: Line 10:
 
|-
 
|-
 
| [[:Category:Defense Modifiers]] || <nowiki>{{effectmodifier|defense}}</nowiki> || <b>Increases defense (scales with level)</b>
 
| [[:Category:Defense Modifiers]] || <nowiki>{{effectmodifier|defense}}</nowiki> || <b>Increases defense (scales with level)</b>
 +
|-
 +
| [[:Category:Resist Elemental Damage]] || <nowiki>{{effectmodifier|elementalres|fire|+10%}}</nowiki> || <b>+10% fire resistance</b>
 
|}
 
|}
 
[[Category:Standardization Templates]]
 
[[Category:Standardization Templates]]
 
</noinclude>
 
</noinclude>

Revision as of 05:56, 12 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