Difference between revisions of "Template:Modifier"

From Twilight Heroes Wiki
Jump to: navigation, search
(I am going to build this template incrementally)
 
Line 1: Line 1:
<includeonly></includeonly><noinclude>
+
<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}}}]]
 +
|#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.
  
 
Currently you can use it to set:
 
Currently you can use it to set:
  
{| style="text-align:left" border="1"
+
{| style="text-align:left" border="1" cellpadding="5" cellspacing="0"
 
! 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>
 
|}
 
|}
 
 
</noinclude>
 
</noinclude>

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