Template:CharacterSheet: Difference between revisions

From The Wild Beyond the Witchlight
No edit summary
No edit summary
Line 98: Line 98:
   </div>
   </div>
</div>
</div>
{{#if:{{{GenericLeft|}}}|
  {{#af_foreach:{{{GenericLeft}}}| |Spell|{{Template:GenericSectionArray|{{{Spell}}}}}}}
}}


{{#if:{{{GenericSections|}}}|
{{#if:{{{GenericSections|}}}|
   {{#af_foreach:{{{GenericSections}}}| |Section|{{#ifeq: {{#sub:{{#af_get: {{{Section}}} | 0 }}|0|{{#pos:{{#af_get: {{{Section}}} | 0 }}|::}}}} | Left | {{Template:DisplaySection|{{{Section}}}}} |}}}}
   {{#af_foreach:{{{GenericSections}}}| |Section|{{#ifeq: {{#sub:{{#af_get: {{{Section}}} | 0 }}|0|{{#pos:{{#af_get: {{{Section}}} | 0 }}|::}}}} | Left | {{Template:DisplaySection|{{{Section}}}}} |}}}}
}}
}}




Line 193: Line 189:
|}
|}
</div>
</div>
{{#if:{{{GenericSections|}}}|
  {{#af_foreach:{{{GenericSections}}}| |Section|{{#ifeq: {{#sub:{{#af_get: {{{Section}}} | 0 }}|0|{{#pos:{{#af_get: {{{Section}}} | 0 }}|::}}}} | Middle| {{Template:DisplaySection|{{{Section}}}}} |}}}}
}}
{{#if:{{{SectionM1|}}}|
{{#if:{{{SectionM1|}}}|
{{Template:GenericSection|name={{{SectionM1|}}}
{{Template:GenericSection|name={{{SectionM1|}}}

Revision as of 13:29, 25 October 2024