Template:HealingInfo: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
<includeonly><div class="bg3wiki-damage-info">{{DieIcon|D{{{die}}}|Healing}} {{DamageColor|Healing|{{{count}}}d{{{die}}} {{#if:{{{plus|}}}|+ {{{plus}}}|}} ({{#expr: {{{count}}} + {{{plus|0}}} }}-{{#expr: {{{count}}}*{{{die}}} + {{{plus|0}}} }}) {{#if:{{{modifier|}}}|+ {{{modifier}}}|}} {{#if:{{{per|}}}| per {{{per}}}|}} }} {{icon|Healing Icon.png}} {{DamageColor|Healing|Hit Points}}</div></includeonly><noinclude>
<includeonly><div class="bg3wiki-damage-info">{{DieIcon|D{{{die}}}|Healing}} {{DamageColor|Healing|{{{count}}}d{{{die}}} {{#if:{{{plus|}}}|+ {{{plus}}}|}} ({{#expr: {{{count}}} + {{{plus|0}}} }}-{{#expr: {{{count}}}*{{{die}}} + {{{plus|0}}} }}) {{#if:{{{modifier|}}}|+ {{{modifier}}}|}} {{#if:{{{per|}}}| per {{{per}}}|}} }} {{icon|Healing Icon.png|30}} {{DamageColor|Healing|Hit Points}}</div></includeonly><noinclude>


Examples:
Examples:

Revision as of 17:07, 31 January 2023


Examples:

Input: {{HealingInfo|count=1|die=8}}

Result:
D8 Healing.png 1d8 (1-8) Healing Icon.png Hit Points

---

Input: {{HealingInfo|count=1|die=4|modifier=[[Spellcasting Modifier]]|per=ally}}

Result:
D4 Healing.png 1d4 (1-4) + Spellcasting Modifier per ally Healing Icon.png Hit Points