Difference between revisions of "Template:Ability"

From DDO Compendium
m
Line 17: Line 17:
</noinclude>
</noinclude>


<onlyinclude>[[Category:Items with bonuses to {{{1}}}]]'''[[Abilities#{{{1}}}|{{#ifexpr: {{{2}}} < 0 ||{{{3|}}}}} {{{1}}} {{#ifexpr: {{{2}}} < 0 ||+}}{{{2}}}:]]''' Passive: {{#ifexpr: {{{2}}} < 0 ||+}}{{{2}}} {{#ifexpr: {{{2}}} < 0 ||{{{3|Enhancement}}}}} {{#ifexpr: {{{2}}} < 0 |penalty|bonus}} to {{{1}}}.</onlyinclude>
<includeonly>[[Category:Items with bonuses to {{{1}}}]]'''[[Abilities#{{{1}}}|{{#ifexpr: {{{2}}} < 0 ||{{{3|}}}}} {{{1}}} {{#ifexpr: {{{2}}} < 0 ||+}}{{{2}}}:]]''' Passive: {{#ifexpr: {{{2}}} < 0 ||+}}{{{2}}} {{#ifexpr: {{{2}}} < 0 ||{{{3|Enhancement}}}}} {{#ifexpr: {{{2}}} < 0 |penalty|bonus}} to {{{1}}}.</includeonly>


[[Category:Template]]
[[Category:Template]]

Revision as of 19:21, 24 May 2018

Ability[edit]

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.

Example Usage
{{Ability|Constitution|10|Insight}}Insight Constitution +10: Passive: +10 Insight bonus to Constitution.

Usage[edit]

{{Ability|(Ability)|(Enhancement Amount)|(Bonus Type)}}

Parameter Documentation
AbilityThis specifies when Ability that is being added.
Enhancement AmountThis is the amount the ability is increased or decreased. A negative value here will produce "penalty" instead of "bonus".
Bonus TypeThis is the type of bonus - Insight, Enhancement, Quality, etc. If you don't specify a value here it will default to Enhancement.

Template

Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.