Template:DisplaySection: Difference between revisions
From The Wild Beyond the Witchlight
No edit summary Tag: Reverted |
No edit summary Tag: Manual revert |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
<div class="{{#sub:{{#af_get: {{{1}}} | 0 }}|{{#pos:{{#af_get: {{{1}}} | 0 }}|::}} | <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 }}|::}} | ! {{#sub:{{#af_get: {{{1}}} | 0 }}|{{#pos:{{#af_get: {{{1}}} | 0 }}|::}}+2}} | ||
{{#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> |