Difference between revisions of "Template:Diversion"

From DDO Compendium
m
 
(18 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>Usage: <nowiki>{{Diversion|(Type)|(Modifier)|(Mod Type)}}</nowiki><br><br>In Progress</noinclude>
<noinclude>{{TemplateDocumentation
|name = Diversion
|description = This template is used on equipment for the Diversion enchantment.  Diversion reduces threat generation when you are attacking an ememy.
|category=Item Enchantment Template
|example1 = <nowiki>{{Diversion|28|Melee}}</nowiki>
|example1output = {{Diversion|28|Melee}}
|example2 = <nowiki>{{Diversion|6|Spell|Quality}}</nowiki>
|example2output = {{Diversion|6|Spell|Quality}}
|parameter1name = Enhancement Amount
|parameter1description = This is the amount that threat generation is decreased.
|parameter1values =
|parameter2name = Attack Style
|parameter2description = This is the attack style that is having its speed increased.
|parameter2values =
* Melee
* Ranged
* Spell
* MeleeRange
* MeleeSpell
* RangeSpell
* All
|parameter3name = Bonus Type
|parameter3description = This is the type of bonus - Insight, Enhancement, Quality, etc. If you don't specify a value here it will default to Enhancement.
|parameter4name = Title
|parameter4description = The enchantement title, if different from the default.
}}
</noinclude>
<onlyinclude>{{#switch: {{lc:{{{2}}}}}
| ranged = {{EnchTitle|Diversion#Ranged|{{BonusTypeNameConversion|{{{3|}}}|True}} Distant Diversion +{{{1|0}}}%|{{{4|}}}}}{{EnchBody|+{{{1|0}}}% {{BonusTypeNameConversion|{{{3|Enhancement}}}}} bonus to Decreased threat generated by ranged damage.}}


<onlyinclude>[[Category:Items with {{{1}}} Diversion]]*in progress* </onlyinclude>
| spell = {{EnchTitle|Diversion#Spell|{{BonusTypeNameConversion|{{{3|}}}|True}} Mystic Diversion +{{{1|0}}}%|{{{4|}}}}}{{EnchBody|+{{{1|0}}}% {{BonusTypeNameConversion|{{{3|Enhancement}}}}} bonus to Decreased threat generated by spell damage.}}
 
| melee = {{EnchTitle|Diversion#Melee|{{BonusTypeNameConversion|{{{3|}}}|True}} Diversion +{{{1|0}}}%|{{{4|}}}}}{{EnchBody|+{{{1|0}}}% {{BonusTypeNameConversion|{{{3|Enhancement}}}}} bonus to Decreased threat generated by melee damage.}}
 
| meleerange = {{EnchTitle|Diversion|{{BonusTypeNameConversion|{{{3|}}}|True}} Diversion +{{{1|0}}}%|{{{4|}}}}}{{EnchBody|+{{{1|0}}}% {{BonusTypeNameConversion|{{{3|Enhancement}}}}} bonus to Decreased threat generated by melee and ranged attacks.}}
 
| meleespell = {{EnchTitle|Diversion|{{BonusTypeNameConversion|{{{3|}}}|True}} Diversion +{{{1|0}}}%|{{{4|}}}}}{{EnchBody|+{{{1|0}}}% {{BonusTypeNameConversion|{{{3|Enhancement}}}}} bonus to Decreased threat generated by melee attacks and spells.}}
 
| rangespell = {{EnchTitle|Diversion|{{BonusTypeNameConversion|{{{3|}}}|True}} Diversion +{{{1|0}}}%|{{{4|}}}}}{{EnchBody|+{{{1|0}}}% {{BonusTypeNameConversion|{{{3|Enhancement}}}}} bonus to Decreased threat generated by ranged attacks and spells.}}
 
| all = {{EnchTitle|Diversion|{{BonusTypeNameConversion|{{{3|}}}|True}} Diversion +{{{1|0}}}%|{{{4|}}}}}{{EnchBody|+{{{1|0}}}% {{BonusTypeNameConversion|{{{3|Enhancement}}}}} bonus to Decreased threat generated by all damage.}}
}}{{EnchCat|Diversion|Items with Diversion}}</onlyinclude>

Latest revision as of 21:00, 11 December 2019

Diversion[edit]

This template is used on equipment for the Diversion enchantment. Diversion reduces threat generation when you are attacking an ememy.

Example Usage
{{Diversion|28|Melee}}Diversion +28%: +28% Enhancement bonus to Decreased threat generated by melee damage.
{{Diversion|6|Spell|Quality}}Quality Mystic Diversion +6%: +6% Quality bonus to Decreased threat generated by spell damage.

Usage[edit]

{{Diversion|(Enhancement Amount)|(Attack Style)|(Bonus Type)|(Title)}}

Parameter Documentation
Enhancement AmountThis is the amount that threat generation is decreased.
Attack StyleThis is the attack style that is having its speed increased.
Possible Values:
  • Melee
  • Ranged
  • Spell
  • MeleeRange
  • MeleeSpell
  • RangeSpell
  • All
Bonus TypeThis is the type of bonus - Insight, Enhancement, Quality, etc. If you don't specify a value here it will default to Enhancement.
TitleThe enchantement title, if different from the default.

Template

Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.