Template:CharacterSheet: Difference between revisions

From The Wild Beyond the Witchlight
No edit summary
Tag: Reverted
No edit summary
Tag: Manual revert
 
Line 293: Line 293:
{{#if:{{{GenericSectionsPage2|}}}|
{{#if:{{{GenericSectionsPage2|}}}|
   {{#af_foreach:{{{GenericSectionsPage2}}}| |Section|{{#ifeq: {{#sub:{{#af_get: {{{Section}}} | 0 }}|0|{{#pos:{{#af_get: {{{Section}}} | 0 }}|::}}}} | Left | {{#switch: {{#af_get: {{{Section}}} | 1 }}
   {{#af_foreach:{{{GenericSectionsPage2}}}| |Section|{{#ifeq: {{#sub:{{#af_get: {{{Section}}} | 0 }}|0|{{#pos:{{#af_get: {{{Section}}} | 0 }}|::}}}} | Left | {{#switch: {{#af_get: {{{Section}}} | 1 }}
  | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 8 | 9 = {{Template:DisplaySpellTest|{{{Section}}}}}
  | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 8 | 9 = {{Template:DisplaySpell|{{{Section}}}}}
  | #default = {{Template:DisplaySection|{{{Section}}}}}}} |}}
  | #default = {{Template:DisplaySection|{{{Section}}}}}}} |}}
   }}
   }}
Line 303: Line 303:
{{#if:{{{GenericSectionsPage2|}}}|
{{#if:{{{GenericSectionsPage2|}}}|
   {{#af_foreach:{{{GenericSectionsPage2}}}| |Section|{{#ifeq: {{#sub:{{#af_get: {{{Section}}} | 0 }}|0|{{#pos:{{#af_get: {{{Section}}} | 0 }}|::}}}} | Middle| {{#switch: {{#af_get: {{{Section}}} | 1 }}
   {{#af_foreach:{{{GenericSectionsPage2}}}| |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:DisplaySpellTest|{{{Section}}}}}
  | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 8 | 9 = {{Template:DisplaySpell|{{{Section}}}}}
  | #default = {{Template:DisplaySection|{{{Section}}}}}}} |}}
  | #default = {{Template:DisplaySection|{{{Section}}}}}}} |}}
   }}
   }}
Line 312: Line 312:
{{#if:{{{GenericSectionsPage2|}}}|
{{#if:{{{GenericSectionsPage2|}}}|
   {{#af_foreach:{{{GenericSectionsPage2}}}| |Section|{{#ifeq: {{#sub:{{#af_get: {{{Section}}} | 0 }}|0|{{#pos:{{#af_get: {{{Section}}} | 0 }}|::}}}} | Right| {{#switch: {{#af_get: {{{Section}}} | 1 }}
   {{#af_foreach:{{{GenericSectionsPage2}}}| |Section|{{#ifeq: {{#sub:{{#af_get: {{{Section}}} | 0 }}|0|{{#pos:{{#af_get: {{{Section}}} | 0 }}|::}}}} | Right| {{#switch: {{#af_get: {{{Section}}} | 1 }}
  | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 8 | 9 = {{Template:DisplaySpellTest|{{{Section}}}}}
  | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 8 | 9 = {{Template:DisplaySpell|{{{Section}}}}}
  | #default = {{Template:DisplaySection|{{{Section}}}}}}} |}}
  | #default = {{Template:DisplaySection|{{{Section}}}}}}} |}}
   }}
   }}

Latest revision as of 23:29, 17 May 2025