Template:CharacterSheet: Difference between revisions
From The Wild Beyond the Witchlight
No edit summary Tag: Manual revert |
No edit summary |
||
Line 322: | Line 322: | ||
<!-- Display all spells/sections for the MIDDLE column --> | <!-- Display all spells/sections for the MIDDLE column --> | ||
{{#if:{{{GenericSectionsPage3|}}}| | {{#if:{{{GenericSectionsPage3|}}}| | ||
{{#af_foreach:{{{GenericSectionsPage3}}}| |Section|{{# | {{#af_foreach:{{{GenericSectionsPage3}}}| |Section|{{#ifeq: {{#sub:{{#af_get: {{{Section}}} | 0 }}|0|{{#pos:{{#af_get: {{{Section}}} | 0 }}|::}}}} | Middle| {{#switch: {{#af_get: {{{Section}}} | 1 }} | ||
}} | | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 8 | 9 = {{Template:DisplaySpell|{{{Section}}}}} | ||
| #default = {{Template:DisplaySection|{{{Section}}}}}}} |}} | |||
}} | |||
</div> | </div> | ||
<div class="column"> | <div class="column"> | ||
<!-- Display all spells/sections for the MIDDLE column --> | <!-- Display all spells/sections for the MIDDLE column --> | ||
{{#if:{{{GenericSectionsPage3|}}}| | {{#if:{{{GenericSectionsPage3|}}}| | ||
{{#af_foreach:{{{GenericSectionsPage3}}}| |Section|{{# | {{#af_foreach:{{{GenericSectionsPage3}}}| |Section|{{#ifeq: {{#sub:{{#af_get: {{{Section}}} | 0 }}|0|{{#pos:{{#af_get: {{{Section}}} | 0 }}|::}}}} | Middle| {{#switch: {{#af_get: {{{Section}}} | 1 }} | ||
}} | | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 8 | 9 = {{Template:DisplaySpell|{{{Section}}}}} | ||
| #default = {{Template:DisplaySection|{{{Section}}}}}}} |}} | |||
}} | |||
</div> | </div> | ||
<div class="column"> | <div class="column"> | ||
<!-- Display all spells/sections for the RIGHTcolumn --> | <!-- Display all spells/sections for the RIGHTcolumn --> | ||
{{#if:{{{GenericSectionsPage3|}}}| | {{#if:{{{GenericSectionsPage3|}}}| | ||
{{#af_foreach:{{{GenericSectionsPage3}}}| |Section|{{# | {{#af_foreach:{{{GenericSectionsPage3}}}| |Section|{{#ifeq: {{#sub:{{#af_get: {{{Section}}} | 0 }}|0|{{#pos:{{#af_get: {{{Section}}} | 0 }}|::}}}} | Middle| {{#switch: {{#af_get: {{{Section}}} | 1 }} | ||
}} | | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 8 | 9 = {{Template:DisplaySpell|{{{Section}}}}} | ||
| #default = {{Template:DisplaySection|{{{Section}}}}}}} |}} | |||
}} | |||
</div> | </div> | ||
</div> | </div> |
Revision as of 15:42, 2 February 2025