Template:DisplaySection: Difference between revisions

From The Wild Beyond the Witchlight
No edit summary
Tag: Reverted
No edit summary
Tag: Reverted
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}}{{#af_foreach: {{#af_slice:{{{1}}} | 1 }}||Row|<tr>{{#if:{{#pos:{{{Row}}}|::}}|<td class="smaller">'''{{#sub:{{{Row}}}|0|{{#pos:  
! {{#sub:{{#af_get:{{{1}}}|0}}|{{#pos:{{#af_get:{{{1}}}|0}}|::}}+3}}{{#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>
}}
}}
|}
|}
</div>
</div>

Revision as of 13:20, 25 October 2024