Template:HealingInfo/Primitive: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
(Created page with "<includeonly><div class="bg3wiki-info-blob">{{DieIcon|D{{{die}}}|Healing}} {{DamageColor | Healing | {{{count}}}d{{{die}}} {{#switch:{{{plus|0}}}|0=|+ {{{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: {{code|<nowiki>{{HealingInfo/Primit...")
 
No edit summary
Line 1: Line 1:
<includeonly><div class="bg3wiki-info-blob">{{DieIcon|D{{{die}}}|Healing}} {{DamageColor | Healing | {{{count}}}d{{{die}}} {{#switch:{{{plus|0}}}|0=|+ {{{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>
<includeonly><div class="bg3wiki-info-blob">{{DieIcon|D{{{die}}}|Healing}} {{DamageColor | Healing | {{{count}}}d{{{die}}} {{#switch:{{{plus|0}}}|0=|+ {{{plus}}}}} ({{#expr: {{{count}}} + {{{plus|0}}} }}~{{#expr: {{{count}}}*{{{die}}} + {{{plus|0}}} }}) {{DamageModifier | {{{modifier|}}} }} {{#if:{{{per|}}}|per {{{per}}}|}} }} {{icon|Healing Icon.png|30}} {{DamageColor|Healing|Hit Points}}</div></includeonly><noinclude>


Examples:
Examples:


{{code|<nowiki>{{HealingInfo/Primitive|count=1|die=8}}</nowiki>}}
{{code|<nowiki>{{HealingInfo/Primitive|count=1|die=8}}</nowiki>}}
{{HealingInfo|count=1|die=8}}
{{HealingInfo/Primitive|count=1|die=8}}


---
---


{{code|<nowiki>{{HealingInfo/Primitive|count=1|die=4|modifier=[[Spellcasting Modifier]]|per=ally}}</nowiki>}}
{{code|<nowiki>{{HealingInfo/Primitive|count=1|die=4|modifier=spell|per=ally}}</nowiki>}}
{{HealingInfo|count=1|die=4|modifier=[[Spellcasting Modifier]]|per=ally}}
{{HealingInfo/Primitive|count=1|die=4|modifier=spell|per=ally}}


----
----

Revision as of 03:20, 29 July 2023


Examples:

{{HealingInfo/Primitive|count=1|die=8}}

D8 Healing.png 1d8 (1~8) Healing Icon.png Hit Points

---

{{HealingInfo/Primitive|count=1|die=4|modifier=spell|per=ally}}

D4 Healing.png 1d4 (1~4) + spellcasting modifier per ally Healing Icon.png Hit Points

Examples:

{{HealingInfo | 1d8 | Slashing}}

D8 Healing.png 1d8 (1~8) Healing Icon.png Hit Points

---

{{HealingInfo | 4d6 | Radiant}}

D6 Healing.png 4d6 (4~24) Healing Icon.png Hit Points

---

{{HealingInfo | 1d4+1 | Force}}

D4 Healing.png 1d4 + 1 (2~5) Healing Icon.png Hit Points

---

{{HealingInfo | 2d10 | Fire | per = ray }}

D10 Healing.png 2d10 (2~20) per ray Healing Icon.png Hit Points

---

{{HealingInfo | 1d12 | Poison | per = turn }}

D12 Healing.png 1d12 (1~12) per turn Healing Icon.png Hit Points

---

{{HealingInfo | 1d8 | Piercing | modifier = melee }}

D8 Healing.png 1d8 (1~8) + Strength modifier Healing Icon.png Hit Points

---

{{HealingInfo | 1d8 | Piercing | modifier = ranged }}

D8 Healing.png 1d8 (1~8) + Dexterity modifier Healing Icon.png Hit Points

---

{{HealingInfo | 1d8 | Piercing | modifier = finesse }}

D8 Healing.png 1d8 (1~8) + Strength or Dexterity modifier Healing Icon.png Hit Points

---

{{HealingInfo | 1d8 | Bludgeoning | modifier = Wisdom }}

D8 Healing.png 1d8 (1~8) + Wisdom modifier Healing Icon.png Hit Points

---

{{HealingInfo | 2d6 | Cold | save = no }}

D6 Healing.png 2d6 (2~12) Healing Icon.png Hit Points

---

{{HealingInfo | 2d6 | Acid | save = Dexterity | save effect = half }}

D6 Healing.png 2d6 (2~12) Healing Icon.png Hit Points

---

{{HealingInfo | 2d6 | Psychic | save = Wisdom }}

D6 Healing.png 2d6 (2~12) Healing Icon.png Hit Points

---

IMPORTANT NOTES

The plus parameter must be either omitted entirely, or set to a valid number, but never provided with an empty value like {{...|plus=|...}}. It can be set to 0, which is the same as omitting it, so if you're using this template from within another, and want to pass on an optional parameter for the plus value, you can pass it on like {{...|plus={{{MyOptionalPlus|0}}}|...}}.