Template:Feature box/format: Difference between revisions

Jump to navigation Jump to search
Parse range from cargo table if it comes in x/y format
m (Hide last line if data doesn't exist for it)
(Parse range from cargo table if it comes in x/y format)
Line 6: Line 6:
{{{extra description}}} | }}</dd></dl>{{#if: {{{save|}}}{{{range|}}}{{{recharge|}}} | {{Horizontal list|
{{{extra description}}} | }}</dd></dl>{{#if: {{{save|}}}{{{range|}}}{{{recharge|}}} | {{Horizontal list|
{{#if: {{{save|}}} | : {{Save|{{{save}}}}} }}
{{#if: {{{save|}}} | : {{Save|{{{save}}}}} }}
{{#if: {{{range|}}} | : {{Range|{{{range}}}}} }}
{{#if: {{{range|}}} | : {{#if: {{#explode:{{{range}}}|/|1}} | {{Range|m={{#explode:{{{range}}}|/|0}}|ft={{#explode:{{{range}}}|/|1}}}} | {{Range|{{{range}}}}} }} }}
{{#if: {{{recharge|}}} | : {{Recharge|{{{recharge}}}}} }} }} }} }}</includeonly><noinclude>
{{#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 49: Line 49:
| controller icon = Invoke Duplicity Icon.webp
| controller icon = Invoke Duplicity Icon.webp
| action type = action
| action type = action
| range = 3/10
| 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.
}}
}}
</noinclude>
</noinclude>

Navigation menu