Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:DamageBlob

Template page
Revision as of 10:16, 23 October 2023 by HiddenDragon (talk | contribs) (Created page with "<includeonly>{{trim| {{#lvardef: amt|}}{{#lvardef: typ|}}{{#lvardef: mod|}}{{#lvardef: per|}}{{#lvardef: sav|}}{{#lvardef: sfx|}} {{#ifeq:{{#pos:{{lc:{{{1}}}}}|amounttext:}}||| {{#lvardef: amttxt|{{#rmatch: {{{1}}}|amounttext:\s?([^\s][^,]*)|$1|caseless=0}}}}}} {{#ifeq:{{#pos:{{lc:{{{1}}}}}|amount:}}||| {{#lvardef: amt|{{#rmatch: {{{1}}}|amount:\s?([^\s][^,]*)|$1|caseless=1}}}}}} {{#ifeq:{{#pos:{{lc:{{{1}}}}}|type:}}|||{{#lvardef: typ|{{#rmatch: {{{1}}}|type:\s?([^...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This template abstracts out the parsing of damage and damage2 fields from Template:ActionPage

{{DamageBlob|amount: 1d6, type: Fire, mod: Strength}}:


{{DamageBlob|amounttext: 4d6+3, type: Cold}}:

4d6 + 3 Damage TypesCold