Template:Healing info/primitive: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
No edit summary
m Fix category name
Line 43: Line 43:
The {{code|plus}} parameter must be either omitted entirely, or set to a valid number, but never provided with an empty value like {{code|<nowiki>{{...|plus=|...}}</nowiki>}}.  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 {{code|<nowiki>{{...|plus={{{MyOptionalPlus|0}}}|...}}</nowiki>}}.
The {{code|plus}} parameter must be either omitted entirely, or set to a valid number, but never provided with an empty value like {{code|<nowiki>{{...|plus=|...}}</nowiki>}}.  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 {{code|<nowiki>{{...|plus={{{MyOptionalPlus|0}}}|...}}</nowiki>}}.


[[Category:Damage Info Templates]]
[[Category:Damage info templates]]
</noinclude>
</noinclude>

Revision as of 16:09, 10 October 2023

Examples:

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

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

---

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

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

Examples of using Template:HealingInfo:

{{HealingInfo | 1d8 }}

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

---

{{HealingInfo | 1d4+1 }}

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

---

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

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

---

{{HealingInfo | 1d8 | modifier = spell | per = ally }}

1d8 (1~8) + spellcasting modifier per ally Healing Icon.png Hit Points

---

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

1d8 (1~8) + Wisdom modifier 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}}}|...}}.