Difference between revisions of "Template:DR"

From DDO Compendium
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>[[Category:Template]][[Category:Item Enchantment Template]]{{TemplateDocumentation
<noinclude>{{TemplateDocumentation
|name = DR
|name = DR
|description = This template is used on equipment for the Damage Reduction enchantment.  DR is an enchantment than gives a defender physical damage reduction of a certain amount when it is coming from a specific type of damage.
|description = This template is used on equipment for the Damage Reduction enchantment.  DR is an enchantment than gives a defender physical damage reduction of a certain amount when it is coming from a specific type of damage.
|category=Item Enchantment Template
|example1 = <nowiki>{{DR|5|Piercing}}</nowiki>
|example1 = <nowiki>{{DR|5|Piercing}}</nowiki>
|example1output = {{DR|5|Piercing}}
|example1output = {{DR|5|Piercing}}
|example2 = <nowiki>{{DR|2|}}</nowiki>
|example2 = <nowiki>{{DR|2|}}</nowiki>
|example2output = {{DR|2|}}
|example2output = {{DR|2|}}
|example3 = <nowiki>{{DR|30||Rune-fueled Warding|When you are holding a two-handed weapon}}</nowiki>
|example3output = {{DR|30||Rune-fueled Warding|When you are holding a two-handed weapon you can extra damage reduction}}
|parameter1name = Reduced Amount
|parameter1name = Reduced Amount
|parameter1description = This is the amount that damage is reduced by.
|parameter1description = This is the amount that damage is reduced by.
Line 12: Line 15:
|parameter2description = This is a damage type that is not included in the reduction. Comma separate if there is more than one, and if there is no bypass, leave this option blank.
|parameter2description = This is a damage type that is not included in the reduction. Comma separate if there is more than one, and if there is no bypass, leave this option blank.
|parameter2values =  
|parameter2values =  
|parameter3name = Title
|parameter3description = This is a custom enhancement title for DR
|parameter4name = Description
|parameter4description = This is a custom first part of the description.
|parameter5name = Type of damage
|parameter5description = This is the type of damage
|parameter5values=
* aligned
* physical (default)
}}
}}
</noinclude>
</noinclude>
<onlyinclude>[[Category: Items with a Damage Reduction]][[Damage Reduction|DR {{{1}}}/{{#if: {{{2|}}}|{{{2}}}|-}}:''']] Reduces all {{#if: {{{2|}}}|non-{{lc:{{{2}}}}}}} physical damage by {{{1}}}.
<onlyinclude>{{EnchTitle|Damage Reduction|DR {{{1}}}/{{#if: {{{2|}}}|{{{2}}}|-}}|{{{3|}}}}}{{EnchBody|{{#if: {{{4|}}}|{{{4}}}, reducing|Reduces}} all {{#if: {{{2|}}}|non-{{lc:{{{2}}}}}}} {{lc:{{{5|physical}}}}} damage by {{{1}}}.}}{{EnchCat|DR|Items with Damage Reduction}}</onlyinclude>
</onlyinclude>

Latest revision as of 21:20, 11 December 2019

DR[edit]

This template is used on equipment for the Damage Reduction enchantment. DR is an enchantment than gives a defender physical damage reduction of a certain amount when it is coming from a specific type of damage.

Example Usage
{{DR|5|Piercing}}DR 5/Piercing: Reduces all non-piercing physical damage by 5.
{{DR|2|}}DR 2/-: Reduces all physical damage by 2.
{{DR|30||Rune-fueled Warding|When you are holding a two-handed weapon}}Rune-fueled Warding: When you are holding a two-handed weapon you can extra damage reduction, reducing all physical damage by 30.

Usage[edit]

{{DR|(Reduced Amount)|(Bypassed Damage Type)|(Title)|(Description)|(Type of damage)}}

Parameter Documentation
Reduced AmountThis is the amount that damage is reduced by.
Bypassed Damage TypeThis is a damage type that is not included in the reduction. Comma separate if there is more than one, and if there is no bypass, leave this option blank.
TitleThis is a custom enhancement title for DR
DescriptionThis is a custom first part of the description.
Type of damageThis is the type of damage
Possible Values:
  • aligned
  • physical (default)

Template

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


DR {{{1}}}/-: Reduces all physical damage by {{{1}}}.