Difference between revisions of "Template:Vitality"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude>{{TemplateDocumentation | ||
|name = Vitality | |name = Vitality | ||
|description = This template is used on equipment for the Vitality enchantment. Vitality is an enchantment that adds a specific bonus to hit points. | |description = This template is used on equipment for the Vitality enchantment. Vitality is an enchantment that adds a specific bonus to hit points. | ||
|category=Item Enchantment Template | |||
|example1 = <nowiki>{{Vitality|3}}</nowiki> | |example1 = <nowiki>{{Vitality|3}}</nowiki> | ||
|example1output = {{Vitality|3}} | |example1output = {{Vitality|3}} | ||
Line 16: | Line 17: | ||
</noinclude> | </noinclude> | ||
<onlyinclude> | <onlyinclude>{{EnchTitle|Vitality#{{{2|}}}|{{ucfirst:{{lc:{{{2|}}}}}}} Vitality {{#ifexpr: {{{1}}} < 0||+}}{{{1}}}}}{{EnchBody|{{#switch: {{lc:{{{2}}}}} | ||
| pirate = You gain the toughness of a pirate, which bestows a +{{{1}}} bonus to your maximum hit points. This stacks with all bonuses except itself. | | pirate = You gain the toughness of a pirate, which bestows a +{{{1}}} bonus to your maximum hit points. This stacks with all bonuses except itself. | ||
| #default = Passive: {{#ifexpr: {{{1}}} < 0||+}}{{{1}}} Vitality {{#ifexpr: {{{1}}} < 0|penalty|bonus}} to Hit Points.}}</onlyinclude> | | #default = Passive: {{#ifexpr: {{{1}}} < 0||+}}{{{1}}} Vitality {{#ifexpr: {{{1}}} < 0|penalty|bonus}} to Hit Points.}}}}{{EnchCat|Vitality|Items with a {{ucfirst:{{lc:{{{2|}}}}}}} Vitality|Items that Increase Hit Points}}</onlyinclude> |
Latest revision as of 17:37, 14 December 2019
Vitality[edit]
This template is used on equipment for the Vitality enchantment. Vitality is an enchantment that adds a specific bonus to hit points.
Example Usage | |
{{Vitality|3}} | Vitality +3: Passive: +3 Vitality bonus to Hit Points. |
{{Vitality|3|Pirate}} | Pirate Vitality +3: You gain the toughness of a pirate, which bestows a +3 bonus to your maximum hit points. This stacks with all bonuses except itself. |
Usage[edit]
{{Vitality|(Enhancement Amount)|(Bonus Type)}}
Parameter Documentation | |
Enhancement Amount | This is the amount that hit points are increased. |
Bonus Type | This is used to add special types of bonuses. Possible Values:
|
Template
Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.
Vitality Expression error: Unrecognized punctuation character "{".{{{1}}}: Passive: Expression error: Unrecognized punctuation character "{".{{{1}}} Vitality Expression error: Unrecognized punctuation character "{". to Hit Points.