Difference between revisions of "Template:ElementalAbsorb"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
(18 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<noinclude>This template is used for | <noinclude>{{TemplateDocumentation | ||
|name = ElementalAbsorb | |||
|description = This template is used on equipment for the Elemental Absorption enchantment. Elemental Absorption is an enchantment that gives a defender some defense against elemental damage. It absorbs a portion of that damage. | |||
|category=Item Enchantment Template | |||
|example1 = <nowiki>{{ElementalAbsorb|Fire|5}}</nowiki> | |||
|example1output = {{ElementalAbsorb|Fire|5}} | |||
|example2 = <nowiki>{{ElementalAbsorb|Negative Energy|20}}</nowiki> | |||
|example2output = {{ElementalAbsorb|Negative Energy|20}} | |||
|example3 = <nowiki>{{ElementalAbsorb|Fire|5||Quality}}</nowiki> | |||
|example3output = {{ElementalAbsorb|Fire|5||Quality}} | |||
|parameter1name = Element | |||
|parameter1description = This specifies which element is being absorbed. | |||
|parameter1values= | |||
* All - Fire, Cold, Electricity, Acid | |||
* Alls -Fire, Cold, Electricity, Acid, Sonic | |||
* Acid | |||
* Cold | |||
* Electricity | |||
* Fire | |||
* Force | |||
* Light | |||
* Negative Energy | |||
* Poison | |||
* Sonic | |||
|parameter2name = Enhancement Amount | |||
|parameter2description = This is the percentage amount that is absorbed | |||
|parameter3name = Title | |||
|parameter3description = A specific title to this enchantment. Fill this in only if the title is different than the standard. | |||
|parameter4name = Bonus Type | |||
|parameter4description = This is the type of bonus - Insight, Enhancement, Quality, etc. If you don't specify a value here it will default to Enhancement. | |||
}} | |||
</noinclude> | |||
<onlyinclude>{{#switch: {{lc:{{{1}}}}} | |||
| all = {{EnchTitle|Elemental Absorption (Enchantment)|{{BonusTypeNameConversion|{{{4|}}}|True}} Elemental Absorption +{{{2}}}%|{{{3|}}}}}{{#ifeq: {{#dplvar:enhview}}|titleonly||This effect absorbs {{{2}}}% of all acid, cold, fire, and electrical damage you would have taken, after all other protections have been penetrated.}}{{EnchCat|ElementalAbsorb|Items with Elemental Absorption|Items that Absorb Acid Damage|Items that Absorb Cold Damage|Items that Absorb Fire Damage|Items that Absorb Electric Damage}} | |||
| alls = {{EnchTitle|Elemental Absorption (Enchantment)|{{BonusTypeNameConversion|{{{4|}}}|True}} Elemental Absorption +{{{2}}}%|{{{3|}}}}}{{#ifeq: {{#dplvar:enhview}}|titleonly||{{{2}}}% {{BonusTypeNameConversion|{{#if: {{{4|}}}|{{{4}}}|Enhancement}}}} Bonus to Acid, Cold, Electricity, Fire, and Sonic Absorption. (Absorption reduces damage from an element by a percentage, after resistances have been taken into account.)}}{{EnchCat|ElementalAbsorb|Items with Elemental Absorption|Items that Absorb Acid Damage|Items that Absorb Cold Damage|Items that Absorb Fire Damage|Items that Absorb Electric Damage|Items that Absorb Sonic Damage}} | |||
= | | #default = {{EnchTitle|Elemental Absorption (Enchantment)#{{{1}}}|{{BonusTypeNameConversion|{{{4|}}}|True}} {{{1}}} Absorption +{{{2}}}%|{{{3|}}}}}{{#ifeq: {{#dplvar:enhview}}|titleonly||{{{2}}}% {{BonusTypeNameConversion|{{#if: {{{4|}}}|{{{4}}}|Enhancement}}}} Bonus to {{lc:{{{1}}}}} absorption.}}{{EnchCat|ElementalAbsorb|Items with Elemental Absorption|Items that Absorb {{ucfirst:{{lc:{{{1}}}}}}} Damage}} | ||
}}</onlyinclude> |
Latest revision as of 01:09, 19 April 2023
ElementalAbsorb[edit]
This template is used on equipment for the Elemental Absorption enchantment. Elemental Absorption is an enchantment that gives a defender some defense against elemental damage. It absorbs a portion of that damage.
Example Usage | |
{{ElementalAbsorb|Fire|5}} | Fire Absorption +5%: 5% Enhancement Bonus to fire absorption. |
{{ElementalAbsorb|Negative Energy|20}} | Negative Energy Absorption +20%: 20% Enhancement Bonus to negative energy absorption. |
{{ElementalAbsorb|Fire|5||Quality}} | Quality Fire Absorption +5%: 5% Quality Bonus to fire absorption. |
Usage[edit]
{{ElementalAbsorb|(Element)|(Enhancement Amount)|(Title)|(Bonus Type)}}
Parameter Documentation | |
Element | This specifies which element is being absorbed. Possible Values:
|
Enhancement Amount | This is the percentage amount that is absorbed |
Title | A specific title to this enchantment. Fill this in only if the title is different than the standard. |
Bonus Type | This is the type of bonus - Insight, Enhancement, Quality, etc. If you don't specify a value here it will default to Enhancement. |
Template
Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.
[[Elemental Absorption (Enchantment)#{{{1}}}|{{{1}}} Absorption +{{{2}}}%:]] {{{2}}}% Enhancement Bonus to {{{1}}} absorption.