Template:CharacterSheet: Difference between revisions

From The Wild Beyond the Witchlight
No edit summary
No edit summary
Tag: Manual revert
 
(51 intermediate revisions by the same user not shown)
Line 113: Line 113:
   </div>
   </div>
</div>
</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}}}}} |}}}}}}
{{#if:{{{GenericSections|}}}|{{#af_foreach:{{{GenericSections}}}| |Section|{{#ifeq: {{#sub:{{#af_get: {{{Section}}} | 0 }}|0|{{#pos:{{#af_get: {{{Section}}} | 0 }}|::}}}} | Left | {{Template:DisplaySection|{{{Section}}}}} |}}}}}}
</div>
</div>
Line 132: Line 133:
     | colspan="2"| {{Template:Circles|Circles=3|FilledCircles={{{DeathSaveFailures|0}}}|PermanentCircles=0|Break=&nbsp;}}
     | colspan="2"| {{Template:Circles|Circles=3|FilledCircles={{{DeathSaveFailures|0}}}|PermanentCircles=0|Break=&nbsp;}}
   |}
   |}
<div class="leftcolumn"> 
     {| class="rpgtable box"
     {| class="rpgtable box"
! colspan="4" |INITIATIVE
! colspan="4" |INITIATIVE
Line 137: Line 139:
     | {{#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)))}}
     | {{#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 class="rightcolumn">
{| class="rpgtable box"
{| class="rpgtable box"
! colspan="4" |SIZE
! colspan="4" |PASSIVE P.
|- class="big smallerfont"
|- class="big"  
     | {{{Size|0}}}
     | {{#expr:10+floor(({{{Wis|0}}}-10)/2) + {{{Perception|0}}}*(2+floor(({{{Level|0}}}-1)/4))}}
     |}
     |}
</div>
</div>
</div>
<div class="rightcolumn">   
<div class="rightcolumn">   
Line 159: Line 164:
! colspan="4" |HIT DICE
! colspan="4" |HIT DICE
|-  
|-  
     | Max
     | {{#if:{{{HitDie|}}}|d{{{HitDie|}}}:|d{{{HitDie1|}}}:<br>d{{{HitDie2|}}}:}}
| '''{{#if:{{{MultiHitDie|}}}|{{{MultiHitDie|}}}|{{{Level|0}}}d{{{HitDie|1}}}}}'''
| 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;}}}}
    | Spent
| {{{HitDiceSpend|}}}
     |}   
     |}   
<div class="leftcolumn">
{| class="rpgtable box"
{| class="rpgtable box"
! colspan="4" |SPEED
! colspan="4" |SPEED
Line 169: Line 173:
     | {{{Speed|0}}}
     | {{{Speed|0}}}
     |}  
     |}  
</div>
<div class="rightcolumn">
{| class="rpgtable box"
{| class="rpgtable box"
! colspan="4" |PASSIVE PERCEPTION
! colspan="4" |SIZE
|- class="big"  
|- class="big smallerfont"
     | {{#expr:10+floor(({{{Wis|0}}}-10)/2) + {{{Perception|0}}}*(2+floor(({{{Level|0}}}-1)/4))}}
     | {{{Size|0}}}
     |}
     |}
</div>
</div>
</div>
<!-- WEAPONS-->
<!-- WEAPONS-->
<div style="clear:both;"></div>
<div class="weapons displaysection">
<div class="weapons displaysection">
{| class="rpgtable""
{| class="rpgtable""
Line 191: Line 199:
     | {{{Weapon2Dmg|}}}{{#ifexpr: {{{Weapon2DmgAddAbility|0}}}=0 and {{{Weapon2MagicItemBonus|0}}}=0| | +{{#expr: {{#ifexpr: {{{Weapon2DmgAddAbility|0}}}=1 | floor(({{{{{{Weapon2Ability}}}}}}-10)/2) | 0 }}+{{{Weapon2MagicItemBonus|0}}}}} }}  {{{Weapon2DmgType|}}}{{{Weapon2MagicDmg|}}}
     | {{{Weapon2Dmg|}}}{{#ifexpr: {{{Weapon2DmgAddAbility|0}}}=0 and {{{Weapon2MagicItemBonus|0}}}=0| | +{{#expr: {{#ifexpr: {{{Weapon2DmgAddAbility|0}}}=1 | floor(({{{{{{Weapon2Ability}}}}}}-10)/2) | 0 }}+{{{Weapon2MagicItemBonus|0}}}}} }}  {{{Weapon2DmgType|}}}{{{Weapon2MagicDmg|}}}
     {{#ifeq: {{{Weapon2Notes}}} | | | <tr class="notes"><td class="special" colspan="3">{{{Weapon2Notes|&nbsp;}}}</td></tr>}}  
     {{#ifeq: {{{Weapon2Notes}}} | | | <tr class="notes"><td class="special" colspan="3">{{{Weapon2Notes|&nbsp;}}}</td></tr>}}  
{{#if:{{{Weapon3|}}} |
{{#if:{{{Weapon3|}}} |
{{!}}- class="weapon" {{!}}
{{!}}- class="weapon" {{!}}
{{!}} {{{Weapon3|&nbsp;}}}
{{!}} {{{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}}}}} }} }}
{{!}} {{#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|}}}
     {{!}} {{{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>}}
|}}{{#ifeq: {{{Weapon3Notes}}} | | | <tr class="notes"><td class="special" colspan="3">{{{Weapon3Notes|&nbsp;}}}</td></tr>}}
|}}
{{#if:{{{Weapon4|}}} |
{{#if:{{{Weapon4|}}} |
     {{!}}- class="weapon" {{!}}
     {{!}}- class="weapon" {{!}}
{{!}} {{{Weapon4|&nbsp;}}}
{{!}} {{{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}}}}} }}
{{!}} {{#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|}}}
     {{!}} {{{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>}}
|}}{{#ifeq: {{{Weapon4Notes}}} | | |<tr class="notes"><td class="special" colspan="3">{{{Weapon4Notes|&nbsp;}}}</td></tr>}}
|}}
|}</div>
|}
</div>


{{#if:{{{GenericSections|}}}|
{{#if:{{{GenericSections|}}}|
Line 230: Line 234:
</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">  
Line 259: Line 262:
     |}
     |}
</div>
</div>
<div {{#ifexpr: {{{Spellcaster|0}}}=0|style="display:none;"}}>  
<div style="clear:both;"></div>
<div {{#ifexpr: {{{Spellcaster|0}}}=0|style="display:none;"}} class="displaysection">  
  {|class="rpgtable spellslots"
  {|class="rpgtable spellslots"
! colspan="6" | SPELL SLOTS
! colspan="6" | SPELL SLOTS
Line 314: Line 318:
</div>
</div>
</div>
</div>
<div class="container" {{#ifexpr: {{{showPage3|0}}}=0|style="display:none;"}}>
<div class="container" {{#ifexpr: {{{showPage3|0}}}=0|style="display:none;"}}>
<div class="column">  
<div class="column">  

Latest revision as of 09:07, 7 January 2025