Template:DisplaySection: Difference between revisions
From The Wild Beyond the Witchlight
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
<div class="{{#sub:{{#af_get: {{{1}}} | 0 }}|{{#pos:{{#af_get: {{{1}}} | 0 }}|::}}+2}} genericSection"> | <div class="{{#sub:{{#af_get: {{{1}}} | 0 }}|{{#pos:{{#af_get: {{{1}}} | 0 }}|::}}+2}} genericSection"> | ||
{| class="rpgtable" style="width:100%;" | {| class="rpgtable" style="width:100%;" | ||
! {{#sub:{{#af_get: {{{1}}} | 0 }}|{{#pos:{{#af_get: {{{1}}} | 0 }}|::}}+2}}XXX | ! YYY{{#sub:{{#af_get: {{{1}}} | 0 }}|{{#pos:{{#af_get: {{{1}}} | 0 }}|::}}+2}}XXX | ||
{{#af_foreach: {{#af_slice:{{{1}}} | 1 }}||Row|<tr>{{#if:{{#pos:{{{Row}}}|::}}|<td class="smaller">'''{{#sub:{{{Row}}}|0|{{#pos: | {{#af_foreach: {{#af_slice:{{{1}}} | 1 }}||Row|<tr>{{#if:{{#pos:{{{Row}}}|::}}|<td class="smaller">'''{{#sub:{{{Row}}}|0|{{#pos: | ||
{{{Row}}}|::}}}}''' <span class="smallfont">{{#sub:{{{Row}}}| {{#expr: {{#pos:{{{Row}}}|::}}+2 }} }}</span></td>|<td>{{{Row}}}</td>}}</tr> | {{{Row}}}|::}}}}''' <span class="smallfont">{{#sub:{{{Row}}}| {{#expr: {{#pos:{{{Row}}}|::}}+2 }} }}</span></td>|<td>{{{Row}}}</td>}}</tr> |