Template:CharacterSheet: Difference between revisions

From The Wild Beyond the Witchlight
No edit summary
No edit summary
Line 283: Line 283:
| Lvl 9:
| Lvl 9:
| {{Template:Circles|Circles={{#af_get: {{{SpellSlots}}} | 8 }}|small=small|FilledCircles={{#af_get: {{{SpellSlotsUsed}}} | 8 }}|PermanentCircles=0|Break=}}
| {{Template:Circles|Circles={{#af_get: {{{SpellSlots}}} | 8 }}|small=small|FilledCircles={{#af_get: {{{SpellSlotsUsed}}} | 8 }}|PermanentCircles=0|Break=}}
{{#if:{{{ExtraSpellSlot1|}}}|
    {{!}}-
    {{!}} colspan="6" {{!}} {{{ExtraSpellSlot1|}}}: {{Template:Circles|Circles={{#ifeq:{{{ExtraSpellSlot1Slots|}}}|Prof|{{#expr:2+floor(({{{Level|0}}}-1)/4)}}|{{{ExtraSpellSlot1Slots|1}}}}}|small=small|FilledCircles={{{ExtraSpellSlot1Used|0}}}|PermanentCircles=0|Break=}} {{#if:{{{ExtraSpellSlot2|}}}|<br>{{{ExtraSpellSlot2|}}}: {{Template:Circles|Circles={{{ExtraSpellSlot2Slots|1}}}|small=small|FilledCircles={{{ExtraSpellSlot2Used|0}}}|PermanentCircles=0|Break=}}|}} {{#if:{{{ExtraSpellSlot3|}}}|<br>{{{ExtraSpellSlot3|}}}: {{Template:Circles|Circles={{{ExtraSpellSlot3Slots|1}}}|small=small|FilledCircles={{{ExtraSpellSlot3Used|0}}}|PermanentCircles=0|Break=}}|}} {{#if:{{{ExtraSpellSlot4|}}}|<br>{{{ExtraSpellSlot4|}}}: {{Template:Circles|Circles={{{ExtraSpellSlot4Slots|1}}}|small=small|FilledCircles={{{ExtraSpellSlot4Used|0}}}|PermanentCircles=0|Break=}}|}}
|}}
|}
|}
</div>
</div>

Revision as of 23:41, 5 November 2024