Template:CharacterSheet: Difference between revisions

From The Wild Beyond the Witchlight
No edit summary
No edit summary
Line 98: Line 98:
   </div>
   </div>
</div>
</div>
{{#if:{{{GenericSections|}}}|
{{#if:{{{GenericSections|}}}|
   {{#af_foreach:{{{GenericSections}}}| |Section|{{#ifeq: {{#sub:{{#af_get: {{{Section}}} | 0 }}|0|{{#pos:{{#af_get: {{{Section}}} | 0 }}|::}}}} | Left | {{Template:DisplaySection|{{{Section}}}}} |}}}}
   {{#af_foreach:{{{GenericSections}}}| |Section|{{#ifeq: {{#sub:{{#af_get: {{{Section}}} | 0 }}|0|{{#pos:{{#af_get: {{{Section}}} | 0 }}|::}}}} | Left | {{Template:DisplaySection|{{{Section}}}}} |}}}}
}}
}}
</div>
</div>
<div class="column">
<div class="column">
Line 159: Line 156:
|- class="big"  
|- class="big"  
     | {{{Speed|0}}}
     | {{{Speed|0}}}
    |}
</div>
<div class="leftcolumn"> 
{| class="rpgtable box"
! colspan="4" |SIZE
|- class="big"
    | {{{Size|0}}}
    |}
</div>
<div class="rightcolumn"> 
{| class="rpgtable box"
! colspan="4" |PASSIVE PERCEPTION
|- class="big"
    | {{#expr:10+floor(({{{Wis|0}}}-10)/2) + {{{Perception|0}}}*(2+floor(({{{Level|0}}}-1)/4))}}
     |}
     |}
</div>
</div>
Line 203: Line 214:
| <div class="portrait">{{#if: {{{Image|}}} | [[File:{{{Image}}}]] | {{{ImageCrop|}}} }}</div>
| <div class="portrait">{{#if: {{{Image|}}} | [[File:{{{Image}}}]] | {{{ImageCrop|}}} }}</div>
|}
|}
</div>
<div class="leftcolumn"> 
{| class="rpgtable box"
! colspan="4" |SIZE
|- class="big"
    | {{{Size|0}}}
    |}
</div>
<div class="rightcolumn"> 
{| class="rpgtable box"
! colspan="4" |PASSIVE PERCEPTION
|- class="big"
    | {{#expr:10+floor(({{{Wis|0}}}-10)/2) + {{{Perception|0}}}*(2+floor(({{{Level|0}}}-1)/4))}}
    |}
</div>
</div>



Revision as of 19:10, 25 October 2024