Difference between revisions of "Template:Ability"

From DDO Compendium
Line 1: Line 1:
<noinclude>
<noinclude>
[[Category:Template]][[Category:Item Enchantment Template]]
[[Category:Template]][[Category:Item Enchantment Template]]
<table class="wikitable" width=100% border=1 style="border: solid 1px white;">
{{User:MNDeveloper/Template:TemplateDoc
<tr><td colspan=2 style="padding:3px">This template is used for stats, or [[Abilities]], added to the Enchantment section of equipment.</td><tr>
|name = Ability
<tr><td width=50% style="padding:3px">Sample Usage</td><td><nowiki>{{Ability|Stat|Modifier|ModType (opt)}}</nowiki></td></tr>
|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.
</table>
|example1 = <nowiki>{{Ability|Constitution|10|Insight}}</nowiki>
 
|example1output = {{Ability|Constitution|10|Insight}}
Used in this manner:
|parameter1name = Ability
<br><br>
|parameter1description = This specifies when [[Ability]] that is being added.
<br>Such that <nowiki>{{Ability|Constitution|10|Insight}}</nowiki> results in<br>
|parameter1values =
<br>{{Ability|Constitution|10|Insight}}
|parameter2name = Enhancement Amount
|parameter2description = This is the amount the ability is increased or decreased.  A negative value here will produce "penalty" instead of "bonus".
|parameter2values =
|parameter3name = Bonus Type
|parameter3description = This is the type of bonus - Insight, Enhancement, Quality, etc.  If you don't specify a value here it will default to Enhancement.
|parameter3values =
}}
</noinclude>
</noinclude>



Revision as of 18:54, 4 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.


[[Category:Items with bonuses to {{{1}}}]][[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}}}.