Template:CharacterSheet: Difference between revisions
From The Wild Beyond the Witchlight
No edit summary |
No edit summary |
||
Line 251: | Line 251: | ||
<!-- Display all spells for the LEFT column --> | <!-- Display all spells for the LEFT column --> | ||
{{#if:{{{ | {{#if:{{{GenericSectionsPage2|}}}| | ||
{{#af_foreach:{{{ | {{#af_foreach:{{{GenericSectionsPage2}}}| |Spell|{{#ifeq: {{#sub:{{#af_get: {{{Spell}}} | 0 }}|0|{{#pos:{{#af_get: {{{Spell}}} | 0 }}|::}}}} | Left.Spell | {{Template:DisplaySpell|{{{Spell}}}}} |}}}} | ||
}} | }} | ||
Line 285: | Line 285: | ||
<!-- Display all spells for the MIDDLE column --> | <!-- Display all spells for the MIDDLE column --> | ||
{{#if:{{{ | {{#if:{{{GenericSectionsPage2|}}}| | ||
{{#af_foreach:{{{ | {{#af_foreach:{{{GenericSectionsPage2}}}| |Spell|{{#ifeq: {{#sub:{{#af_get: {{{Spell}}} | 0 }}|0|{{#pos:{{#af_get: {{{Spell}}} | 0 }}|::}}}} | Middle.Spell | {{Template:DisplaySpell|{{{Spell}}}}} |}}}} | ||
}} | }} | ||
</div> | </div> | ||
<div class="column"> | <div class="column"> | ||
<!-- Display all spells for the RIGHTcolumn --> | <!-- Display all spells for the RIGHTcolumn --> | ||
{{#if:{{{ | {{#if:{{{GenericSectionsPage2|}}}| | ||
{{#af_foreach:{{{ | {{#af_foreach:{{{GenericSectionsPage2}}}| |Spell|{{#ifeq: {{#sub:{{#af_get: {{{Spell}}} | 0 }}|0|{{#pos:{{#af_get: {{{Spell}}} | 0 }}|::}}}} | Right.Spell | {{Template:DisplaySpell|{{{Spell}}}}} |}}}} | ||
}} | }} | ||
</div> | </div> |
Revision as of 19:13, 25 October 2024