Template:Feature box/format: Difference between revisions

Jump to navigation Jump to search
(Support for save, range, and recharge)
(Added support for damage/extra damage fields)
Line 1: Line 1:
<includeonly>{{TooltipBox|image={{{image}}}| <dl><dt>{{IconLink|{{{controller icon}}}|{{{link}}}|{{{name|{{{link}}}}}}}} ({{Trim|{{ResourceIconList|{{{action type|}}}}}}})</dt> | <dd>{{#if: {{{description|}}} | {{blank}}
<includeonly>{{TooltipBox|image={{{image}}}| <dl><dt>{{IconLink|{{{controller icon}}}|{{{link}}}|{{{name|{{{link}}}}}}}} ({{Trim|{{ResourceIconList|{{{action type|}}}}}}})</dt> | <dd>{{#if: {{{damage|}}} | {{blank}}
<div>{{DamageInfo|{{{damage}}}|{{{damage type}}}}}</div> }}{{#if: {{{extra damage|}}} | {{blank}}
<div>+ {{DamageInfo|{{{extra damage}}}|{{{extra damage type}}}}}</div> }}
{{#if: {{{description|}}} | {{blank}}
{{{description}}} }}{{#if: {{{extra description|}}} | {{blank}}
{{{description}}} }}{{#if: {{{extra description|}}} | {{blank}}
{{{extra description}}} | }}</dd></dl>{{Horizontal list|
{{{extra description}}} | }}</dd></dl>{{Horizontal list|
Line 17: Line 20:


The area is {{Cond|Difficult Terrain}}.
The area is {{Cond|Difficult Terrain}}.
| damage = 2d6
| damage type = Cold
| extra damage = 2d6
| extra damage type = Acid
| save = DEX
| save = DEX
| range = ranged
| range = ranged
Line 28: Line 35:
| controller icon = Moonlight Butterflies Icon.webp
| controller icon = Moonlight Butterflies Icon.webp
| action type = action
| action type = action
| damage = weapon
| extra damage = prof
| extra damage type = Psychic
| description = Strike a foe, dealing additional {{DamageText||Psychic}} damage equal to your [[proficiency bonus]], conjuring an illusory swarm of moon-pale butterflies and gaining {{Advantage}} on attacks against the target.
| description = Strike a foe, dealing additional {{DamageText||Psychic}} damage equal to your [[proficiency bonus]], conjuring an illusory swarm of moon-pale butterflies and gaining {{Advantage}} on attacks against the target.
| extra description = When the target moves away from your illusion, it takes {{DamageText|1d6|Psychic}} damage.
| extra description = When the target moves away from your illusion, it takes {{DamageText|1d6|Psychic}} damage.