Difference between revisions of "Template:Ability"

From DDO Compendium
m (tweak)
Tag: Reverted
m (Undo revision 147537 by Ague (talk))
Tag: Undo
Line 31: Line 31:
{
{
"params": {
"params": {
"1": {
"Ability": {
"aliases": [
"1"
],
"label": "Ability",
"label": "Ability",
"description": "This specifies which Ability is being added.",
"description": "This specifies which Ability is being added.",
Line 37: Line 40:
"required": true
"required": true
},
},
"2": {
"Enhancement Amount": {
"aliases": [
"2"
],
"label": "Enhancement Amount",
"label": "Enhancement Amount",
"description": "This is the amount the ability is increased or decreased. A negative value here will produce \"penalty\" instead of \"bonus\".",
"description": "This is the amount the ability is increased or decreased. A negative value here will produce \"penalty\" instead of \"bonus\".",
Line 43: Line 49:
"required": true
"required": true
},
},
"3": {
"Bonus Type": {
"aliases": [
"3"
],
"label": "Bonus Type",
"label": "Bonus Type",
"description": "This is the type of bonus - Insight, Enhancement, Quality, etc. If you don't specify a value here it will default to Enhancement.",
"description": "This is the type of bonus - Insight, Enhancement, Quality, etc. If you don't specify a value here it will default to Enhancement.",
"type": "string",
"type": "string",
"default": "Enhancement",
"default": "Enhancement",
"autovalue": "",
"autovalue": "Enhancement",
"suggested": true
"suggested": true
},
},
"4": {
"Title": {
"aliases": [
"4"
],
"label": "Title",
"label": "Title",
"description": "A specific title to this enchantment",
"description": "A specific title to this enchantment",
"type": "string",
"type": "string"
"autovalue": ""
}
}
},
},
"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.",
"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.",
"paramOrder": [
"paramOrder": [
"1",
"Ability",
"2",
"Enhancement Amount",
"3",
"Bonus Type",
"4"
"Title"
],
],
"format": "inline"
"format": "inline"

Revision as of 10:09, 30 March 2022

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}}Insightful Constitution +10: Passive: +10 Insight bonus to Constitution.
{{Ability|Dexterity|-1||Curse of Clumsiness}}Curse of Clumsiness: Passive: -1 penalty to Dexterity.

Usage[edit]

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

Parameter Documentation
AbilityThis specifies which Ability 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.
TitleA specific title to this enchantment

Template

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


[[Abilities#{{{1}}}|Expression error: Unrecognized punctuation character "{". {{{1}}} Expression error: Unrecognized punctuation character "{".{{{2}}}:]] Passive: Expression error: Unrecognized punctuation character "{".{{{2}}} Expression error: Unrecognized punctuation character "{". Expression error: Unrecognized punctuation character "{". to {{{1}}}.

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
AbilityAbility 1

This specifies which Ability is being added.

Stringrequired
Enhancement AmountEnhancement Amount 2

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

Numberrequired
Bonus TypeBonus Type 3

This is the type of bonus - Insight, Enhancement, Quality, etc. If you don't specify a value here it will default to Enhancement.

Default
Enhancement
Auto value
Enhancement
Stringsuggested
TitleTitle 4

A specific title to this enchantment

Stringoptional