Difference between revisions of "Template:DR"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
(8 intermediate revisions by the same user not shown) | |||
Line 7: | Line 7: | ||
|example2 = <nowiki>{{DR|2|}}</nowiki> | |example2 = <nowiki>{{DR|2|}}</nowiki> | ||
|example2output = {{DR|2|}} | |example2output = {{DR|2|}} | ||
|example3 = <nowiki>{{DR|30| | |example3 = <nowiki>{{DR|30||Rune-fueled Warding|When you are holding a two-handed weapon}}</nowiki> | ||
|example3output = {{DR| | |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 = | |parameter3name = Title | ||
|parameter3description = This | |parameter3description = This is a custom enhancement title for DR | ||
|parameter4name = Description | |||
|parameter4name = | |parameter4description = This is a custom first part of the description. | ||
|parameter4description = This is a custom | |parameter5name = Type of damage | ||
|parameter5name = | |parameter5description = This is the type of damage | ||
|parameter5description = This is | |parameter5values= | ||
* aligned | |||
* physical (default) | |||
}} | }} | ||
</noinclude> | </noinclude> | ||
<onlyinclude> | <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 Amount | This is the amount that damage is reduced by. |
Bypassed Damage Type | 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. |
Title | This is a custom enhancement title for DR |
Description | This is a custom first part of the description. |
Type of damage | This is the type of damage Possible Values:
|
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}}}.