Difference between revisions of "Template:Ability"

From DDO Compendium
m
Tag: Reverted
m (Undo revision 148512 by Ague (talk))
Tag: Undo
Line 35: Line 35:
"format": "inline"
"format": "inline"
}
}
</templatedata>[[Category:Template]][[Category:Item Enchantment Template]]
</templatedata>[[Category:Template]]
</noinclude><includeonly>{{EnchTitle|Abilities#{{{1}}}|{{#ifexpr: {{{2}}} < 0 ||{{BonusTypeNameConversion|{{{3|}}}|True}}}} {{{1}}} {{#ifexpr: {{{2}}} < 0 ||+}}{{{2}}}|{{{4|}}}}}{{EnchBody|Passive: {{#ifexpr: {{{2}}} < 0 ||+}}{{{2}}} {{#ifexpr: {{{2}}} < 0 ||{{BonusTypeNameConversion|{{{3|Enhancement}}}}}}} {{#ifexpr: {{{2}}} < 0 |penalty|bonus}} to {{#switch: {{{1|}}}
</noinclude><includeonly>{{EnchTitle|Abilities#{{{1}}}|{{#ifexpr: {{{2}}} < 0 ||{{BonusTypeNameConversion|{{{3|}}}|True}}}} {{{1}}} {{#ifexpr: {{{2}}} < 0 ||+}}{{{2}}}|{{{4|}}}}}{{EnchBody|Passive: {{#ifexpr: {{{2}}} < 0 ||+}}{{{2}}} {{#ifexpr: {{{2}}} < 0 ||{{BonusTypeNameConversion|{{{3|Enhancement}}}}}}} {{#ifexpr: {{{2}}} < 0 |penalty|bonus}} to {{#switch: {{{1|}}}
|Well Rounded=All Abilities.
|Well Rounded=All Abilities.

Revision as of 07:14, 2 April 2022

This template is used on equipment for the ability enchantment. It shows the text of the ability as close as possible to the way it looks on an items examine window.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Ability1

This specifies which Ability is being added.

Example
{{Ability|Constitution|10}}
Stringrequired
Enhancement Amount2

This is the amount the ability is increased or decreased. A negative value here will produce "penalty" instead of "bonus".

Example
{{Ability|Constitution|10}}
Numberrequired
Bonus Type3

This is the type of bonus - Insight, Enhancement, Quality, etc.

Default
Enhancement
Example
{{Ability|Constitution|10|Insight}}
Stringsuggested
Title4

A specific title to this enchantment

Example
{{Ability|Dexterity|-1||Curse of Clumsiness}}
Stringoptional