Difference between revisions of "Template:AlignmentAbsorb"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
(10 intermediate revisions by the same user not shown) | |||
Line 5: | Line 5: | ||
|example1 = <nowiki>{{AlignmentAbsorb|Chaos|28}}</nowiki> | |example1 = <nowiki>{{AlignmentAbsorb|Chaos|28}}</nowiki> | ||
|example1output = {{AlignmentAbsorb|Chaos|28}} | |example1output = {{AlignmentAbsorb|Chaos|28}} | ||
|example2 = <nowiki>{{AlignmentAbsorb|All|28}}</nowiki> | |||
|example2output = {{AlignmentAbsorb|All|28}} | |||
|parameter1name = Alignment | |parameter1name = Alignment | ||
|parameter1description = This specifies which alignement is being absorbed. | |parameter1description = This specifies which alignement is being absorbed. Specify All for all alignments. | ||
|parameter2name = Enhancement Amount | |parameter2name = Enhancement Amount | ||
|parameter2description = This is the percentage amount that is absorbed | |parameter2description = This is the percentage amount that is absorbed | ||
|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>{{# | <onlyinclude>{{#switch: {{lc:{{{1}}}}} | ||
|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}}}%|{{{4|}}}}}{{EnchBody|{{{2}}}% {{BonusTypeNameConversion|{{{3|enhancement}}}}} bonus to {{lc:{{{1}}}}} absorption.}}{{EnchCat|AlignmentAbsorb|Items with {{ucfirst:{{lc:{{{1}}}}}}} Absorption}} | |||
}}</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 | |
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 |
Title | The 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.