Template:Healing info/primitive: Difference between revisions
No edit summary |
HiddenDragon (talk | contribs) m (HiddenDragon moved page Template:HealingInfo/Primitive to Template:Healing info/primitive) |
||
(One intermediate revision by one other user not shown) | |||
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 | [[Category:Damage info templates]] | ||
</noinclude> | </noinclude> |
Latest revision as of 12:00, 19 January 2025
Examples:
{{HealingInfo/Primitive|count=1|die=8}}
![D8 Healing.png](/w/images/thumb/c/ce/D8_Healing.png/26px-D8_Healing.png)
![Healing Icon.png](/w/images/thumb/a/ac/Healing_Icon.png/30px-Healing_Icon.png)
---
{{HealingInfo/Primitive|count=1|die=4|modifier=spell|per=ally}}
Examples of using Template:HealingInfo:
{{HealingInfo | 1d8 }}
![D8 Healing.png](/w/images/thumb/c/ce/D8_Healing.png/26px-D8_Healing.png)
![Healing Icon.png](/w/images/thumb/a/ac/Healing_Icon.png/30px-Healing_Icon.png)
---
{{HealingInfo | 1d4+1 }}
![D4 Healing.png](/w/images/thumb/8/87/D4_Healing.png/31px-D4_Healing.png)
![Healing Icon.png](/w/images/thumb/a/ac/Healing_Icon.png/30px-Healing_Icon.png)
---
{{HealingInfo | 1d12 | per = turn }}
![D12 Healing.png](/w/images/thumb/a/a9/D12_Healing.png/29px-D12_Healing.png)
![Healing Icon.png](/w/images/thumb/a/ac/Healing_Icon.png/30px-Healing_Icon.png)
---
{{HealingInfo | 1d8 | modifier = spell | per = ally }}
---
{{HealingInfo | 1d8 | modifier = Wisdom }}
---
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}}}|...}}
.