Difference between revisions of "Template:DR"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
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> | |||
|example3output = {{DR|2|}} | |||
|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 13: | 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 | |||
|parameter3description = This the type of enhancement, leave blank for enhancement | |||
|parameter3values = | |||
|parameter4name = Title | |||
|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|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|{{#if: {{{4|}}}|{{{4}}}|DR {{{1}}}/{{#if: {{{2|}}}|{{{2}}}|-}}}}:''']] {{#if: {{{5|}}}|{{{5}}}, reducing|Reduces}} all {{#if: {{{2|}}}|non-{{lc:{{{2}}}}}}} physical damage by {{{1}}}. | ||
</onlyinclude> | </onlyinclude> |
Revision as of 17:48, 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||Profane|Rune-fueled Warding|When you are holding a two-handed weapon}} | DR 2/-: Reduces all physical damage by 2. |
Usage[edit]
{{DR|(Reduced Amount)|(Bypassed Damage Type)|(Enhancement Type)|(Title)|(Description)}}
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. |
Enhancement Type | This the type of enhancement, leave blank for enhancement |
Title | This is a custom enhancement title for DR |
Description | This 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}}}.