Difference between revisions of "Template:Effectmodifier"
From Twilight Heroes Wiki
(18 intermediate revisions by the same user not shown) | |||
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 | + | |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={{{2}}} | + | |weapondamage={{#if:{{{2|}}}|{{{2}}} weapon damage|Increased weapon damage (scales with level)}}[[Category:Bonus Melee Damage]][[Category:Bonus Ranged Damage]] |
+ | |hpregen={{{2}}} HP regen/turn[[Category:HP Regeneration]] | ||
+ | |initiative={{{2}}} initiative[[Category:Initiative Modifiers]] | ||
+ | |hp={{{2}}} maximum HP[[Category:Maximum HP]] | ||
+ | |intellect={{{2}}} intellect[[Category:Intellect Modifiers]] | ||
+ | |reflexes={{{2}}} reflexes[[Category:Reflexes Modifiers]] | ||
+ | |strength={{{2}}} strength[[Category:Strength Modifiers]] | ||
+ | |dodge={{{2}}} dodge[[Category:Dodging Ability]] | ||
+ | |tohit={{{2}}} to-hit[[Category:Bonus To Hit]] | ||
+ | |toughness={{{2}}} foe toughness[[Category:Foe Toughness]] | ||
+ | |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 on skills and effects. | + | This template is to be used to specify and autocat modifiers on skills and effects. Only modifiers with more than one occurrence as a skill/effect will be added here, otherwise, use manual categorization. |
− | It can be used | + | |
+ | It can be used to set: | ||
{| style="text-align:left" border="1" cellpadding="5" cellspacing="0" | {| style="text-align:left" border="1" cellpadding="5" cellspacing="0" | ||
! Category !! format example !! yields | ! Category !! format example !! yields | ||
|- | |- | ||
− | | [[:Category:Defense Modifiers]] || <nowiki>{{effectmodifier|defense}}</nowiki> || <b>Increases defense | + | | [[:Category:Defense Modifiers]] || <nowiki>{{effectmodifier|defense}}</nowiki> || <b>Increases defense</b> |
|- | |- | ||
| [[:Category:Resist Elemental Damage]] || <nowiki>{{effectmodifier|elementalres|fire|+10%}}</nowiki> || <b>+10% fire resistance</b> | | [[:Category:Resist Elemental Damage]] || <nowiki>{{effectmodifier|elementalres|fire|+10%}}</nowiki> || <b>+10% fire resistance</b> | ||
|- | |- | ||
− | | [[:Category:Bonus Melee Damage]] and [[:Category:Bonus Ranged Damage]] || <nowiki>{{ | + | | rowspan=2 | [[:Category:Bonus Melee Damage]] and [[:Category:Bonus Ranged Damage]] |
+ | | <nowiki>{{effectmodifier|weapondamage}}</nowiki> || <b>Increased weapon damage (scales with level)</b> | ||
+ | |- | ||
+ | | <nowiki>{{effectmodifier|weapondamage|3x}}</nowiki> || <b>3x weapon damage</b> | ||
+ | |- | ||
+ | | [[:Category:HP Regeneration]] || <nowiki>{{effectmodifier|hpregen|+3}}</nowiki> || <b>+3 HP regen/turn</b> | ||
+ | |- | ||
+ | | [[:Category:Initiative Modifiers]] || <nowiki>{{effectmodifier|initiative|+5}}</nowiki> || <b>+5 initiative</b> | ||
+ | |- | ||
+ | | [[:Category:Maximum HP]] || <nowiki>{{effectmodifier|hp|+100%}}</nowiki> || <b>+100% maximum HP</b> | ||
+ | |- | ||
+ | | [[:Category:Intellect Modifiers]] || <nowiki>{{effectmodifier|intellect|+10}}</nowiki> || <b>+10 intellect</b> | ||
+ | |- | ||
+ | | [[:Category:Reflexes Modifiers]] || <nowiki>{{effectmodifier|reflexes|+10}}</nowiki> || <b>+10 reflexes</b> | ||
+ | |- | ||
+ | | [[:Category:Strength Modifiers]] || <nowiki>{{effectmodifier|strength|+10}}</nowiki> || <b>+10 strength</b> | ||
+ | |- | ||
+ | | [[:Category:Dodging Ability]] || <nowiki>{{effectmodifier|dodge|+3}}</nowiki> || <b>+3 dodge</b> | ||
+ | |- | ||
+ | | [[:Category:Bonus To Hit]] || <nowiki>{{effectmodifier|tohit|+5}}</nowiki> || <b>+5 to-hit</b> | ||
+ | |- | ||
+ | | [[:Category:Foe Toughness]] || <nowiki>{{modifier|toughness|+15}}</nowiki> || <b>+15 foe toughness</b> | ||
+ | |- | ||
+ | | [[:Category:Bonus Melee Damage]] || <nowiki>{{modifier|meleedamage|+3}}</nowiki> || <b>+3 melee damage</b> | ||
|} | |} | ||
− | [[Category:Standardization Templates]] | + | [[Category:Standardization Templates|{{PAGENAME}}]] |
</noinclude> | </noinclude> |
Latest revision as of 10:28, 26 September 2010
This template is to be used to specify and autocat modifiers on skills and effects. Only modifiers with more than one occurrence as a skill/effect will be added here, otherwise, use manual categorization.
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:HP Regeneration | {{effectmodifier|hpregen|+3}} | +3 HP regen/turn |
Category:Initiative Modifiers | {{effectmodifier|initiative|+5}} | +5 initiative |
Category:Maximum HP | {{effectmodifier|hp|+100%}} | +100% maximum HP |
Category:Intellect Modifiers | {{effectmodifier|intellect|+10}} | +10 intellect |
Category:Reflexes Modifiers | {{effectmodifier|reflexes|+10}} | +10 reflexes |
Category:Strength Modifiers | {{effectmodifier|strength|+10}} | +10 strength |
Category:Dodging Ability | {{effectmodifier|dodge|+3}} | +3 dodge |
Category:Bonus To Hit | {{effectmodifier|tohit|+5}} | +5 to-hit |
Category:Foe Toughness | {{modifier|toughness|+15}} | +15 foe toughness |
Category:Bonus Melee Damage | {{modifier|meleedamage|+3}} | +3 melee damage |