Difference between revisions of "Template:Ability"
m (tweaking category names) |
m (testing template data and template wizard; will revert when done) Tag: Reverted |
||
Line 27: | Line 27: | ||
|#default={{ucfirst:{{lc:{{{1|}}}}}}} | |#default={{ucfirst:{{lc:{{{1|}}}}}}} | ||
}}}}</onlyinclude> | }}}}</onlyinclude> | ||
<noinclude> | |||
<templatedata> | |||
{ | |||
"params": { | |||
"Ability": { | |||
"aliases": [ | |||
"1" | |||
], | |||
"label": "Ability", | |||
"description": "This specifies which Ability is being added.", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"Enhancement Amount": { | |||
"aliases": [ | |||
"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 | |||
}, | |||
"Bonus Type": { | |||
"aliases": [ | |||
"3" | |||
], | |||
"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.", | |||
"type": "string", | |||
"default": "Enhancement", | |||
"autovalue": "Enhancement", | |||
"suggested": true | |||
}, | |||
"Title": { | |||
"aliases": [ | |||
"4" | |||
], | |||
"label": "Title", | |||
"description": "A specific title to this enchantment", | |||
"type": "string" | |||
} | |||
}, | |||
"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": [ | |||
"Ability", | |||
"Enhancement Amount", | |||
"Bonus Type", | |||
"Title" | |||
], | |||
"format": "inline" | |||
} | |||
</templatedata> | |||
</noinclude> |
Revision as of 09:57, 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 | |
Ability | This specifies which Ability is being added. |
Enhancement Amount | This is the amount the ability is increased or decreased. A negative value here will produce "penalty" instead of "bonus". |
Bonus Type | This is the type of bonus - Insight, Enhancement, Quality, etc. If you don't specify a value here it will default to Enhancement. |
Title | A 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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Ability | Ability 1 | This specifies which Ability is being added. | String | required |
Enhancement Amount | 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 | Bonus 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.
| String | suggested |
Title | Title 4 | A specific title to this enchantment | String | optional |