Template:CharacterSheet: Difference between revisions

From The Orc War
No edit summary
No edit summary
 
(179 intermediate revisions by the same user not shown)
Line 1: Line 1:
__NOTOC__  
__NOTOC__  
<includeonly>
<includeonly>
{{#vardefine:level|{{{Level}}}}}
{{#vardefine:strBonus|{{#expr:floor(({{{Str|0}}}-10)/2)}}}}
{{#vardefine:conBonus|{{#expr:floor(({{{Con|0}}}-10)/2)}}}}
{{#vardefine:dexBonus|{{#expr:floor(({{{Dex|0}}}-10)/2)}}}}
{{#vardefine:wisBonus|{{#expr:floor(({{{Wis|0}}}-10)/2)}}}}
{{#vardefine:intBonus|{{#expr:floor(({{{Int|0}}}-10)/2)}}}}
{{#vardefine:chaBonus|{{#expr:floor(({{{Cha|0}}}-10)/2)}}}}
{{DISPLAYTITLE:{{{Name}}}}}
{{DISPLAYTITLE:{{{Name}}}}}
[[Category:Player Characters]]
[[Category:Player Characters]]
<center><div class="container">
<center><div class="container">
<div class="column">     
<div class="column">     
 
<!-- CHARACTER--> 
<div class="displaysection">
<div class="displaysection">
  {|class="rpgtable character"
  {|class="rpgtable character"
Line 12: Line 19:
| Name
| Name
| colspan="2" | {{{Name}}}  
| colspan="2" | {{{Name}}}  
| rowspan="4" style="width: 50px; text-align: center;" | <div class="levelIcon">{{{Level}}}</div>Level
| rowspan="4" style="width: 50px; font-size: 11px; text-align: center;" | <div class="levelIcon">{{#var:level}}</div>'''LEVEL'''
|-  
|-  
| Player
| Player
Line 27: Line 34:
     |}  
     |}  
</div>
</div>
 
<!-- ONE UNIQUE THING-->   
<!-- CHARACTER -->   
<div class="displaysection">
<div class="leftcolumn wider">
  {|class="rpgtable oneuniquething"
  {|class="rpgtable character"
! One Unique Thing
! colspan="4" | CHARACTER
|-  
|-
|{{{OneUniqueThing|''to be determined''}}}
| Name
| colspan="3" | {{{Name}}}
|-
| Player
| colspan="3" | {{{Player}}}
|-
    | Class
    | colspan="3" | {{{Class}}}
    |-
    | Kin
    | colspan="3" | {{{Kin}}}
|-
    | Description
    | colspan="3" | {{{Description}}}
    |}
</div>
<div class="rightcolumn smaller">
{|class="rpgtable level"
! LEVEL
|-
| <div id="base">{{{Level}}}</div>
|-
    | XP: {{{Xp|...}}}
    |}
</div>
<!-- STATS --> 
<div class="statsdiv">
  <div class="firstcolumn"> 
    {| class="rpgtable stats"
! colspan="4" | STRENGTH
    {{Template:StatRow|Stat={{{Str|0}}}}}
|}
    {| class="rpgtable stats"
! colspan="4" | WISDOM
    {{Template:StatRow|Stat={{{Wis|0}}}}}
|}
  </div>
  <div class="secondcolumn"> 
    {| class="rpgtable stats"
! colspan="4" | DEXTERITY
|- | class="big"
    {{Template:StatRow|Stat={{{Dex|0}}}}}
|}
    {| class="rpgtable stats"
! colspan="4" | INTELLIGENCE
    {{Template:StatRow|Stat={{{Int|0}}}}}
|}
  </div>
  <div class="thirdcolumn"> 
{| class="rpgtable stats"
! colspan="4" | CONSTITUTION
    {{Template:StatRow|Stat={{{Con|0}}}}}
|}
|}
{| class="rpgtable stats"
! colspan="4" | CHARISMA
    {{Template:StatRow|Stat={{{Cha|0}}}}}
|}
  </div>
</div>
</div>
<!-- BACKGROUNDS -->
<div class="displaysection">
{| class="rpgtable background"
  ! BACKGROUNDS
  ! BONUS
  |-
  | {{{background1|}}}
  | +{{{background1Bonus|}}}{{#if:{{{background2|}}}|<tr><td>{{{background2|}}}</td><td>+{{{background2Bonus|}}}</td></tr>}}{{#if:{{{background3|}}}|<tr><td>{{{background3|}}}</td><td>+{{{background3Bonus|}}}</td></tr>}}{{#if:{{{background4|}}}|<tr><td>{{{background4|}}}</td><td>+{{{background4Bonus|}}}</td></tr>}}{{#if:{{{background5|}}}|<tr><td>{{{background5|}}}</td><td>+{{{background5Bonus|}}}</td></tr>}}
  |-
  | colspan="2" class="smallfont" style="text-align:center;" | ''Skill Check = {{#var:level}} + Ability Modifier + Background''
|}
</div>
<!-- ICON RELATIONSHIPS -->
<div class="displaysection">
{| class="rpgtable icons"
  ! ICON RELATIONSHIPS
  ! TYPE
  ! GAINED
  ! USED
  |-
  | {{{icon1|}}}
  | {{{icon1Type|}}}
  | {{Template:Circles|Circles={{{icon1Points|}}}|small=small|FilledCircles={{{icon1Rolled|}}}|PermanentCircles=0|Break=&nbsp;}}
  | {{Template:Circles|Circles={{{icon1Points|}}}|small=small|FilledCircles={{{icon1Used|}}}|PermanentCircles=0|Break=&nbsp;}}{{#if:{{{icon2|}}}|<tr><td>{{{icon2|}}}</td><td>{{{icon2Type|}}}</td><td>{{Template:Circles|Circles={{{icon2Points|}}}|small=small|FilledCircles={{{icon2Rolled|}}}|PermanentCircles=0|Break=&nbsp;}}</td><td>{{Template:Circles|Circles={{{icon2Points|}}}|small=small|FilledCircles={{{icon2Used|}}}|PermanentCircles=0|Break=&nbsp;}}</td></tr>}}{{#if:{{{icon3|}}}|<tr><td>{{{icon3|}}}</td><td>{{{icon3Type|}}}</td><td>{{Template:Circles|Circles={{{icon3Points|}}}|small=small|FilledCircles={{{icon3Rolled|}}}|PermanentCircles=0|Break=&nbsp;}}</td><td>{{Template:Circles|Circles={{{icon3Points|}}}|small=small|FilledCircles={{{icon3Used|}}}|PermanentCircles=0|Break=&nbsp;}}</td></tr>}}
|}
</div>
<div style="clear:both;"></div>
<div style="clear:both;"></div>
{{#if:{{{GenericSections|}}}|{{#af_foreach:{{{GenericSections}}}| |Section|{{#ifeq: {{#sub:{{#af_get: {{{Section}}} | 0 }}|0|{{#pos:{{#af_get: {{{Section}}} | 0 }}|::}}}} | Left | {{Template:DisplaySection|{{{Section}}}}} |}}}}}}
<!-- GENERIC LEFT --> 
{{#if:{{{GenericSections|}}}|
  {{#af_foreach:{{{GenericSections}}}| |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>
<div class="column">
<div class="column">
<!-- AC-->
<!-- ABILITIES -->
<div class="leftcolumn">  
<div class="statsdiv">
{| class="rpgtable armorclass"
{|class="rpgtable stats"
! colspan="4" |ARMOR CLASS
! colspan="6" | ABILITY SCORES
|- class="big"
|-
     | <div class="armorClass">{{#expr:{{{ArmorClass|0}}} + {{{UsesShield|0}}}*2 }}</div><div class="armorClassShield">Shield: {{Template:Circles|Circles=1|small=small|FilledCircles={{{UsesShield|0}}}|PermanentCircles=0}}</div>
     | {{Template:StatRow|Stat={{{Str|0}}}}}
    |}
| {{Template:StatRow|Stat={{{Dex|0}}}}}
{| class="rpgtable deathsaves"
| {{Template:StatRow|Stat={{{Con|0}}}}}
    ! colspan="4" |DEATH SAVES
|-
    |-
| '''STRENGTH'''
    | colspan="2"| Successes
| '''DEXTERITY'''
    | colspan="2"| {{Template:Circles|Circles=3|FilledCircles={{{DeathSaveSuccesses|0}}}|PermanentCircles=0|Break=&nbsp;}}
| '''CONSTITUTION'''
    |-  
|-
    | colspan="2"|Failures
     | {{Template:StatRow|Stat={{{Wis|0}}}}}
     | colspan="2"| {{Template:Circles|Circles=3|FilledCircles={{{DeathSaveFailures|0}}}|PermanentCircles=0|Break=&nbsp;}}
| {{Template:StatRow|Stat={{{Int|0}}}}}
  |}
| {{Template:StatRow|Stat={{{Cha|0}}}}}
<div class="leftcolumn"> 
|-
    {| class="rpgtable box"
| '''WISDOM'''
! colspan="4" |INITIATIVE
| '''INTELLIGENCE'''
|- class="big"
| '''CHARISMA'''
    | {{#ifexpr:floor(({{{Dex|0}}}-10)/2) + {{{InitiativeProf|0}}}*(2+floor(({{{Level|0}}}-1)/4))>0|+|}}{{#expr:floor(floor(({{{Dex|0}}}-10)/2) + {{{InitiativeProf|0}}}*(2+floor(({{{Level|0}}}-1)/4)))}}
     |}
     |}
</div>
</div>
<div class="rightcolumn">
 
{| class="rpgtable box"
<!-- Defenses & Initiative -->
! colspan="4" |PASSIVE P.
<div class="displaysection">
|- class="big"
    {| class="rpgtable armorclass"
    | {{#expr:10+floor(({{{Wis|0}}}-10)/2) + floor({{{Perception|0}}}*(2+floor(({{{Level|0}}}-1)/4)))}}
! colspan="3" |Defenses & Initiative
    |}
</div>
</div>
<div class="rightcolumn">
{| class="rpgtable hitpoints"
! colspan="2" |HIT POINTS
|-  
|-  
     | Max
     | <div class="pd">{{#expr:{{{PhysicalDefenseBase|0}}}+{{#var:level}}+{{{PhysicalDefenseSpecialBonus|0}}}+{{#ifexpr:{{#var:strBonus}} > {{#var:dexBonus}} and {{#var:strBonus}} < {{#var:conBonus}} or {{#var:strBonus}} < {{#var:dexBonus}} and {{#var:strBonus}} > {{#var:conBonus}} | {{#var:strBonus}} | {{#ifexpr:{{#var:dexBonus}} > {{#var:strBonus}} and {{#var:dexBonus}} < {{#var:conBonus}} or {{#var:dexBonus}} < {{#var:strBonus}} and {{#var:dexBonus}} > {{#var:conBonus}} | {{#var:dexBonus}} | {{#var:conBonus}} }}}}}}</div>'''PHYSICAL'''<br>'''DEFENSE'''
| {{#ifexpr:{{{MaxHp|0}}}=0|{{#expr: ({{{HitDie|1}}} + floor(({{{Con|0}}}-10)/2)) + (({{{Level|0}}}-1) * (floor({{{HitDie|1}}}/2+1) + floor(({{{Con|0}}}-10)/2)) ) }}|{{{MaxHp|0}}}}}
| <div class="ac">{{#expr:{{{ArmorClassBase|0}}}+{{#var:level}}+{{{ArmorClassSpecialBonus|0}}}+{{#ifexpr:{{#var:wisBonus}} > {{#var:dexBonus}} and {{#var:wisBonus}} < {{#var:conBonus}} or {{#var:wisBonus}} < {{#var:dexBonus}} and {{#var:wisBonus}} > {{#var:conBonus}} | {{#var:wisBonus}} | {{#ifexpr:{{#var:dexBonus}} > {{#var:wisBonus}} and {{#var:dexBonus}} < {{#var:conBonus}} or {{#var:dexBonus}} < {{#var:wisBonus}} and {{#var:dexBonus}} > {{#var:conBonus}} | {{#var:dexBonus}} | {{#var:conBonus}} }}}}}}</div>'''ARMOR CLASS'''<br><div class="init">+{{#expr:{{#var:dexBonus}}+{{#var:level}}+{{{InitiativeSpecialBonus|0}}}}}</div>'''INITIATIVE'''
|-
    | <div class="md">{{#expr:{{{MentalDefenseBase|0}}}+{{#var:level}}+{{{MentalDefenseSpecialBonus|0}}}+{{#ifexpr:{{#var:wisBonus}} > {{#var:intBonus}} and {{#var:wisBonus}} < {{#var:chaBonus}} or {{#var:wisBonus}} < {{#var:intBonus}} and {{#var:wisBonus}} > {{#var:chaBonus}} | {{#var:wisBonus}} | {{#ifexpr:{{#var:intBonus}} > {{#var:wisBonus}} and {{#var:intBonus}} < {{#var:chaBonus}} or {{#var:intBonus}} < {{#var:wisBonus}} and {{#var:intBonus}} > {{#var:chaBonus}} | {{#var:intBonus}} | {{#var:chaBonus}} }}}}}}</div>'''MENTAL'''<br>'''DEFENSE'''
    | Current
| {{{CurrentHp|}}}
|-
    | Temp
| {{{TempHp|}}}
    |}  
{| class="rpgtable hitdice"
! colspan="4" |HIT DICE
|-
    | {{#if:{{{HitDie|}}}|d{{{HitDie|}}}:|d{{{HitDie1|}}}:<br>d{{{HitDie2|}}}:}}
| colspan="3" | {{#if:{{{HitDie|}}}|{{Template:Circles|Circles={{{Level|0}}}|FilledCircles={{{HitDiceSpend|0}}}|PermanentCircles=0|Break=&nbsp;}}|{{Template:Circles|Circles={{{HitDieCount1|0}}}|FilledCircles={{{HitDiceSpend1|0}}}|PermanentCircles=0|Break=&nbsp;}}<br>{{Template:Circles|Circles={{{HitDieCount2|0}}}|FilledCircles={{{HitDiceSpend2|0}}}|PermanentCircles=0|Break=&nbsp;}}}}
    |}
<div class="leftcolumn">
{| class="rpgtable box"
! colspan="4" |SPEED
|- class="big"
    | {{{Speed|0}}}
    |}  
</div>
<div class="rightcolumn">
{| class="rpgtable box"
! colspan="4" |SIZE
|- class="big smallerfont" 
    | {{{Size|0}}}
     |}
     |}
</div>
</div>
</div>
 
<!-- WEAPONS-->
<!-- WEAPONS-->
<div style="clear:both;"></div>
<div style="clear:both;"></div>
<div class="weapons displaysection">
<div class="weapons displaysection">
{| class="rpgtable""
{| class="rpgtable""
! WEAPONS/CANTRIPS
! WEAPON
! ATT/DC
! ATTACK
! DMG/TYPE
! HIT DAMAGE
! MISS
|- class="weapon" |
|- class="weapon" |
| {{{Weapon1|&nbsp;}}}
| {{{BasicMeleeAttackWeapon|&nbsp;}}}
| {{#if:{{{Weapon1AttackOrDC|}}}|{{#ifeq: {{{Weapon1AttackOrDC}}} | DC | DC: {{#expr: 8 + floor(({{{{{{Weapon1Ability}}}}}}-10)/2) + 2+floor(({{{Level|0}}}-1)/4)+{{{Weapon1MagicItemBonus}}}}} | +{{#expr:floor(floor(({{{{{{Weapon1Ability}}}}}}-10)/2) + (2+floor(({{{Level|0}}}-1)/4)))+{{{Weapon1MagicItemBonus|0}}}+{{{Weapon1AttackRollBonus|0}}}}} }} }}
| +{{#expr:{{#var:{{{BasicMeleeAttackAbility}}}Bonus}}+{{{BasicMeleeAttackMagicBon|0}}}+{{#var:level}}}}  
    | {{{Weapon1Dmg|}}}{{#ifexpr: {{{Weapon1DmgAddAbility|0}}}=0 and {{{Weapon1MagicItemBonus|0}}}=0| | +{{#expr: {{#ifexpr: {{{Weapon1DmgAddAbility|0}}}=1 | floor(({{{{{{Weapon1Ability}}}}}}-10)/2) | 0 }}+{{{Weapon1MagicItemBonus|0}}}}} }} {{{Weapon1DmgType|}}} {{{Weapon1MagicDmg|}}}  
| {{#var:level}}{{{BasicMeleeAttackWeaponDie|0}}}+{{#expr:{{#var:{{{BasicMeleeAttackAbility}}}Bonus}}+{{{BasicMeleeAttackMagicBon|0}}}}} <span class="smallfont">''(avg {{#expr:ceil((({{#replace:{{{BasicMeleeAttackWeaponDie|0}}}|d|}}+1)/2) * {{#var:level}} + {{#expr:{{#var:{{{BasicMeleeAttackAbility}}}Bonus}}+{{{BasicMeleeAttackMagicBon|0}}}}})}})''</span>
    {{#ifeq: {{{Weapon1Notes}}} | | | <tr class="notes"><td class="special" colspan="3">{{{Weapon1Notes|&nbsp;}}}</td></tr>}}  
| {{#ifexpr: {{{BasicMeleeAttackMiss|0}}}>0|{{#var:level}}|0}}
{{#ifeq: {{{BasicMeleeAttackSpecial}}} | | | <tr class="notes"><td class="special" colspan="4">{{{BasicMeleeAttackSpecial|&nbsp;}}}</td></tr>}}
|- class="weapon" |
|- class="weapon" |
| {{{Weapon2|&nbsp;}}}
| {{{BasicRangedAttackWeapon|&nbsp;}}}
| {{#if:{{{Weapon2AttackOrDC|}}}|{{#ifeq: {{{Weapon2AttackOrDC}}} | DC | DC: {{#expr: 8 + floor(({{{{{{Weapon2Ability}}}}}}-10)/2) + 2+floor(({{{Level|0}}}-1)/4)+{{{Weapon2MagicItemBonus}}}}} | +{{#expr:floor(floor(({{{{{{Weapon2Ability}}}}}}-10)/2) + (2+floor(({{{Level|0}}}-1)/4)))+{{{Weapon2MagicItemBonus|0}}}}} }} }}
| +{{#expr:{{#var:{{{BasicRangedAttackAbility}}}Bonus}}+{{{BasicRangedAttackMagicBon|0}}}+{{#var:level}}}}  
    | {{{Weapon2Dmg|}}}{{#ifexpr: {{{Weapon2DmgAddAbility|0}}}=0 and {{{Weapon2MagicItemBonus|0}}}=0| | +{{#expr: {{#ifexpr: {{{Weapon2DmgAddAbility|0}}}=1 | floor(({{{{{{Weapon2Ability}}}}}}-10)/2) | 0 }}+{{{Weapon2MagicItemBonus|0}}}}} }}  {{{Weapon2DmgType|}}}{{{Weapon2MagicDmg|}}}
| {{#var:level}}{{{BasicRangedAttackWeaponDie|0}}}+{{#expr:{{#var:{{{BasicRangedAttackAbility}}}Bonus}}+{{{BasicRangedAttackMagicBon|0}}}}} <span class="smallfont">''(avg {{#expr:ceil((({{#replace:{{{BasicRangedAttackWeaponDie|0}}}|d|}}+1)/2) * {{#var:level}} + {{#expr:{{#var:{{{BasicRangedAttackAbility}}}Bonus}}+{{{BasicRangedAttackMagicBon|0}}}}})}})''</span>
    {{#ifeq: {{{Weapon2Notes}}} | | | <tr class="notes"><td class="special" colspan="3">{{{Weapon2Notes|&nbsp;}}}</td></tr>}}
| {{#ifexpr: {{{BasicRangedAttackMiss|0}}}>0|{{#var:level}}|0}}
{{#if:{{{Weapon3|}}} |
{{#ifeq: {{{BasicRangedAttackSpecial}}} | | | <tr class="notes"><td class="special" colspan="4">{{{BasicRangedAttackSpecial|&nbsp;}}}</td></tr>}}  
{{!}}- class="weapon" {{!}}
</div>
{{!}} {{{Weapon3|&nbsp;}}}
{{!}} {{#if:{{{Weapon3AttackOrDC|}}}|{{#ifeq: {{{Weapon3AttackOrDC}}} | DC | DC: {{#expr: 8 + floor(({{{{{{Weapon3Ability}}}}}}-10)/2) + 2+floor(({{{Level|0}}}-1)/4)+{{{Weapon3MagicItemBonus}}}}} | +{{#expr:floor(floor(({{{{{{Weapon3Ability}}}}}}-10)/2) + (2+floor(({{{Level|0}}}-1)/4)))+{{{Weapon3MagicItemBonus|0}}}}} }} }}
    {{!}} {{{Weapon3Dmg|}}}{{#ifexpr: {{{Weapon3DmgAddAbility|0}}}=0 and {{{Weapon3MagicItemBonus|0}}}=0| | +{{#expr: {{#ifexpr: {{{Weapon3DmgAddAbility|0}}}=1 | floor(({{{{{{Weapon3Ability}}}}}}-10)/2) | 0 }}+{{{Weapon3MagicItemBonus|0}}}}} }} {{{Weapon3DmgType|}}} {{{Weapon3MagicDmg|}}}
|}}{{#ifeq: {{{Weapon3Notes}}} | | | <tr class="notes"><td class="special" colspan="3">{{{Weapon3Notes|&nbsp;}}}</td></tr>}}
{{#if:{{{Weapon4|}}} |
    {{!}}- class="weapon" {{!}}
{{!}} {{{Weapon4|&nbsp;}}}
{{!}} {{#if:{{{Weapon4AttackOrDC|}}}|{{#ifeq: {{{Weapon4AttackOrDC}}} | DC | DC: {{#expr: 8 + floor(({{{{{{Weapon4Ability}}}}}}-10)/2) + 2+floor(({{{Level|0}}}-1)/4)+{{{Weapon4MagicItemBonus}}}}} | +{{#expr:floor(floor(({{{{{{Weapon4Ability}}}}}}-10)/2) + (2+floor(({{{Level|0}}}-1)/4)))+{{{Weapon4MagicItemBonus|0}}}}} }}}}
    {{!}} {{{Weapon4Dmg|}}}{{#ifexpr: {{{Weapon4DmgAddAbility|0}}}=0 and {{{Weapon4MagicItemBonus|0}}}=0| | +{{#expr: {{#ifexpr: {{{Weapon4DmgAddAbility|0}}}=1 | floor(({{{{{{Weapon4Ability}}}}}}-10)/2) | 0 }}+{{{Weapon4MagicItemBonus|0}}}}} }}  {{{Weapon4DmgType|}}}{{{Weapon4MagicDmg|}}}
|}}{{#ifeq: {{{Weapon4Notes}}} | | |<tr class="notes"><td class="special" colspan="3">{{{Weapon4Notes|&nbsp;}}}</td></tr>}}
|}</div>
 
{{#if:{{{GenericSections|}}}|
{{#if:{{{GenericSections|}}}|
   {{#af_foreach:{{{GenericSections}}}| |Section|{{#ifeq: {{#sub:{{#af_get: {{{Section}}} | 0 }}|0|{{#pos:{{#af_get: {{{Section}}} | 0 }}|::}}}} | Middle | {{Template:DisplaySection|{{{Section}}}}} |}}}}
   {{#af_foreach:{{{GenericSections}}}| |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>
<div class="column">
<div class="column">
Line 205: Line 149:
| <div class="portrait">{{#if: {{{Image|}}} | [[File:{{{Image}}}]] | {{{ImageCrop|}}} }}</div>
| <div class="portrait">{{#if: {{{Image|}}} | [[File:{{{Image}}}]] | {{{ImageCrop|}}} }}</div>
|}
|}
</div>
<!-- Hitpoints & Recoveries -->
<div class="displaysection">
    {| class="rpgtable hitpoints"
! colspan="6" |Hitpoints & Recoveries
|-
| <div class="staggered">{{#expr:floor((({{{BaseClassHp|0}}}+{{#var:conBonus}})*(2+{{#var:level}}))/2)}}</div>'''STAGG.'''
    | <div class="maxhp">{{#expr: ({{{BaseClassHp|0}}}+{{#var:conBonus}})*(2+{{#var:level}})}}</div>'''MAX HP'''
| <div class="dead">-{{#expr:floor((({{{BaseClassHp|0}}}+{{#var:conBonus}})*(2+{{#var:level}}))/2)}}</div>'''DEAD'''
    | colspan="3" style="width:50%;"|<div class="recoverySquares">{{Template:Circles|Circles=3|small=square|FilledCircles={{{SpendRecoveries|0}}}|PermanentCircles=0|Break=&nbsp;}}<br>{{Template:Circles|Circles=3|small=square|FilledCircles={{#expr:{{{SpendRecoveries|0}}}-3}}|PermanentCircles=0|Break=&nbsp;}}<br>{{Template:Circles|Circles={{#expr:{{{MaxRecoveries|0}}}-6}}|small=square|FilledCircles={{#expr:{{{SpendRecoveries|0}}}-6}}|PermanentCircles=0|Break=&nbsp;}}</div>'''RECOVERIES'''
|-
    | colspan="3" | <div class="currenthp">CURRENT HP<br>{{{CurrentHp|}}}</div>
    | colspan="3" |  <div class="recoveryDiesAverage">{{#expr:ceil((({{#replace:{{{RecoveryDie|0}}}|d|}}+1)/2) * {{#var:level}} + {{#var:conBonus}})}}<br>AVG</div><div class="recoveryDies">{{#var:level}}{{{RecoveryDie|0}}}+{{#var:conBonus}}</div>'''RECOVERY DICE'''
|-
| colspan="3" | <div class="temphp">TEMP HP<br>{{{TempHp|}}}</div>
| colspan="3" | <span class="skull {{#ifexpr:{{{Skulls|0}}}>0|active}}">💀</span><span class="skull {{#ifexpr:{{{Skulls|0}}}>1|active}}">💀</span><span class="skull {{#ifexpr:{{{Skulls|0}}}>2|active}}">💀</span><span class="skull {{#ifexpr:{{{Skulls|0}}}>3|active}}">💀</span><span class="skull large {{#ifexpr:{{{Skulls|0}}}>4|active}}">💀</span>
|}
</div>
</div>
<!-- CONDITIONS -->
<div class="displaysection">
{| class="rpgtable background"
  ! CONDITION / EFFECT / ONGOING DMG
  ! SAVE
  |-
  | {{{condition1|}}}
  | {{{condition1Save|}}}
  |-
  | {{{condition2|}}}
  | {{{condition2Save|}}}
  |-
  | {{{condition3|}}}
  | {{{condition3Save|}}}
  |-
  | {{{condition4|}}}
  | {{{condition4Save|}}}
  |-
  | {{{condition5|}}}
  | {{{condition5Save|}}} 
|}
</div>


{{#if:{{{GenericSections|}}}|
{{#if:{{{GenericSections|}}}|
   {{#af_foreach:{{{GenericSections}}}| |Section|{{#ifeq: {{#sub:{{#af_get: {{{Section}}} | 0 }}|0|{{#pos:{{#af_get: {{{Section}}} | 0 }}|::}}}} | Right| {{Template:DisplaySection|{{{Section}}}}} |}}}}
   {{#af_foreach:{{{GenericSections}}}| |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>
</div>
</div>
<div class="container" {{#ifexpr: {{{showPage2|0}}}=0|style="display:none;"}}>
<div class="container" {{#ifexpr: {{{showPage2|0}}}=0|style="display:none;"}}>
<div class="column">  
<div class="column">  
<div class="leftcolumn" {{#ifexpr: {{{Spellcaster|0}}}=0|style="display:none;"}}> 
{| class="rpgtable box"
! colspan="4" |SPELLCAST. ABILITY
|- class="big"
    | {{{SpellcastingAbility}}}
    |}
    {| class="rpgtable box"
! colspan="4" |SPELLCAST. MODIFIER
|- class="big"
    | {{#ifexpr:{{{{{{SpellcastingAbility}}}}}}>11|+|}}{{#expr:floor(({{{{{{SpellcastingAbility}}}}}}-10)/2)}}
    |}
</div>
<div class="rightcolumn" {{#ifexpr: {{{Spellcaster|0}}}=0|style="display:none;"}}> 
{| class="rpgtable box"
! colspan="4" |SPELL SAVE DC
|- class="big"
    | {{#expr: 8 + floor(({{{{{{SpellcastingAbility}}}}}}-10)/2) + 2+floor(({{{Level|0}}}-1)/4)}}
    |}
    {| class="rpgtable box"
! colspan="4" |SPELL ATTACK BONUS
|- class="big"
    | +{{#expr: floor(({{{{{{SpellcastingAbility}}}}}}-10)/2) + 2+floor(({{{Level|0}}}-1)/4)}}
    |}
</div>
<div style="clear:both;"></div>
<div {{#ifexpr: {{{Spellcaster|0}}}=0|style="display:none;"}} class="displaysection">
{|class="rpgtable spellslots"
! colspan="6" | SPELL SLOTS
|-
| Lvl 1:
| {{Template:Circles|Circles={{#af_get: {{{SpellSlots}}} | 0 }}|small=small|FilledCircles={{#af_get: {{{SpellSlotsUsed}}} | 0 }}|PermanentCircles=0|Break=}}
| {{#ifexpr: {{#af_get: {{{SpellSlots}}} | 3 }}=0| class="disabled"{{!}}}} Lvl 4:
| {{Template:Circles|Circles={{#af_get: {{{SpellSlots}}} | 3 }}|small=small|FilledCircles={{#af_get: {{{SpellSlotsUsed}}} | 3 }}|PermanentCircles=0|Break=}}
| {{#ifexpr: {{#af_get: {{{SpellSlots}}} | 6 }}=0| class="disabled"{{!}}}} Lvl 7:
| {{Template:Circles|Circles={{#af_get: {{{SpellSlots}}} | 6 }}|small=small|FilledCircles={{#af_get: {{{SpellSlotsUsed}}} | 6 }}|PermanentCircles=0|Break=}}
|-
| {{#ifexpr: {{#af_get: {{{SpellSlots}}} | 1 }}=0| class="disabled"{{!}}}} Lvl 2:
| {{Template:Circles|Circles={{#af_get: {{{SpellSlots}}} | 1 }}|small=small|FilledCircles={{#af_get: {{{SpellSlotsUsed}}} | 1 }}|PermanentCircles=0|Break=}}
| {{#ifexpr: {{#af_get: {{{SpellSlots}}} | 4 }}=0| class="disabled"{{!}}}} Lvl 5:
| {{Template:Circles|Circles={{#af_get: {{{SpellSlots}}} | 4 }}|small=small|FilledCircles={{#af_get: {{{SpellSlotsUsed}}} | 4 }}|PermanentCircles=0|Break=}}
| {{#ifexpr: {{#af_get: {{{SpellSlots}}} | 7 }}=0| class="disabled"{{!}}}} Lvl 8:
| {{Template:Circles|Circles={{#af_get: {{{SpellSlots}}} | 7 }}|small=small|FilledCircles={{#af_get: {{{SpellSlotsUsed}}} | 7 }}|PermanentCircles=0|Break=}}
|-
| {{#ifexpr: {{#af_get: {{{SpellSlots}}} | 2 }}=0| class="disabled"{{!}}}} Lvl 3:
| {{Template:Circles|Circles={{#af_get: {{{SpellSlots}}} | 2 }}|small=small|FilledCircles={{#af_get: {{{SpellSlotsUsed}}} | 2 }}|PermanentCircles=0|Break=}}
| {{#ifexpr: {{#af_get: {{{SpellSlots}}} | 5 }}=0| class="disabled"{{!}}}} Lvl 6:
| {{Template:Circles|Circles={{#af_get: {{{SpellSlots}}} | 5 }}|small=small|FilledCircles={{#af_get: {{{SpellSlotsUsed}}} | 5 }}|PermanentCircles=0|Break=}}
| {{#ifexpr: {{#af_get: {{{SpellSlots}}} | 8 }}=0| class="disabled"{{!}}}} Lvl 9:
| {{Template:Circles|Circles={{#af_get: {{{SpellSlots}}} | 8 }}|small=small|FilledCircles={{#af_get: {{{SpellSlotsUsed}}} | 8 }}|PermanentCircles=0|Break=}}
|}
</div>
<!-- Display all spells/sections  for the LEFT column -->
<!-- Display all spells/sections  for the LEFT column -->
{{#if:{{{GenericSectionsPage2|}}}|
{{#if:{{{GenericSectionsPage2|}}}|

Latest revision as of 09:33, 1 September 2025