Difference between revisions of "Template:Diversion"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
(11 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude>{{TemplateDocumentation | ||
|name = Diversion | |name = Diversion | ||
|description = This template is used on equipment for the Diversion enchantment. Diversion reduces threat generation when you are attacking an ememy. | |description = This template is used on equipment for the Diversion enchantment. Diversion reduces threat generation when you are attacking an ememy. | ||
|example1 = <nowiki>{{ | |category=Item Enchantment Template | ||
|example1output = {{ | |example1 = <nowiki>{{Diversion|28|Melee}}</nowiki> | ||
|example2 = <nowiki>{{ | |example1output = {{Diversion|28|Melee}} | ||
|example2output = {{ | |example2 = <nowiki>{{Diversion|6|Spell|Quality}}</nowiki> | ||
|example2output = {{Diversion|6|Spell|Quality}} | |||
|parameter1name = Enhancement Amount | |parameter1name = Enhancement Amount | ||
|parameter1description = This is the amount that | |parameter1description = This is the amount that threat generation is decreased. | ||
|parameter1values = | |parameter1values = | ||
|parameter2name = Attack Style | |parameter2name = Attack Style | ||
Line 15: | Line 16: | ||
* Ranged | * Ranged | ||
* Spell | * Spell | ||
* MeleeRange | |||
* MeleeSpell | |||
* RangeSpell | |||
* All | |||
|parameter3name = Bonus Type | |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. | |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> | </noinclude> | ||
<onlyinclude>{{#switch: {{lc:{{{2}}}}} | <onlyinclude>{{#switch: {{lc:{{{2}}}}} | ||
| ranged = | | 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.}} | ||
| spell = | |||
| melee = | | 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.}} | ||
}} | |||
</onlyinclude> | | 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 Amount | This is the amount that threat generation is decreased. |
Attack Style | This is the attack style that is having its speed increased. Possible Values:
|
Bonus Type | This is the type of bonus - Insight, Enhancement, Quality, etc. If you don't specify a value here it will default to Enhancement. |
Title | The 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.