Ad placeholder

Template:Feature box/format: Difference between revisions

Jump to navigation Jump to search
Experimental change to add support for additional damage fields
mNo edit summary
(Experimental change to add support for additional damage fields)
Line 1: Line 1:
<includeonly>{{TooltipBox|image={{{image}}}|{{IconLink|{{{controller icon}}}|{{{link}}}|{{{name|{{{link}}}}}}}} {{#if:{{{action type|}}}|({{Trim|{{ResourceIconList|{{{action type}}}}}}})}} {{#if: {{{item|}}}| &nbsp;&nbsp;–&nbsp;&nbsp;{{MdRarityItem|{{{item}}}}} }} | {{#if: {{{damage|}}} | {{blank}}
<includeonly>{{TooltipBox|image={{{image}}}|{{IconLink|{{{controller icon}}}|{{{link}}}|{{{name|{{{link}}}}}}}} {{#if:{{{action type|}}}|({{Trim|{{ResourceIconList|{{{action type}}}}}}})}} {{#if: {{{item|}}}| &nbsp;&nbsp;–&nbsp;&nbsp;{{MdRarityItem|{{{item}}}}} }}
: {{DamageInfo|{{{damage}}}|{{{damage type}}}}} }}{{#if: {{{extra damage|}}} | {{blank}}
| {{#if: {{{damage|}}} |
: + {{DamageInfo|{{{extra damage}}}|{{{extra damage type}}}}} }}
  {{DamageInfo
  | {{{damage}}}
  | {{{damage type}}}
  | modifier = {{{damage modifier|}}}
  }}
}} {{#if: {{{extra damage|}}} |
: + {{DamageInfo
    | {{{extra damage}}}
    | {{{extra damage type}}}
    | modifier = {{{extra damage modifier|}}}
    }}
}} {{#if: {{{extra damage 2|}}} |
: + {{DamageInfo
    | {{{extra damage 2}}}
    | {{{extra damage type 2}}}
    | modifier = {{{extra damage modifier 2|}}}
    }}
}} {{#if: {{{extra damage 3|}}} |
: + {{DamageInfo
    | {{{extra damage 3}}}
    | {{{extra damage type 3}}}
    | modifier = {{{extra damage modifier 3|}}}
    }}
}}
{{#if: {{{description|}}} | {{blank}}
{{#if: {{{description|}}} | {{blank}}
{{{description}}} }}{{#if: {{{extra description|}}} | {{blank}}
{{{description}}} }}{{#if: {{{extra description|}}} | {{blank}}
Line 65: Line 88:
| item = Adamantine Longsword
| item = Adamantine Longsword
| description = Make a melee attack with your equipped weapon.
| description = Make a melee attack with your equipped weapon.
| damage = 1d8
| damage modifier = Strength
| damage type = Slashing
}}
== Multiattack ==
{{Feature box/format
| link = Multiattack (Water Elemental)
| image = Multiattack Water Elemental.webp
| controller icon = Multiattack Water Elemental Icon.webp
| action type = action
| range = melee
| description = Descend on a creature to scorch it with a multitude of primordial flames.
| damage = 2d4
| damage modifier = Strength
| damage type = Bludgeoning
| extra damage = 2d4
| extra damage type = Cold
| extra damage 2 = 2d4
| extra damage modifier 2 = Strength
| extra damage type 2 = Bludgeoning
| extra damage 3 = 2d4
| extra damage type 3 = Cold
}}
}}
</noinclude>
</noinclude>

Navigation menu