Difference between revisions of "Template:AlignmentAbsorb"

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

Revision as of 19:57, 4 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.