Template:DisplaySection: Difference between revisions

From The Wild Beyond the Witchlight
No edit summary
Tag: Reverted
(Undo revision 791 by Xavier (talk))
Tag: Undo
 
Line 1: Line 1:
<includeonly><div>  
<includeonly>
{|class="rpgtable spell"
<div>
! {{#sub:{{#af_get: {{{1}}} | 0 }}|{{#expr:{{#pos:{{#af_get: {{{1}}} | 0 }}|::}}+2}}}}
{| class="rpgtable genericSection" style="width:100%;"  
|- 
! {{#sub:{{#af_get: {{{1}}} | 0 }}|{{#expr:{{#pos:{{#af_get: {{{1}}} | 0 }}|::}}+2}}}}
| <div style="width:50%; float:left;">''Level {{#af_get: {{{1}}} | 1 }} {{#af_get: {{{1}}} | 2 }}''<br />'''Casting Time''': {{#af_get: {{{1}}} | 3 }}<br />'''Range''': {{#af_get: {{{1}}} | 4 }}</div>
{{#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>
<div style="width:50%; float:right;"><br />'''Components''': {{#af_get: {{{1}}} | 5 }}<br />'''Duration''': {{#af_get: {{{1}}} | 6 }}</div>
</td>
    |-
|<td>
    | class="smallfont" | {{#af_get: {{{1}}} | 7 }}
{{{Row}}}</td>
    |}
}}</tr>
}}
|}
</div>
</div>

Latest revision as of 19:53, 25 October 2024