Ad placeholder

Template:HealingInfo/Primitive: Difference between revisions

Jump to navigation Jump to search
m
Fix category name
(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...")
 
m (Fix category name)
 
(3 intermediate revisions by one other user not shown)
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}}


----
----


Examples:
Examples of using [[Template:HealingInfo]]:
 
{{code|<nowiki>{{HealingInfo | 1d8 | Slashing}}</nowiki>}}
{{HealingInfo | 1d8 | Slashing}}
 
---
 
{{code|<nowiki>{{HealingInfo | 4d6 | Radiant}}</nowiki>}}
{{HealingInfo | 4d6 | Radiant}}
 
---
 
{{code|<nowiki>{{HealingInfo | 1d4+1 | Force}}</nowiki>}}
{{HealingInfo | 1d4+1 | Force}}
 
---
 
{{code|<nowiki>{{HealingInfo | 2d10 | Fire | per = ray }}</nowiki>}}
{{HealingInfo | 2d10 | Fire | per = ray }}
 
---
 
{{code|<nowiki>{{HealingInfo | 1d12 | Poison | per = turn }}</nowiki>}}
{{HealingInfo | 1d12 | Poison | per = turn }}
 
---
 
{{code|<nowiki>{{HealingInfo | 1d8 | Piercing | modifier = melee }}</nowiki>}}
{{HealingInfo | 1d8 | Piercing | modifier = melee }}
 
---
 
{{code|<nowiki>{{HealingInfo | 1d8 | Piercing | modifier = ranged }}</nowiki>}}
{{HealingInfo | 1d8 | Piercing | modifier = ranged }}
 
---


{{code|<nowiki>{{HealingInfo | 1d8 | Piercing | modifier = finesse }}</nowiki>}}
{{code|<nowiki>{{HealingInfo | 1d8 }}</nowiki>}}
{{HealingInfo | 1d8 | Piercing | modifier = finesse }}
{{HealingInfo | 1d8 }}


---
---


{{code|<nowiki>{{HealingInfo | 1d8 | Bludgeoning | modifier = Wisdom }}</nowiki>}}
{{code|<nowiki>{{HealingInfo | 1d4+1 }}</nowiki>}}
{{HealingInfo | 1d8 | Bludgeoning | modifier = Wisdom }}
{{HealingInfo | 1d4+1 }}


---
---


{{code|<nowiki>{{HealingInfo | 2d6 | Cold | save = no }}</nowiki>}}
{{code|<nowiki>{{HealingInfo | 1d12 | per = turn }}</nowiki>}}
{{HealingInfo | 2d6 | Cold | save = no }}
{{HealingInfo | 1d12 | per = turn }}


---
---


{{code|<nowiki>{{HealingInfo | 2d6 | Acid | save = Dexterity | save effect = half }}</nowiki>}}
{{code|<nowiki>{{HealingInfo | 1d8 | modifier = spell | per = ally }}</nowiki>}}
{{HealingInfo | 2d6 | Acid | save = Dexterity | save effect = half }}
{{HealingInfo | 1d8 | modifier = spell | per = ally }}


---
---


{{code|<nowiki>{{HealingInfo | 2d6 | Psychic | save = Wisdom }}</nowiki>}}
{{code|<nowiki>{{HealingInfo | 1d8 | modifier = Wisdom }}</nowiki>}}
{{HealingInfo | 2d6 | Psychic | save = Wisdom }}
{{HealingInfo | 1d8 | modifier = Wisdom }}


---
---
Line 79: 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>

Navigation menu