Template:HealingInfo/Primitive: Difference between revisions
No edit summary |
No edit summary |
||
Line 13: | Line 13: | ||
---- | ---- | ||
Examples: | Examples of using [[Template:HealingInfo]]: | ||
{{code|<nowiki>{{HealingInfo | 1d8 | {{code|<nowiki>{{HealingInfo | 1d8 }}</nowiki>}} | ||
{{HealingInfo | 1d8 | {{HealingInfo | 1d8 }} | ||
--- | --- | ||
{{code|<nowiki>{{HealingInfo | | {{code|<nowiki>{{HealingInfo | 1d4+1 }}</nowiki>}} | ||
{{HealingInfo | | {{HealingInfo | 1d4+1 }} | ||
--- | --- | ||
{{code|<nowiki>{{HealingInfo | | {{code|<nowiki>{{HealingInfo | 1d12 | per = turn }}</nowiki>}} | ||
{{HealingInfo | | {{HealingInfo | 1d12 | per = turn }} | ||
--- | --- | ||
{{code|<nowiki>{{HealingInfo | | {{code|<nowiki>{{HealingInfo | 1d8 | modifier = spell | per = ally }}</nowiki>}} | ||
{{HealingInfo | | {{HealingInfo | 1d8 | modifier = spell | per = ally }} | ||
--- | --- | ||
{{code|<nowiki>{{HealingInfo | 1d8 | modifier = Wisdom }}</nowiki>}} | |||
{{HealingInfo | 1d8 | modifier = Wisdom }} | |||
{{code|<nowiki>{{HealingInfo | 1d8 | |||
{{HealingInfo | 1d8 | |||
--- | --- |
Revision as of 03:25, 29 July 2023
Examples:
{{HealingInfo/Primitive|count=1|die=8}}
---
{{HealingInfo/Primitive|count=1|die=4|modifier=spell|per=ally}}
Examples of using Template:HealingInfo:
{{HealingInfo | 1d8 }}
---
{{HealingInfo | 1d4+1 }}
---
{{HealingInfo | 1d12 | per = turn }}
---
{{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}}}|...}}
.