Difference between revisions of "Template:AlignmentAbsorb"

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

Revision as of 00:04, 21 April 2019

AlignmentAbsorb[edit]

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

Example Usage
{{AlignmentAbsorb|Chaos|28}}
{{AlignmentAbsorb|All|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.