Template:Spell slot: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{trim|
<includeonly>{{trim|
{{#lvardef: min-w | {{#if: {{{w|}}} | {{{w}}} | {{#if: {{{size|}}} | {{{size}}} | 40 }} }} }}
{{#lvardef: min-w | {{#if: {{{w|}}} | {{{w}}} | {{#if: {{{size|}}} | {{{size}}} | 30 }} }} }}
{{#lvardef: max-w | {{{w|}}} }}
{{#lvardef: max-w | {{{w|}}} }}
{{#lvardef: max-h | {{#if: {{{h|}}} | {{{h}}} | {{#if: {{{size|}}} | {{{size}}} | 40 }} }} }}
{{#lvardef: max-h | {{#if: {{{h|}}} | {{{h}}} | {{#if: {{{size|}}} | {{{size}}} | 30 }} }} }}
}}{{#if: {{{block|}}}
}}{{#if: {{{block|}}}
| <span style="display: inline-flex; align-items: center; {{#if: {{{gap|}}} | gap: {{{gap}}}px; }}">
| <span style="display: inline-flex; align-items: center; {{#if: {{{gap|}}} | gap: {{{gap}}}px; }}">
Line 19: Line 19:
}}</span></span>{{#if: {{{block|}}}
}}</span></span>{{#if: {{{block|}}}
| </span>
| </span>
}}</includeonly><noinclude>
}}</includeonly><noinclude>{{shortcut|SpellSlot}}
Adds spell slot icon.
Adds spell slot icon.


Examples: {{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}}
Examples: {{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=40}} {{SpellSlot|0|h=24}} {{SpellSlot|2 Warlock|2}}


{{InfoBlob|<nowiki>{{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}}</nowiki>}}
{{InfoBlob|<nowiki>{{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}}</nowiki>}}
[[Category:Templates]]
[[Category:Templates]]

Latest revision as of 22:37, 31 January 2024

Shortcut

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}}