Difference between revisions of "Template:AlignmentAbsorb"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
Line 15: | Line 15: | ||
}} | }} | ||
</noinclude> | </noinclude> | ||
<onlyinclude>{{#ifeq: {{#dplvar:enhview}}|titleonly|{#switch: {{lc:{{{1}}}}} | <onlyinclude>{{#ifeq: {{#dplvar:enhview}}|titleonly|{{#switch: {{lc:{{{1}}}}} | ||
|all=[[Alignment Absorption|{{BonusTypeNameConversion|{{{3|}}}|True}} Alignment Absorption +{{{2}}}%]] | |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}}}}} | | #default=[[Alignment Absorption#{{{1}}}|{{BonusTypeNameConversion|{{{3|}}}|True}} {{{1}}} Absorption +{{{2}}}%]]|{{#ifeq: {{FULLPAGENAME}} |Template:AlignmentAbsorb||{{#switch: {{lc:{{{1}}}}} |
Revision as of 17:36, 4 December 2019
AlignmentAbsorb[edit]
This template is used on equipment for the Alignment Absorption enchantment.
Example Usage | |
{{AlignmentAbsorb|Chaos|28}} | {{#ifeq: |titleonly| Chaos Absorption +28%: 28% Enhancement bonus to chaos absorption. |
{{AlignmentAbsorb|All|28}} | {{#ifeq: |titleonly| Alignment Absorption +28% |
Usage[edit]
{{AlignmentAbsorb|(Alignment)|(Enhancement Amount)|(Bonus Type)}}
Parameter Documentation | |
Alignment | This specifies which alignement is being absorbed. Specify All for all alignments. |
Enhancement Amount | This is the percentage amount that is absorbed |
Bonus Type | This 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.
{{#ifeq: |titleonly|[[Alignment Absorption#{{{1}}}| {{{1}}} Absorption +{{{2}}}%:]] {{{2}}}% Enhancement bonus to {{{1}}} absorption.