Difference between revisions of "Template:AlignmentAbsorb"

From DDO Compendium
Line 15: Line 15:
}}
}}
</noinclude>
</noinclude>
<onlyinclude>{{#ifeq: {{FULLPAGENAME}} |Template:AlignmentAbsorb||{{#switch: {{lc:{{{1}}}}}
<onlyinclude>{{#ifeq: {{#dplvar:enhview}}|titleonly|{#switch: {{lc:{{{1}}}}}
|all=[[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}}}}}
| 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='''[[Alignment Absorption|{{BonusTypeNameConversion|{{{3|}}}|True}} Alignment Absorption +{{{2}}}%:]]''' {{{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='''[[Alignment Absorption#{{{1}}}|{{BonusTypeNameConversion|{{{3|}}}|True}} {{{1}}} Absorption +{{{2}}}%:]]''' {{{2}}}% {{BonusTypeNameConversion|{{{3|enhancement}}}}} bonus to {{lc:{{{1}}}}} absorption.}}}}</onlyinclude>

Revision as of 17:35, 4 December 2019

AlignmentAbsorb[edit]

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

Example Usage
{{AlignmentAbsorb|Chaos|28}}all= Alignment Absorption +28%
{{AlignmentAbsorb|All|28}}all= Alignment Absorption +28%

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.


all= Alignment Absorption +{{{2}}}%