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:{{{GenericSections|}}}|
{{#if:{{{GenericSectionsPage2|}}}|
   {{#af_foreach:{{{GenericSections}}}| |Spell|{{#ifeq: {{#sub:{{#af_get: {{{Spell}}} | 0 }}|0|{{#pos:{{#af_get: {{{Spell}}} | 0 }}|::}}}} | Left.Spell | {{Template:DisplaySpell|{{{Spell}}}}} |}}}}
   {{#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:{{{GenericSections|}}}|
{{#if:{{{GenericSectionsPage2|}}}|
   {{#af_foreach:{{{GenericSections}}}| |Spell|{{#ifeq: {{#sub:{{#af_get: {{{Spell}}} | 0 }}|0|{{#pos:{{#af_get: {{{Spell}}} | 0 }}|::}}}} | Middle.Spell | {{Template:DisplaySpell|{{{Spell}}}}} |}}}}
   {{#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:{{{GenericSections|}}}|
{{#if:{{{GenericSectionsPage2|}}}|
   {{#af_foreach:{{{GenericSections}}}| |Spell|{{#ifeq: {{#sub:{{#af_get: {{{Spell}}} | 0 }}|0|{{#pos:{{#af_get: {{{Spell}}} | 0 }}|::}}}} | Right.Spell | {{Template:DisplaySpell|{{{Spell}}}}} |}}}}
   {{#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