Ad placeholder

Template:HealingInfo: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 1: Line 1:
<includeonly><div class="bg3wiki-info-blob">{{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>
<includeonly>{{HealingInfo/Primitive
| count = {{{count |
  {{#explode: {{lc: {{{1}}} }} | d | 0 }}
}}}
| die = {{{die |
  {{#explode: {{#replace: {{lc: {{{1}}} }} | d | + }} | + | 1 }}
}}}
| plus = {{{plus |
  {{#if: {{#pos: {{{1}}} | + }}
    | {{#explode: {{#replace: {{lc: {{{1}}} }} | d | + }} | + | 2}}
    | 0 }}
}}}
| modifier = {{{modifier | }}}
| per = {{{per | }}}
}}</includeonly><noinclude>
Examples:
 
{{code|<nowiki>{{HealingInfo | 1d8 }}</nowiki>}}
{{HealingInfo | 1d8 }}
 
---
 
{{code|<nowiki>{{HealingInfo | 1d4+1 }}</nowiki>}}
{{HealingInfo | 1d4+1 }}
 
---


Examples:
{{code|<nowiki>{{HealingInfo | 1d12 | per = turn }}</nowiki>}}
{{HealingInfo | 1d12 | per = turn }}
 
---


{{code|<nowiki>{{HealingInfo|count=1|die=8}}</nowiki>}}
{{code|<nowiki>{{HealingInfo | 1d8 | modifier = spell | per = ally }}</nowiki>}}
{{HealingInfo|count=1|die=8}}
{{HealingInfo | 1d8 | modifier = spell | per = ally }}


---
---


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


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

Navigation menu