Template:Feature box/format: Difference between revisions

Jump to navigation Jump to search
mNo edit summary
m (Add support for specifying an item)
Line 1: Line 1:
<includeonly>{{TooltipBox|image={{{image}}}|{{IconLink|{{{controller icon}}}|{{{link}}}|{{{name|{{{link}}}}}}}} {{#if:{{{action type|}}}|({{Trim|{{ResourceIconList|{{{action type}}}}}}})}} | {{#if: {{{damage|}}} | {{blank}}
<includeonly>{{TooltipBox|image={{{image}}}|{{IconLink|{{{controller icon}}}|{{{link}}}|{{{name|{{{link}}}}}}}} {{#if:{{{action type|}}}|({{Trim|{{ResourceIconList|{{{action type}}}}}}})}} {{#if: {{{item|}}}| – {{MdRarityItem|{{{item}}}}} }} | {{#if: {{{damage|}}} | {{blank}}
: {{DamageInfo|{{{damage}}}|{{{damage type}}}}} }}{{#if: {{{extra damage|}}} | {{blank}}
: {{DamageInfo|{{{damage}}}|{{{damage type}}}}} }}{{#if: {{{extra damage|}}} | {{blank}}
: + {{DamageInfo|{{{extra damage}}}|{{{extra damage type}}}}} }}
: + {{DamageInfo|{{{extra damage}}}|{{{extra damage type}}}}} }}
Line 53: Line 53:
| description = Distract your enemies with an illusion. Within {{Distance|m=3|ft=10}} of the illusion, {{Attack roll}}s have {{Advantage}} for you and your allies.
| description = Distract your enemies with an illusion. Within {{Distance|m=3|ft=10}} of the illusion, {{Attack roll}}s have {{Advantage}} for you and your allies.
| extra description = Both the attacker and the creature must be within {{Distance|m=3|ft=10}} of the illusion.
| extra description = Both the attacker and the creature must be within {{Distance|m=3|ft=10}} of the illusion.
}}
== Main Hand Attack ==
{{Feature box/format
| link = Main Hand Attack
| image = Main Hand Attack.webp
| controller icon = Main Hand Attack Icon.webp
| action type = action
| range = melee
| item = Adamantine Longsword
| description = Make a melee attack with your equipped weapon.
}}
}}
</noinclude>
</noinclude>