Template:ClassAction/Format: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
(add negative margin after icon to center it within brackets)
(added context for where it's used)
Line 1: Line 1:
<includeonly><div style="display: flex;">[[File:{{trim | {{{icon}}} }}|left|link={{{link|}}}|{{{size|40}}}px|alt={{{caption|{{{link|{{{icon}}} }}}}}}]]<p>'''[[{{{link}}}|{{{name}}}]]'''({{Trim|{{ResourceIconList|{{{action type|}}}}}}}<span class="bg3wiki-thin-icon" style="margin-right:-2px"></span>): {{#if: {{{level|}}} | Cast as a {{#ifeq: {{{level}}} | 0 | cantrip | level {{{level}}} spell}} | {{#if: {{{description|}}} | {{{description}}} }} }} {{#if: {{{recharge|}}} | ({{Recharge|{{{recharge}}}}}). | at will. }}</p></div></includeonly><noinclude>
<includeonly><div style="display: flex;">[[File:{{trim | {{{icon}}} }}|left|link={{{link|}}}|{{{size|40}}}px|alt={{{caption|{{{link|{{{icon}}} }}}}}}]]<p>'''[[{{{link}}}|{{{name}}}]]'''({{Trim|{{ResourceIconList|{{{action type|}}}}}}}<span class="bg3wiki-thin-icon" style="margin-right:-2px"></span>): {{#if: {{{level|}}} | Cast as a {{#ifeq: {{{level}}} | 0 | cantrip | level {{{level}}} spell}} | {{#if: {{{description|}}} | {{{description}}} }} }} {{#if: {{{recharge|}}} | ({{Recharge|{{{recharge}}}}}). | at will. }}</p></div></includeonly><noinclude>
Meant to be used with a Cargo query.  Preview:
Meant to be used with a Cargo query in [[Template:SpellAction]].  Preview:


{{ClassAction/Format
{{ClassAction/Format

Revision as of 20:58, 29 December 2023

Meant to be used with a Cargo query in Template:SpellAction. Preview:

Jump (Bonus Action)

Jump(): Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. at will.

Fire Bolt

Fire Bolt(): Cast as a cantrip at will.

Hunter's Mark

Hunter's Mark(): Cast as a level 1 spell ( Recharge: Long rest).

Melf's Acid Arrow

Melf's Acid Arrow(): Cast as a level 2 spell ( Recharge: Long rest).