Difference between revisions of "Template:Ability"
From DDO Compendium
Tag: Undo |
m (template data) Tag: Reverted |
||
Line 1: | Line 1: | ||
<noinclude>{{ | <noinclude> | ||
<templatedata> | |||
{ | |||
"params": { | |||
"1": { | |||
"label": "Ability", | |||
"description": "This specifies which Ability is being added.", | |||
"type": "string", | |||
"required": true, | |||
"example": "{{Ability|Constitution|10}}" | |||
}, | |||
"2": { | |||
"label": "Enhancement Amount", | |||
"description": "This is the amount the ability is increased or decreased. A negative value here will produce \"penalty\" instead of \"bonus\".", | |||
| | "type": "number", | ||
"required": true, | |||
"example": "{{Ability|Constitution|10}}" | |||
| | }, | ||
"3": { | |||
"label": "Bonus Type", | |||
}} | "description": "This is the type of bonus - Insight, Enhancement, Quality, etc.", | ||
</noinclude>< | "type": "string", | ||
"default": "Enhancement", | |||
"suggested": true, | |||
"example": "{{Ability|Constitution|10|Insight}}" | |||
}, | |||
"4": { | |||
"label": "Title", | |||
"description": "\tA specific title to this enchantment", | |||
"type": "string", | |||
"example": "{{Ability|Dexterity|-1||Curse of Clumsiness}}" | |||
} | |||
}, | |||
"description": "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.", | |||
"format": "inline" | |||
} | |||
</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|}}} | |||
|Well Rounded=All Abilities. | |Well Rounded=All Abilities. | ||
|#default={{{1}}}. | |#default={{{1}}}. | ||
Line 26: | Line 42: | ||
|Well Rounded=All Abilities | |Well Rounded=All Abilities | ||
|#default={{ucfirst:{{lc:{{{1|}}}}}}} | |#default={{ucfirst:{{lc:{{{1|}}}}}}} | ||
}}}}</ | }}}}</includeonly> |
Revision as of 06:21, 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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Ability | 1 | This specifies which Ability is being added.
| String | required |
Enhancement Amount | 2 | This is the amount the ability is increased or decreased. A negative value here will produce "penalty" instead of "bonus".
| Number | required |
Bonus Type | 3 | This is the type of bonus - Insight, Enhancement, Quality, etc.
| String | suggested |
Title | 4 | A specific title to this enchantment
| String | optional |