7,068
editsAd placeholder
Template:Spell slot: Difference between revisions
Jump to navigation
Jump to search
no edit summary
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{trim| | <includeonly>{{trim| | ||
{{#lvardef: min-w | {{#if: {{{w|}}} | {{{w}}} | {{#if: {{{size|}}} | {{{size}}} | | {{#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}}} | | {{#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 22: | Line 22: | ||
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= | 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]] |