Template:ClassAction/Format: Difference between revisions

Jump to navigation Jump to search
Undo icon size change.
(add negative margin after icon to center it within brackets)
(Undo icon size change.)
 
(2 intermediate revisions by 2 users not shown)
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|}}}}}}}): {{#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

Navigation menu