Template:DamageBlob: Difference between revisions
Jump to navigation
Jump to search
HiddenDragon (talk | contribs) (Add support for conditional flag) |
HiddenDragon (talk | contribs) (Cleanup errant p tag) |
||
Line 12: | Line 12: | ||
{{#lvar: dmg1}} | {{#lvar: dmg1}} | ||
}} | }} | ||
</includeonly><noinclude> | </includeonly><noinclude> |
Latest revision as of 21:11, 12 December 2023
This template abstracts out the parsing of damage and damage2 fields from Template:ActionPage
{{DamageBlob|amount: 1d6, type: Fire, mod: Strength}}
:
1d6 (1~6) + Strength modifier Fire
{{DamageBlob|amount: 1d6, type: Fire, mod: Strength, cond:yes}}
:
1d6 (1~6) + Strength modifier Fire (conditional)
{{DamageBlob|amounttext: 4d6+3, type: Cold}}
: