Difference between revisions of "Template:AlignmentAbsorb"

From DDO Compendium
 
Line 13: Line 13:
|parameter3name = Bonus Type
|parameter3name = Bonus Type
|parameter3description = This is the type of bonus, defaults to enhancement
|parameter3description = This is the type of bonus, defaults to enhancement
|parameter4name = Title
|parameter4description = The title of the enchantment if not the same as the default
}}
}}
</noinclude>
</noinclude>
<onlyinclude>{{#switch: {{lc:{{{1}}}}}
<onlyinclude>{{#switch: {{lc:{{{1}}}}}
|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}}
|all={{EnchTitle|Alignment Absorption|{{BonusTypeNameConversion|{{{3|}}}|True}} Alignment Absorption +{{{2}}}%|{{{4|}}}}}{{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}}}%}}{{EnchBody|{{{2}}}% {{BonusTypeNameConversion|{{{3|enhancement}}}}} bonus to {{lc:{{{1}}}}} absorption.}}{{EnchCat|AlignmentAbsorb|Items with {{ucfirst:{{lc:{{{1}}}}}}} Absorption}}
|#default={{EnchTitle|Alignment Absorption#{{{1}}}|{{BonusTypeNameConversion|{{{3|}}}|True}} {{{1}}} Absorption +{{{2}}}%|{{{4|}}}}}{{EnchBody|{{{2}}}% {{BonusTypeNameConversion|{{{3|enhancement}}}}} bonus to {{lc:{{{1}}}}} absorption.}}{{EnchCat|AlignmentAbsorb|Items with {{ucfirst:{{lc:{{{1}}}}}}} Absorption}}
}}</onlyinclude>
}}</onlyinclude>

Latest revision as of 01:30, 28 June 2020

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)|(Title)}}

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
TitleThe title of the enchantment if not the same as the default

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.