Template:Modifier: Difference between revisions

From Twilight Heroes Wiki
Jump to navigation Jump to search
No edit summary
melee damage
Line 1: Line 1:
<includeonly>'''{{#switch:{{lc:{{{1|?}}}}}||?=<i>Unknown Modifier</i>[[Category:Incomplete]]
<includeonly>'''{{#switch:{{lc:{{{1|?}}}}}||?=<i>Unknown Modifier</i>[[Category:Incomplete]]
|elementaldamage={{{3}}} {{{2}}} damage[[Category:Bonus Elemental Damage]][[Category:Bonus Elemental Damage by Type|{{{2}}}]]
|elementaldamage={{{3}}} {{{2}}} damage[[Category:Bonus Elemental Damage]][[Category:Bonus Elemental Damage by Type|{{{2}}}]]
|meleedamage={{{2}}} melee damage[[Category:Bonus Melee 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. It is going to be build incrementally.
This template is to be used to specify and autocat modifiers. It is going to be build incrementally.
Line 9: Line 10:
! modifier !! format example !! yields
! modifier !! format example !! yields
|-
|-
| bonus elemental damage || <nowiki>{{modifier|elementaldamage|electric|+1}}</nowiki> || <b>+1 electric damage</b>
| Bonus elemental damage || <nowiki>{{modifier|elementaldamage|electric|+1}}</nowiki> || <b>+1 electric damage</b>
|-
| Bonus melee damage || <nowiki>{{modifier|meleedamage|+3}}</nowiki> || <b>+3 melee damage</b>
|}
|}
</noinclude>
</noinclude>

Revision as of 13:41, 29 January 2009

This template is to be used to specify and autocat modifiers. It is going to be build incrementally.

Currently you can use it to set:

modifier format example yields
Bonus elemental damage {{modifier|elementaldamage|electric|+1}} +1 electric damage
Bonus melee damage {{modifier|meleedamage|+3}} +3 melee damage