Template:CharacterSheet: Difference between revisions

From The Wild Beyond the Witchlight
No edit summary
No edit summary
 
(4 intermediate revisions by one other user not shown)
Line 89: Line 89:
{{Template:SkillRow|Level={{{Level|0}}}|Attr={{{Int|0}}}|Skill=History|SkillProf={{{History|0}}}}}
{{Template:SkillRow|Level={{{Level|0}}}|Attr={{{Int|0}}}|Skill=History|SkillProf={{{History|0}}}}}
{{Template:SkillRow|Level={{{Level|0}}}|Attr={{{Int|0}}}|Skill=Investigation|SkillProf={{{Investigation|0}}}}}
{{Template:SkillRow|Level={{{Level|0}}}|Attr={{{Int|0}}}|Skill=Investigation|SkillProf={{{Investigation|0}}}}}
{{Template:SkillRow|Level={{{Level|0}}}|Attr={{{Int|0}}}|Skill=Nature|SkillProf={{{Arcana|0}}}|ExtraAttr={{{{{{NatureAdd|}}}|10}}}}}
{{Template:SkillRow|Level={{{Level|0}}}|Attr={{{Int|0}}}|Skill=Nature|SkillProf={{{Nature|0}}}|ExtraAttr={{{{{{NatureAdd|}}}|10}}}}}
{{Template:SkillRow|Level={{{Level|0}}}|Attr={{{Int|0}}}|Skill=Religion|SkillProf={{{Religion|0}}}}}
{{Template:SkillRow|Level={{{Level|0}}}|Attr={{{Int|0}}}|Skill=Religion|SkillProf={{{Religion|0}}}}}
|}
|}
Line 144: Line 144:
! colspan="4" |PASSIVE P.
! colspan="4" |PASSIVE P.
|- class="big"  
|- class="big"  
     | {{#expr:10+floor(({{{Wis|0}}}-10)/2) + {{{Perception|0}}}*(2+floor(({{{Level|0}}}-1)/4))}}
     | {{#expr:10+floor(({{{Wis|0}}}-10)/2) + floor({{{Perception|0}}}*(2+floor(({{{Level|0}}}-1)/4)))}}
     |}
     |}
</div>
</div>
Line 347: Line 347:
</div>
</div>
</div>
</div>
<div class="container" {{#ifexpr: {{{showPage4|0}}}=0|style="display:none;"}}>
<div class="column">
<!-- Display all spells/sections  for the LEFT column -->
{{#if:{{{GenericSectionsPage4|}}}|
  {{#af_foreach:{{{GenericSectionsPage4}}}| |Section|{{#ifeq: {{#sub:{{#af_get: {{{Section}}} | 0 }}|0|{{#pos:{{#af_get: {{{Section}}} | 0 }}|::}}}} | Left | {{#switch: {{#af_get: {{{Section}}} | 1 }}
| 0 | 1 | 2 | 3 | 4 | 5 | 6 | 8 | 9 = {{Template:DisplaySpell|{{{Section}}}}}
| #default = {{Template:DisplaySection|{{{Section}}}}}}} |}}
  }}
}}
</div>
<div class="column">
<!-- Display all spells/sections for the MIDDLE column -->
{{#if:{{{GenericSectionsPage4|}}}|
  {{#af_foreach:{{{GenericSectionsPage4}}}| |Section|{{#ifeq: {{#sub:{{#af_get: {{{Section}}} | 0 }}|0|{{#pos:{{#af_get: {{{Section}}} | 0 }}|::}}}} | Middle| {{#switch: {{#af_get: {{{Section}}} | 1 }}
| 0 | 1 | 2 | 3 | 4 | 5 | 6 | 8 | 9 = {{Template:DisplaySpell|{{{Section}}}}}
| #default = {{Template:DisplaySection|{{{Section}}}}}}} |}}
  }}
}}
</div>
<div class="column">
<!-- Display all spells/sections for the RIGHTcolumn -->
{{#if:{{{GenericSectionsPage4|}}}|
  {{#af_foreach:{{{GenericSectionsPage4}}}| |Section|{{#ifeq: {{#sub:{{#af_get: {{{Section}}} | 0 }}|0|{{#pos:{{#af_get: {{{Section}}} | 0 }}|::}}}} | Right| {{#switch: {{#af_get: {{{Section}}} | 1 }}
| 0 | 1 | 2 | 3 | 4 | 5 | 6 | 8 | 9 = {{Template:DisplaySpell|{{{Section}}}}}
| #default = {{Template:DisplaySection|{{{Section}}}}}}} |}}
  }}
}}
</div>
</div>
</center>
</center>
<div class="background">
<div class="background">

Latest revision as of 16:15, 6 July 2025