Difference between revisions of "Template:DR"

From DDO Compendium
Line 1: Line 1:
<noinclude>This template is used for items with DR.[[Category:Template]]
<noinclude>[[Category:Template]][[Category:Item Enchantment Template]]{{TemplateDocumentation
 
|name = DR
Used in this manner:
|description = This template is used on equipment for the Damage Reduction enchantment.  DR is an enchantment than gives a defender damage reduction of a certain amount when it is coming from a specific type of damage.
<br><nowiki>{{DR|(reduction)|(excluded)}}</nowiki><br>
|example1 = <nowiki>{{DR|5|Piercing}}</nowiki>
<br>Such that <nowiki>{{DR|5|Piercing}}</nowiki> results in<br>
|example1output = {{DR|5|Piercing}}
<br>{{DR|5|Piercing}}
|example1 = <nowiki>{{DR|2|}}</nowiki>
<br>{{DR|5|}}
|example1output = {{DR|2|}}
|parameter2name = Reduced Amount
|parameter2description = This is the amount that damage is reduced by.
|parameter2values =
|parameter2name = Bypassed Damage Type
|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 =
}}
</noinclude>
</noinclude>
=== Template ===
<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>[[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>
</onlyinclude>

Revision as of 03:22, 5 May 2018

DR[edit]

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

Example Usage
{{DR|2|}}DR 2/-: Reduces all physical damage by 2.

Usage[edit]

{{DR|(Bypassed Damage Type)}}

Parameter Documentation
{{{parameter1name}}}{{{parameter1description}}}
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.

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