Difference between revisions of "Template:AlignmentAbsorb"

From DDO Compendium
Line 16: Line 16:
</noinclude>
</noinclude>
<onlyinclude>{{#switch: {{lc:{{{1}}}}}
<onlyinclude>{{#switch: {{lc:{{{1}}}}}
|all={{EnchTitle|Alignment Absorption|{{BonusTypeNameConversion|{{{3|}}}|True}} Alignment Absorption +{{{2}}}%}}
|all={{EnchTitle|Alignment Absorption|{{BonusTypeNameConversion|{{{3|}}}|True}} Alignment Absorption +{{{2}}}%}}{{EnchBody|{{{2}}}% {{BonusTypeNameConversion|{{{3|enhancement}}}}} bonus to Alignment absorption, which includes Law, Chaos, Good, and Evil damage.}}{{EnchCat|AlignmentAbsorb|Items with Alignment Absorption}}
|#default={{EnchTitle|Alignment Absorption#{{{1}}}|{{BonusTypeNameConversion|{{{3|}}}|True}} {{{1}}} Absorption +{{{2}}}%}}
 
}}{{#ifeq: {{#dplvar:enhview}}|titleonly||{{#ifeq: {{FULLPAGENAME}} |Template:AlignmentAbsorb||{{#switch: {{lc:{{{1}}}}}
|#default={{EnchTitle|Alignment Absorption#{{{1}}}|{{BonusTypeNameConversion|{{{3|}}}|True}} {{{1}}} Absorption +{{{2}}}%}}{{EnchBody|{{{2}}}% {{BonusTypeNameConversion|{{{3|enhancement}}}}} bonus to {{lc:{{{1}}}}} absorption.}}{{EnchCat|AlignmentAbsorb|Items with {{ucfirst:{{lc:{{{1}}}}}}} Absorption}}
| all=[[Category:Items with Alignment Absorption]]
}}</onlyinclude>
| #default=[[Category:Items with {{ucfirst:{{lc:{{{1}}}}}}} Absorption]]}}}}{{#switch: {{lc:{{{1}}}}}
|all={{{2}}}% {{BonusTypeNameConversion|{{{3|enhancement}}}}} bonus to Alignment absorption, which includes Law, Chaos, Good, and Evil damage.
| #default={{{2}}}% {{BonusTypeNameConversion|{{{3|enhancement}}}}} bonus to {{lc:{{{1}}}}} absorption.}}}}</onlyinclude>

Revision as of 18:40, 10 December 2019

AlignmentAbsorb[edit]

This template is used on equipment for the Alignment Absorption enchantment.

Example Usage
{{AlignmentAbsorb|Chaos|28}}Chaos Absorption +28%: 28% Enhancement bonus to chaos absorption.
{{AlignmentAbsorb|All|28}}Alignment Absorption +28%: 28% Enhancement bonus to Alignment absorption, which includes Law, Chaos, Good, and Evil damage.

Usage[edit]

{{AlignmentAbsorb|(Alignment)|(Enhancement Amount)|(Bonus Type)}}

Parameter Documentation
AlignmentThis specifies which alignement is being absorbed. Specify All for all alignments.
Enhancement AmountThis is the percentage amount that is absorbed
Bonus TypeThis is the type of bonus, defaults to enhancement

Template

Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.


[[Alignment Absorption#{{{1}}}|{{{1}}} Absorption +{{{2}}}%:]] {{{2}}}% Enhancement bonus to {{{1}}} absorption.