3,890
editsAd placeholder
Template:Damage text: Difference between revisions
Jump to navigation
Jump to search
m
fix issue with bold tag not closing for healing text case
m (update to support healing) |
m (fix issue with bold tag not closing for healing text case) |
||
Line 1: | Line 1: | ||
<includeonly><span style="white-space: nowrap;">{{DamageColor | {{{2}}} |'''{{{1}}}{{#ifeq: {{{2}}} | Physical | | {{DamageIcon|{{{2}}}}} }}{{#ifeq: {{{2}}} | Healing | {{DamageColor | {{{2}}} |Hit Points}} | [[Damage Types|{{DamageColor | {{{2}}} |{{{2}}}}}]]'''}}}}</span></includeonly><noinclude> | <includeonly><span style="white-space: nowrap;">{{DamageColor | {{{2}}} |'''{{{1}}}{{#ifeq: {{{2}}} | Physical | | {{DamageIcon|{{{2}}}}} }}{{#ifeq: {{{2}}} | Healing | {{DamageColor | {{{2}}} |Hit Points}}''' | [[Damage Types|{{DamageColor | {{{2}}} |{{{2}}}}}]]'''}}}}</span></includeonly><noinclude> | ||
Usage: {{code|Blah blah deals <nowiki>{{DamageText|2d6|Fire}}</nowiki> damage.}} | Usage: {{code|Blah blah deals <nowiki>{{DamageText|2d6|Fire}}</nowiki> damage.}} | ||