Template:CharacterSheet: Difference between revisions
From The Orc War
No edit summary |
No edit summary |
||
Line 119: | Line 119: | ||
{{#ifeq: {{{BasicRangedAttackSpecial}}} | | | <tr class="notes"><td class="special" colspan="4">{{{BasicRangedAttackSpecial| }}}</td></tr>}} | {{#ifeq: {{{BasicRangedAttackSpecial}}} | | | <tr class="notes"><td class="special" colspan="4">{{{BasicRangedAttackSpecial| }}}</td></tr>}} | ||
</div> | </div> | ||
{{#if:{{{GenericSections|}}}| | {{#if:{{{GenericSections|}}}| | ||
{{#af_foreach:{{{GenericSections}}}| |Section|{{#ifeq: {{#sub:{{#af_get: {{{Section}}} | 0 }}|0|{{#pos:{{#af_get: {{{Section}}} | 0 }}|::}}}} | Middle | {{Template:DisplaySection|{{{Section}}}}} |}}}} | {{#af_foreach:{{{GenericSections}}}| |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"> | ||
Line 134: | Line 135: | ||
|} | |} | ||
</div> | </div> | ||
{{#if:{{{GenericSections|}}}| | {{#if:{{{GenericSections|}}}| | ||
{{#af_foreach:{{{GenericSections}}}| |Section|{{#ifeq: {{#sub:{{#af_get: {{{Section}}} | 0 }}|0|{{#pos:{{#af_get: {{{Section}}} | 0 }}|::}}}} | Right| {{Template:DisplaySection|{{{Section}}}}} |}}}} | {{#af_foreach:{{{GenericSections}}}| |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:DisplaySpell|{{{Section}}}}} | |||
| #default = {{Template:DisplaySection|{{{Section}}}}}}} |}} | |||
}} | |||
}} | }} | ||
</div> | </div> | ||
</div> | </div> |
Revision as of 22:14, 29 August 2025