Difference between revisions of "Template:DR"

From DDO Compendium
Line 7: Line 7:
|example2 = <nowiki>{{DR|2|}}</nowiki>
|example2 = <nowiki>{{DR|2|}}</nowiki>
|example2output = {{DR|2|}}
|example2output = {{DR|2|}}
|example3 = <nowiki>{{DR|30||Profane|Rune-fueled Warding|When you are holding a two-handed weapon}}</nowiki>
|example3 = <nowiki>{{DR|30||Rune-fueled Warding|When you are holding a two-handed weapon}}</nowiki>
|example3output = {{DR|30||Profane|Rune-fueled Warding|When you are holding a two-handed weapon you can extra damage reduction}}
|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 15: 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 = Enhancement Type
|parameter3name = Title
|parameter3description = This the type of enhancement, leave blank for enhancement
|parameter3description = This is a custom enhancement title for DR
|parameter3values =
|parameter4name = Description
|parameter4name = Title
|parameter4description = This is a custom first part of the description.
|parameter4description = This is a custom enhancement title for DR
|parameter5name = Description
|parameter5description = This is a custom first part of the description.
}}
}}
</noinclude>
</noinclude>
<onlyinclude>[[Category: Items with a Damage Reduction]][[Damage Reduction|{{#if: {{{4|}}}|{{{4}}}|DR {{{1}}}/{{#if: {{{2|}}}|{{{2}}}|-}}}}:''']] {{#if: {{{5|}}}|{{{5}}}, reducing|Reduces}} all {{#if: {{{2|}}}|non-{{lc:{{{2}}}}}}} physical damage by {{{1}}}.
<onlyinclude>[[Category: Items with a Damage Reduction]][[Damage Reduction|{{#if: {{{3|}}}|{{{3}}}|DR {{{1}}}/{{#if: {{{2|}}}|{{{2}}}|-}}}}:''']] {{#if: {{{4|}}}|{{{4}}}, reducing|Reduces}} all {{#if: {{{2|}}}|non-{{lc:{{{2}}}}}}} physical damage by {{{1}}}.
</onlyinclude>
</onlyinclude>

Revision as of 17:54, 17 September 2018

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)}}

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.

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}}}.