Difference between revisions of "Template:Vitality"

From DDO Compendium
Line 10: Line 10:
=== Template ===
=== Template ===
<onlyinclude>[[Category: Items with a {{{2|}}} Vitality]][[{{{2|}}} Vitality | '''{{{2|}}} Vitality {{{1}}}:''']] {{#switch: {{{2}}}
<onlyinclude>[[Category: Items with a {{{2|}}} Vitality]][[{{{2|}}} Vitality | '''{{{2|}}} Vitality {{{1}}}:''']] {{#switch: {{{2}}}
| Pirate = You gain the toughness of a pirate, which bestows a +10 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: {{{1}}} Vitality {{#ifexpr: {{{1}}} < 0|penalty|bonus}} to Hit Points.}}</onlyinclude>
| #default = Passive: {{{1}}} Vitality {{#ifexpr: {{{1}}} < 0|penalty|bonus}} to Hit Points.}}</onlyinclude>

Revision as of 00:31, 4 May 2018

Vitality[edit]

This template is used for all bonuses to hit points via Vitality.

Used in this manner:
{{Vitality|amount|modifier (opt)}}

Such that {{Vitality|+3}} results in

Vitality +3: Passive: +3 Vitality bonus to Hit Points.


Template[edit]

Vitality {{{1}}}: Passive: {{{1}}} Vitality Expression error: Unrecognized punctuation character "{". to Hit Points.