Template:Spell slot: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 13: Line 13:
"><span style="vertical-align: middle;">{{icon
"><span style="vertical-align: middle;">{{icon
| {{#switch:{{{1}}}|cantrip=Cantrips Icon.png|0=Cantrips Icon.png|{{{2}}} Level {{{1}}} Spell Slots.png}}
| {{#switch:{{{1}}}|cantrip=Cantrips Icon.png|0=Cantrips Icon.png|{{{2}}} Level {{{1}}} Spell Slots.png}}
| size = {{{w|24}}}
| w = {{#lvar:max-w}}
| w = {{#lvar:max-w}}
| h = {{#lvar:max-h}}
| h = {{#lvar:max-h}}

Revision as of 13:35, 5 October 2023

Adds spell slot icon.

Examples: Cantrips Icon.png4 Level 1 Spell Slots.png 3 Level 2 Spell Slots.png 2 Level 3 Spell Slots.png 1 Level 5 Spell Slots.png 1 Level 5 Spell Slots.png 1 Level 6 Spell Slots.png Cantrips Icon.png 2 Level 2 Warlock Spell Slots.png

{{SpellSlot|cantrip}}{{SpellSlot|1|4}} {{SpellSlot|2|3}} {{SpellSlot|3|2}} {{SpellSlot|5|1}} {{SpellSlot|5|1|w=24|h=24}} {{SpellSlot|6|1|w=24}} {{SpellSlot|0|h=24}} {{SpellSlot|2 Warlock|2}}