Template:Damage text: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{DamageIcon|{{{2}}}}}[[Damage Types|{{DamageColor | {{{2}}} |'''{{{1}}} {{{2}}}'''}}]]</includeonly><noinclude> | <includeonly>{{#ifeq: {{{2}}} | Physical || {{DamageIcon|{{{2}}}}} }}[[Damage Types|{{DamageColor | {{{2}}} |'''{{{1}}} {{{2}}}'''}}]]</includeonly><noinclude> | ||
Usage: {{code|Blah blah deals <nowiki>{{DamageText|2d6|Fire}}</nowiki> damage.}} | Usage: {{code|Blah blah deals <nowiki>{{DamageText|2d6|Fire}}</nowiki> damage.}} | ||
Result: Blah blah deals {{DamageText|2d6|Fire}} damage. | Result: Blah blah deals {{DamageText|2d6|Fire}} damage. | ||
Usage: {{code|Blah blah deals <nowiki>{{DamageText|2d6|Physical}}</nowiki> damage.}} | |||
Result: Blah blah deals {{DamageText|2d6|Physical}} damage. | |||
[[Category:Damage Info Templates]] | [[Category:Damage Info Templates]] | ||
</noinclude> | </noinclude> |
Revision as of 06:03, 4 February 2023
Usage: Blah blah deals {{DamageText|2d6|Fire}} damage.
Result: Blah blah deals 2d6 Fire damage.
Usage: Blah blah deals {{DamageText|2d6|Physical}} damage.
Result: Blah blah deals 2d6 Physical damage.