Template:Damage info: Difference between revisions
Jump to navigation
Jump to search
m (style) |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly><div class="bg3wiki-damage-info">{{DieIcon|D{{{die}}}|{{{type}}}}} {{DamageColor | {{{type}}} | {{{count}}}d{{{die}}} {{#if:{{{plus|}}}|+ {{{plus}}}|}} ({{#expr: {{{count}}} + {{{plus|0}}} }}~{{#expr: {{{count}}}*{{{die}}} + {{{plus|0}}} }}) {{#if:{{{per|}}}|per {{{per}}}|}} }} {{DamageType|{{{type}}}}}</div></includeonly><noinclude> | <includeonly><div class="bg3wiki-damage-info">{{DieIcon|D{{{die}}}|{{{type}}}}} {{DamageColor | {{{type}}} | {{{count}}}d{{{die}}} {{#if:{{{plus|}}}|+ {{{plus}}}|}} ({{#expr: {{{count}}} + {{{plus|0}}} }}~{{#expr: {{{count}}}*{{{die}}} + {{{plus|0}}} }}) {{#if:{{{specialplus|}}}|+ {{{specialplus}}}|}} {{#if:{{{per|}}}|per {{{per}}}|}} }} {{DamageType|{{{type}}}}}</div></includeonly><noinclude> | ||
Examples: | Examples: | ||
Line 29: | Line 29: | ||
{{DamageInfo|count=1|die=8|type=Slashing}} | {{DamageInfo|count=1|die=8|type=Slashing}} | ||
--- | |||
{{code|<nowiki>{{DamageInfo|count=1|die=8|specialplus=[[Wisdom Modifier]]|type=Bludgeoning}}</nowiki>}} | |||
{{DamageInfo|count=1|die=8|specialplus=[[Wisdom Modifier]]|type=Bludgeoning}} | |||
</noinclude> | </noinclude> |
Revision as of 16:17, 31 January 2023
Examples:
{{DamageInfo|count=4|die=6|type=Radiant}}
4d6 (4~24) Radiant
---
{{DamageInfo|count=1|die=4|plus=1|type=Force}}
1d4 + 1 (2~5) Force
---
{{DamageInfo|count=2|die=10|type=Fire|per=ray}}
2d10 (2~20) per ray Fire
---
{{DamageInfo|count=1|die=12|type=Poison|per=turn}}
1d12 (1~12) per turn Poison
---
{{DamageInfo|count=1|die=8|type=Slashing}}
1d8 (1~8) Slashing
---
{{DamageInfo|count=1|die=8|specialplus=[[Wisdom Modifier]]|type=Bludgeoning}}
1d8 (1~8) + Wisdom Modifier Bludgeoning