Template:Feature box/format: Difference between revisions

Jump to navigation Jump to search
mNo edit summary
m (Added support for attack rolls and aoe)
Line 4: Line 4:
{{#if: {{{description|}}} | {{blank}}
{{#if: {{{description|}}} | {{blank}}
{{{description}}} }}{{#if: {{{extra description|}}} | {{blank}}
{{{description}}} }}{{#if: {{{extra description|}}} | {{blank}}
{{{extra description}}} | }}</dd></dl>{{#if: {{{save|}}}{{{range|}}}{{{recharge|}}} | {{Horizontal list|
{{{extra description}}} | }}</dd></dl>{{#if: {{{save|}}}{{{range|}}}{{{area|}}}{{{recharge|}}}{{{has_attack_roll|}}} | {{Horizontal list|{{#if: {{{save|}}} | : {{Save|{{{save}}}}} }}{{#if: {{{range|}}} | : {{#if: {{#pos:{{{range}}}|/}} | {{Range|m={{#explode:{{{range}}}|/|0}}|ft={{#explode:{{{range}}}|/|1}}}} | {{Range|{{{range}}}}} }} }}{{#if: {{{area|}}} | : {{AOE|{{{aoe}}}|m={{#explode:{{{area}}}|/|0}}|ft={{#explode:{{{area}}}|/|1}}}} }}{{#if: {{{has_attack_roll|}}} | : {{Attack Roll}} }}{{#if: {{{recharge|}}} | : {{Recharge|{{{recharge}}}}} }} }} }} }}</includeonly><noinclude>
{{#if: {{{save|}}} | : {{Save|{{{save}}}}} }}
{{#if: {{{range|}}} | : {{#if: {{#pos:{{{range}}}|/}} | {{Range|m={{#explode:{{{range}}}|/|0}}|ft={{#explode:{{{range}}}|/|1}}}} | {{Range|{{{range}}}}} }} }}
{{#if: {{{recharge|}}} | : {{Recharge|{{{recharge}}}}} }} }} }} }}</includeonly><noinclude>
Meant to be used with cargo query from [[Template:Feature box]].  Preview:
Meant to be used with cargo query from [[Template:Feature box]].  Preview:


Line 24: Line 21:
| extra damage = 2d6
| extra damage = 2d6
| extra damage type = Acid
| extra damage type = Acid
| aoe = Radius
| area = 6/20
| save = DEX
| save = DEX
| range = ranged
| range = ranged
Line 38: Line 37:
| extra damage = prof
| extra damage = prof
| extra damage type = Psychic
| extra damage type = Psychic
| has_attack_roll = yes
| 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.