Template:CharacterSheet: Difference between revisions

From The Wild Beyond the Witchlight
No edit summary
No edit summary
 
(35 intermediate revisions by the same user not shown)
Line 58: Line 58:
! colspan="4" | STRENGTH
! colspan="4" | STRENGTH
     {{Template:StatRow|Stat={{{Str|0}}}}}
     {{Template:StatRow|Stat={{{Str|0}}}}}
     {{Template:SkillRow|Level={{{Level|0}}}|Attr={{{Str|0}}}|Skill=Saving Throw|SkillProf={{{StrProf|0}}}}}
     {{Template:SkillRow|Level={{{Level|0}}}|Attr={{{Str|0}}}|Skill=Saving Throw|SkillProf={{{StrProf|0}}}|MagicBonus={{{STBonus|0}}}}}
     {{Template:SkillRow|Level={{{Level|0}}}|Attr={{{Str|0}}}|Skill=Athletics|SkillProf={{{Athletics|0}}}}}
     {{Template:SkillRow|Level={{{Level|0}}}|Attr={{{Str|0}}}|Skill=Athletics|SkillProf={{{Athletics|0}}}}}
|}
|}
Line 65: Line 65:
|- | class="big"
|- | class="big"
     {{Template:StatRow|Stat={{{Dex|0}}}}}
     {{Template:StatRow|Stat={{{Dex|0}}}}}
     {{Template:SkillRow|Level={{{Level|0}}}|Attr={{{Dex|0}}}|Skill=Saving Throw|SkillProf={{{DexProf|0}}}}}
     {{Template:SkillRow|Level={{{Level|0}}}|Attr={{{Dex|0}}}|Skill=Saving Throw|SkillProf={{{DexProf|0}}}|MagicBonus={{{STBonus|0}}}}}
{{Template:SkillRow|Level={{{Level|0}}}|Attr={{{Dex|0}}}|Skill=Acrobatics|SkillProf={{{Acrobatics|0}}}}}
{{Template:SkillRow|Level={{{Level|0}}}|Attr={{{Dex|0}}}|Skill=Acrobatics|SkillProf={{{Acrobatics|0}}}}}
{{Template:SkillRow|Level={{{Level|0}}}|Attr={{{Dex|0}}}|Skill=Sleight of Hand|SkillProf={{{SleightOfHand|0}}}}}
{{Template:SkillRow|Level={{{Level|0}}}|Attr={{{Dex|0}}}|Skill=Sleight of Hand|SkillProf={{{SleightOfHand|0}}}}}
Line 73: Line 73:
! colspan="4" | CONSTITUTION
! colspan="4" | CONSTITUTION
     {{Template:StatRow|Stat={{{Con|0}}}}}
     {{Template:StatRow|Stat={{{Con|0}}}}}
     {{Template:SkillRow|Level={{{Level|0}}}|Attr={{{Con|0}}}|Skill=Saving Throw|SkillProf={{{ConProf|0}}}}}
     {{Template:SkillRow|Level={{{Level|0}}}|Attr={{{Con|0}}}|Skill=Saving Throw|SkillProf={{{ConProf|0}}}|MagicBonus={{{STBonus|0}}}}}
|}
|}
   {| class="rpgtable stats heroic"
   {| class="rpgtable stats heroic"
Line 85: Line 85:
! colspan="4" | INTELLIGENCE
! colspan="4" | INTELLIGENCE
     {{Template:StatRow|Stat={{{Int|0}}}}}
     {{Template:StatRow|Stat={{{Int|0}}}}}
     {{Template:SkillRow|Level={{{Level|0}}}|Attr={{{Int|0}}}|Skill=Saving Throw|SkillProf={{{IntProf|0}}}}}
     {{Template:SkillRow|Level={{{Level|0}}}|Attr={{{Int|0}}}|Skill=Saving Throw|SkillProf={{{IntProf|0}}}|MagicBonus={{{STBonus|0}}}}}
{{Template:SkillRow|Level={{{Level|0}}}|Attr={{{Int|0}}}|Skill=Arcana|SkillProf={{{Arcana|0}}}|ExtraAttr={{{{{{ArcanaAdd|}}}|10}}}}}
{{Template:SkillRow|Level={{{Level|0}}}|Attr={{{Int|0}}}|Skill=Arcana|SkillProf={{{Arcana|0}}}|ExtraAttr={{{{{{ArcanaAdd|}}}|10}}}}}
{{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}}}}}
Line 95: Line 95:
! colspan="4" | WISDOM
! colspan="4" | WISDOM
     {{Template:StatRow|Stat={{{Wis|0}}}}}
     {{Template:StatRow|Stat={{{Wis|0}}}}}
     {{Template:SkillRow|Level={{{Level|0}}}|Attr={{{Wis|0}}}|Skill=Saving Throw|SkillProf={{{WisProf|0}}}}}
     {{Template:SkillRow|Level={{{Level|0}}}|Attr={{{Wis|0}}}|Skill=Saving Throw|SkillProf={{{WisProf|0}}}|MagicBonus={{{STBonus|0}}}}}
{{Template:SkillRow|Level={{{Level|0}}}|Attr={{{Wis|0}}}|Skill=Animal Handl.|SkillProf={{{AnimalHandling|0}}}}}
{{Template:SkillRow|Level={{{Level|0}}}|Attr={{{Wis|0}}}|Skill=Animal Handl.|SkillProf={{{AnimalHandling|0}}}}}
{{Template:SkillRow|Level={{{Level|0}}}|Attr={{{Wis|0}}}|Skill=Insight|SkillProf={{{Insight|0}}}}}
{{Template:SkillRow|Level={{{Level|0}}}|Attr={{{Wis|0}}}|Skill=Insight|SkillProf={{{Insight|0}}}}}
Line 105: Line 105:
! colspan="4" | CHARISMA
! colspan="4" | CHARISMA
     {{Template:StatRow|Stat={{{Cha|0}}}}}
     {{Template:StatRow|Stat={{{Cha|0}}}}}
     {{Template:SkillRow|Level={{{Level|0}}}|Attr={{{Cha|0}}}|Skill=Saving Throw|SkillProf={{{ChaProf|0}}}}}
     {{Template:SkillRow|Level={{{Level|0}}}|Attr={{{Cha|0}}}|Skill=Saving Throw|SkillProf={{{ChaProf|0}}}|MagicBonus={{{STBonus|0}}}}}
{{Template:SkillRow|Level={{{Level|0}}}|Attr={{{Cha|0}}}|Skill=Deception|SkillProf={{{Deception|0}}}|ExtraAttr={{{{{{DeceptionAdd|}}}|10}}}}}
{{Template:SkillRow|Level={{{Level|0}}}|Attr={{{Cha|0}}}|Skill=Deception|SkillProf={{{Deception|0}}}|ExtraAttr={{{{{{DeceptionAdd|}}}|10}}}}}
{{Template:SkillRow|Level={{{Level|0}}}|Attr={{{Cha|0}}}|Skill=Intimidation|SkillProf={{{Intimidation|0}}}|ExtraAttr={{{{{{IntimidationAdd|}}}|10}}}}}
{{Template:SkillRow|Level={{{Level|0}}}|Attr={{{Cha|0}}}|Skill=Intimidation|SkillProf={{{Intimidation|0}}}|ExtraAttr={{{{{{IntimidationAdd|}}}|10}}}}}
Line 165: Line 165:
|-  
|-  
     | {{#if:{{{HitDie|}}}|d{{{HitDie|}}}:|d{{{HitDie1|}}}:<br>d{{{HitDie2|}}}:}}
     | {{#if:{{{HitDie|}}}|d{{{HitDie|}}}:|d{{{HitDie1|}}}:<br>d{{{HitDie2|}}}:}}
| colspan="3" | {{#if:{{{HitDie|}}}|{{Template:Circles|Circles={{{Level|0}}}|FilledCircles={{{HitDiceSpend|0}}}|small=small|PermanentCircles=0|Break=}}|{{Template:Circles|Circles={{{HitDieCount1|0}}}|FilledCircles={{{HitDiceSpend1|0}}}|small=small|PermanentCircles=0|Break=}}<br>{{Template:Circles|Circles={{{HitDieCount2|0}}}|FilledCircles={{{HitDiceSpend2|0}}}|small=small|PermanentCircles=0|Break=}}}}
| 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">  
<div class="leftcolumn">  
Line 204: Line 204:
{{!}} {{#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" {{!}}
Line 211: Line 210:
{{!}} {{#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>


Line 322: Line 320:
<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">  
<!-- Display all spells/sections for the MIDDLE column -->
<!-- Display all spells/sections for the LEFT column -->
{{#if:{{{GenericSectionsPage3|}}}|
{{#if:{{{GenericSectionsPage3|}}}|
   {{#af_foreach:{{{GenericSectionsPage3}}}| |Section|{{#switch:{{#sub:{{#af_get: {{{Section}}} | 0 }}|0|{{#pos:{{#af_get: {{{Section}}} | 0 }}|::}}}} |condition1=branch1 |Left.Spell={{Template:DisplaySpell|{{{Section}}}}} |Left={{Template:DisplaySection|{{{Section}}}}}}}}}
   {{#af_foreach:{{{GenericSectionsPage3}}}| |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>
Line 330: Line 331:
<!-- Display all spells/sections for the MIDDLE column -->
<!-- Display all spells/sections for the MIDDLE column -->
{{#if:{{{GenericSectionsPage3|}}}|
{{#if:{{{GenericSectionsPage3|}}}|
   {{#af_foreach:{{{GenericSectionsPage3}}}| |Section|{{#switch:{{#sub:{{#af_get: {{{Section}}} | 0 }}|0|{{#pos:{{#af_get: {{{Section}}} | 0 }}|::}}}} |condition1=branch1 |Middle.Spell={{Template:DisplaySpell|{{{Section}}}}} |Middle={{Template:DisplaySection|{{{Section}}}}}}}}}
   {{#af_foreach:{{{GenericSectionsPage3}}}| |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>
Line 336: Line 340:
<!-- Display all spells/sections for the RIGHTcolumn -->
<!-- Display all spells/sections for the RIGHTcolumn -->
{{#if:{{{GenericSectionsPage3|}}}|
{{#if:{{{GenericSectionsPage3|}}}|
   {{#af_foreach:{{{GenericSectionsPage3}}}| |Section|{{#switch:{{#sub:{{#af_get: {{{Section}}} | 0 }}|0|{{#pos:{{#af_get: {{{Section}}} | 0 }}|::}}}} |condition1=branch1 |Right.Spell={{Template:DisplaySpell|{{{Section}}}}} |Right={{Template:DisplaySection|{{{Section}}}}}}}}}
   {{#af_foreach:{{{GenericSectionsPage3}}}| |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>

Latest revision as of 08:47, 10 February 2025