Template:CharacterSheet: Difference between revisions

From The Wild Beyond the Witchlight
No edit summary
No edit summary
 
(199 intermediate revisions by 2 users not shown)
Line 7: Line 7:


<!-- CHARACTER -->   
<!-- CHARACTER -->   
<div>  
<div class="leftcolumn wider">
  {|class="rpgtable character"
  {|class="rpgtable character"
! colspan="4" | CHARACTER
! colspan="4" | CHARACTER
Line 13: Line 13:
| Name
| Name
| colspan="3" | {{{Name}}}
| colspan="3" | {{{Name}}}
|-
| Player
| colspan="3" | {{{Player}}}
|-  
|-  
     | Background
     | Background
Line 26: Line 29:
     | colspan="3" | {{{Subclass}}}
     | colspan="3" | {{{Subclass}}}
|-  
|-  
     | Level
     | Alignment
     | {{{Level}}}
    | colspan="3" | {{{Alignment|}}}
    | XP
     |}
     | {{{Xp|...}}}
</div>
<div class="rightcolumn smaller">
{|class="rpgtable level"
! LEVEL
|-
| <div id="base">{{{Level}}}</div>
|-
     | XP: {{{Xp|...}}}
    |}
{|class="rpgtable lost"
! LOST
|-
    | {{{LostFeature|}}}
     |}
     |}
</div>
</div>
Line 91: Line 106:
     {{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}}}}}
{{Template:SkillRow|Level={{{Level|0}}}|Attr={{{Cha|0}}}|Skill=Deception|SkillProf={{{Deception|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=Intimidation|SkillProf={{{Intimidation|0}}}}}
{{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=Performance|SkillProf={{{Performance|0}}}}}
{{Template:SkillRow|Level={{{Level|0}}}|Attr={{{Cha|0}}}|Skill=Performance|SkillProf={{{Performance|0}}}|ExtraAttr={{{{{{PerformanceAdd|}}}|10}}}}}
{{Template:SkillRow|Level={{{Level|0}}}|Attr={{{Cha|0}}}|Skill=Persuasion|SkillProf={{{Persuasion|0}}}}}
{{Template:SkillRow|Level={{{Level|0}}}|Attr={{{Cha|0}}}|Skill=Persuasion|SkillProf={{{Persuasion|0}}}|ExtraAttr={{{{{{PersuasionAdd|x}}}|10}}}}}
|}
|}
   </div>
   </div>
</div>
</div>
 
{{#if:{{{GenericSections|}}}|{{#af_foreach:{{{GenericSections}}}| |Section|{{#ifeq: {{#sub:{{#af_get: {{{Section}}} | 0 }}|0|{{#pos:{{#af_get: {{{Section}}} | 0 }}|::}}}} | Left | {{Template:DisplaySection|{{{Section}}}}} |}}}}}}
{{#if:{{{SectionL1|}}}|
{{Template:GenericSection|name={{{SectionL1|}}}
  |row1={{{SectionL1Row1|}}}
  |row1desc={{{SectionL1Row1Desc|}}}
  |row2={{{SectionL1Row2|}}}
  |row2desc={{{SectionL1Row2Desc|}}}
  |row3={{{SectionL1Row3|}}}
  |row3desc={{{SectionL1Row3Desc|}}}
  |row4={{{SectionL1Row4|}}}
  |row4desc={{{SectionL1Row4Desc|}}}
  |row5={{{SectionL1Row5|}}}
  |row5desc={{{SectionL1Row5Desc|}}}
  |row6={{{SectionL1Row6|}}}
  |row6desc={{{SectionL1Row6Desc|}}}
  |row7={{{SectionL1Row7|}}}
  |row7desc={{{SectionL1Row7Desc|}}}
  |row8={{{SectionL1Row8|}}}
  |row8desc={{{SectionL1Row8Desc|}}}
  |row9={{{SectionL1Row9|}}}
  |row9desc={{{SectionL1Row9Desc|}}}
  |row10={{{SectionL1Row10|}}}
  |row10desc={{{SectionL1Row10Desc|}}}
  |row11={{{SectionL1Row11|}}}
  |row11desc={{{SectionL1Row11Desc|}}}
  |row12={{{SectionL1Row12|}}}
  |row12desc={{{SectionL1Row12Desc|}}}
}}|}}
{{#if:{{{SectionL2|}}}|
{{Template:GenericSection|name={{{SectionL2|}}}
  |row1={{{SectionL2Row1|}}}
  |row1desc={{{SectionL2Row1Desc|}}}
  |row2={{{SectionL2Row2|}}}
  |row2desc={{{SectionL2Row2Desc|}}}
  |row3={{{SectionL2Row3|}}}
  |row3desc={{{SectionL2Row3Desc|}}}
  |row4={{{SectionL2Row4|}}}
  |row4desc={{{SectionL2Row4Desc|}}}
  |row5={{{SectionL2Row5|}}}
  |row5desc={{{SectionL2Row5Desc|}}}
  |row6={{{SectionL2Row6|}}}
  |row6desc={{{SectionL2Row6Desc|}}}
  |row7={{{SectionL2Row7|}}}
  |row7desc={{{SectionL2Row7Desc|}}}
  |row8={{{SectionL2Row8|}}}
  |row8desc={{{SectionL2Row8Desc|}}}
  |row9={{{SectionL2Row9|}}}
  |row9desc={{{SectionL2Row9Desc|}}}
  |row10={{{SectionL2Row10|}}}
  |row10desc={{{SectionL2Row10Desc|}}}
  |row11={{{SectionL2Row11|}}}
  |row11desc={{{SectionL2Row11Desc|}}}
  |row12={{{SectionL2Row12|}}}
  |row12desc={{{SectionL2Row12Desc|}}}
}}|}}
{{#if:{{{SectionL3|}}}|
{{Template:GenericSection|name={{{SectionL3|}}}
  |row1={{{SectionL3Row1|}}}
  |row1desc={{{SectionL3Row1Desc|}}}
  |row2={{{SectionL3Row2|}}}
  |row2desc={{{SectionL3Row2Desc|}}}
  |row3={{{SectionL3Row3|}}}
  |row3desc={{{SectionL3Row3Desc|}}}
  |row4={{{SectionL3Row4|}}}
  |row4desc={{{SectionL3Row4Desc|}}}
  |row5={{{SectionL3Row5|}}}
  |row5desc={{{SectionL3Row5Desc|}}}
  |row6={{{SectionL3Row6|}}}
  |row6desc={{{SectionL3Row6Desc|}}}
  |row7={{{SectionL3Row7|}}}
  |row7desc={{{SectionL3Row7Desc|}}}
  |row8={{{SectionL3Row8|}}}
  |row8desc={{{SectionL3Row8Desc|}}}
  |row9={{{SectionL3Row9|}}}
  |row9desc={{{SectionL3Row9Desc|}}}
  |row10={{{SectionL3Row10|}}}
  |row10desc={{{SectionL3Row10Desc|}}}
  |row11={{{SectionL3Row11|}}}
  |row11desc={{{SectionL3Row11Desc|}}}
  |row12={{{SectionL3Row12|}}}
  |row12desc={{{SectionL3Row12Desc|}}}
}}|}}
{{#if:{{{SectionL4|}}}|
{{Template:GenericSection|name={{{SectionL4|}}}
  |row1={{{SectionL4Row1|}}}
  |row1desc={{{SectionL4Row1Desc|}}}
  |row2={{{SectionL4Row2|}}}
  |row2desc={{{SectionL4Row2Desc|}}}
  |row3={{{SectionL4Row3|}}}
  |row3desc={{{SectionL4Row3Desc|}}}
  |row4={{{SectionL4Row4|}}}
  |row4desc={{{SectionL4Row4Desc|}}}
  |row5={{{SectionL4Row5|}}}
  |row5desc={{{SectionL4Row5Desc|}}}
  |row6={{{SectionL4Row6|}}}
  |row6desc={{{SectionL4Row6Desc|}}}
  |row7={{{SectionL4Row7|}}}
  |row7desc={{{SectionL4Row7Desc|}}}
  |row8={{{SectionL4Row8|}}}
  |row8desc={{{SectionL4Row8Desc|}}}
  |row9={{{SectionL4Row9|}}}
  |row9desc={{{SectionL4Row9Desc|}}}
  |row10={{{SectionL4Row10|}}}
  |row10desc={{{SectionL4Row10Desc|}}}
  |row11={{{SectionL4Row11|}}}
  |row11desc={{{SectionL4Row11Desc|}}}
  |row12={{{SectionL4Row12|}}}
  |row12desc={{{SectionL4Row12Desc|}}}
}}|}}
{{#if:{{{SectionL5|}}}|
{{Template:GenericSection|name={{{SectionL5|}}}
  |row1={{{SectionL5Row1|}}}
  |row1desc={{{SectionL5Row1Desc|}}}
  |row2={{{SectionL5Row2|}}}
  |row2desc={{{SectionL5Row2Desc|}}}
  |row3={{{SectionL5Row3|}}}
  |row3desc={{{SectionL5Row3Desc|}}}
  |row4={{{SectionL5Row4|}}}
  |row4desc={{{SectionL5Row4Desc|}}}
  |row5={{{SectionL5Row5|}}}
  |row5desc={{{SectionL5Row5Desc|}}}
  |row6={{{SectionL5Row6|}}}
  |row6desc={{{SectionL5Row6Desc|}}}
  |row7={{{SectionL5Row7|}}}
  |row7desc={{{SectionL5Row7Desc|}}}
  |row8={{{SectionL5Row8|}}}
  |row8desc={{{SectionL5Row8Desc|}}}
  |row9={{{SectionL5Row9|}}}
  |row9desc={{{SectionL5Row9Desc|}}}
  |row10={{{SectionL5Row10|}}}
  |row10desc={{{SectionL5Row10Desc|}}}
  |row11={{{SectionL5Row11|}}}
  |row11desc={{{SectionL5Row11Desc|}}}
  |row12={{{SectionL5Row12|}}}
  |row12desc={{{SectionL5Row12Desc|}}}
}}|}}
</div>
</div>
<div class="column">
<div class="column">
Line 241: Line 121:
! colspan="4" |ARMOR CLASS
! colspan="4" |ARMOR CLASS
|- class="big"  
|- class="big"  
     | {{{ArmorClass|0}}}
     | <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>
|-
    | style="text-align:right;" |Shield: {{Template:Circles|Circles=1|small=small|FilledCircles={{{shield|0}}}|PermanentCircles=0}}
     |}
     |}
{| class="rpgtable deathsaves"
{| class="rpgtable deathsaves"
Line 249: Line 127:
     |-  
     |-  
     | colspan="2"| Successes
     | colspan="2"| Successes
     | colspan="2"| {{Template:Circles|Circles=3|FilledCircles={{{DeathSaveSucces|0}}}|PermanentCircles=0|Break=&nbsp;}}
     | colspan="2"| {{Template:Circles|Circles=3|FilledCircles={{{DeathSaveSuccesses|0}}}|PermanentCircles=0|Break=&nbsp;}}
     |-  
     |-  
     | colspan="2"|Failures
     | colspan="2"|Failures
     | colspan="2"| {{Template:Circles|Circles=3|FilledCircles={{{DeathSaveFailure|0}}}|PermanentCircles=0|Break=&nbsp;}}
     | colspan="2"| {{Template:Circles|Circles=3|FilledCircles={{{DeathSaveFailures|0}}}|PermanentCircles=0|Break=&nbsp;}}
   |}
   |}
    {| class="rpgtable box"
! colspan="4" |INITIATIVE
|- class="big"
    | {{#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)))}}
    |}
{| class="rpgtable box"
! colspan="4" |SIZE
|- class="big smallerfont" 
    | {{{Size|0}}}
    |}
</div>
</div>
<div class="rightcolumn">   
<div class="rightcolumn">   
Line 260: Line 148:
|-  
|-  
     | Max
     | Max
| {{{MaxHp|0}}}
| {{#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}}}}}
|-  
|-  
     | Current
     | Current
Line 266: Line 154:
  |-  
  |-  
     | Temp
     | Temp
| {{{temphp|}}}
| {{{TempHp|}}}
     |}  
     |}  
{| class="rpgtable hitdice"
{| class="rpgtable hitdice"
Line 272: Line 160:
|-  
|-  
     | Max
     | Max
| {{{Level|0}}}{{{HitDie|d1}}}
| '''{{{Level|0}}}d{{{HitDie|1}}}'''
     | Spent
     | Spent
| {{{HitDiceSpend|}}}
| {{{HitDiceSpend|}}}
     |}  
     |}
</div>
<div class="leftcolumn"> 
{| class="rpgtable box"
{| class="rpgtable box"
! colspan="4" |INITIATIVE
! colspan="4" |SPEED
|- class="big"  
|- class="big"  
     | {{#ifexpr:{{{Dex|0}}}>11|+|}}{{#expr:floor(({{{Dex|0}}}-10)/2)}}
     | {{{Speed|0}}}
     |}
     |}  
</div>
<div class="rightcolumn"> 
{| class="rpgtable box"
{| class="rpgtable box"
! colspan="4" |SPEED
! colspan="4" |PASSIVE PERCEPTION
|- class="big"  
|- class="big"  
     | {{{Speed|0}}}
     | {{#expr:10+floor(({{{Wis|0}}}-10)/2) + {{{Perception|0}}}*(2+floor(({{{Level|0}}}-1)/4))}}
     |}
     |}
</div>
</div>
<!-- WEAPONS-->
<!-- WEAPONS-->
<div class="weaponss">
<div class="weapons">
{| class="rpgtable""
{| class="rpgtable""
! WEAPONS/CANTRIPS
! WEAPONS/CANTRIPS
! Attack/DC
! ATT/DC
! Damage/Type
! DMG/TYPE
|-
|- class="weapon" |
| {{{Weapon1|&nbsp;}}}
| {{{Weapon1|&nbsp;}}}
| {{{Weapon1AttackBonusOrDC|&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}}}}} }} }}
     | {{{Weapon1DmgAndType|&nbsp;}}}
     | {{{Weapon1Dmg|}}}{{#ifexpr: {{{Weapon1DmgAddAbility|0}}}=0 and {{{Weapon1MagicItemBonus|0}}}=0| | +{{#expr: {{#ifexpr: {{{Weapon1DmgAddAbility|0}}}=1 | floor(({{{{{{Weapon1Ability}}}}}}-10)/2) | 0 }}+{{{Weapon1MagicItemBonus|0}}}}} }} {{{Weapon1DmgType|}}} {{{Weapon1MagicDmg|}}}  
     {{#ifeq: {{{Weapon1Notes}}} | | | <tr><td class="special" colspan="3">{{{Weapon1Notes|&nbsp;}}}</td></tr>}}  
     {{#ifeq: {{{Weapon1Notes}}} | | | <tr class="notes"><td class="special" colspan="3">{{{Weapon1Notes|&nbsp;}}}</td></tr>}}  
|-
|- class="weapon" |
| {{{Weapon2|&nbsp;}}}
| {{{Weapon2|&nbsp;}}}
| {{{Weapon2AttackBonusOrDC|&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}}}}} }} }}
     | {{{Weapon2DmgAndType|&nbsp;}}}
     | {{{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><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|}}} |
| {{{Weapon3|&nbsp;}}}
{{!}}- class="weapon" {{!}}
| {{{Weapon3AttackBonusOrDC|&nbsp;}}}
{{!}} {{{Weapon3|&nbsp;}}}
     | {{{Weapon3DmgAndType|&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}}}}} }} }}
     {{#ifeq: {{{Weapon3Notes}}} | | | <tr><td class="special" colspan="3">{{{Weapon3Notes|&nbsp;}}}</td></tr>}}  
     {{!}} {{{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>}}  
| {{{Weapon4|&nbsp;}}}
|}}
| {{{Weapon4AttackBonusOrDC|&nbsp;}}}
{{#if:{{{Weapon4|}}} |
     | {{{Weapon4DmgAndType|&nbsp;}}}
     {{!}}- class="weapon" {{!}}
    {{#ifeq: {{{Weapon4Notes}}} | | | <tr><td class="special" colspan="3">{{{Weapon4Notes|&nbsp;}}}</td></tr>}}
{{!}} {{{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>
</div>
{{#if:{{{SectionM1|}}}|
 
{{Template:GenericSection|name={{{SectionM1|}}}
{{#if:{{{GenericSections|}}}|
  |row1={{{SectionM1Row1|}}}
  {{#af_foreach:{{{GenericSections}}}| |Section|{{#ifeq: {{#sub:{{#af_get: {{{Section}}} | 0 }}|0|{{#pos:{{#af_get: {{{Section}}} | 0 }}|::}}}} | Middle | {{Template:DisplaySection|{{{Section}}}}} |}}}}
  |row1desc={{{SectionM1Row1Desc|}}}
}}
  |row2={{{SectionM1Row2|}}}
 
  |row2desc={{{SectionM1Row2Desc|}}}
  |row3={{{SectionM1Row3|}}}
  |row3desc={{{SectionM1Row3Desc|}}}
  |row4={{{SectionM1Row4|}}}
  |row4desc={{{SectionM1Row4Desc|}}}
  |row5={{{SectionM1Row5|}}}
  |row5desc={{{SectionM1Row5Desc|}}}
  |row6={{{SectionM1Row6|}}}
  |row6desc={{{SectionM1Row6Desc|}}}
  |row7={{{SectionM1Row7|}}}
  |row7desc={{{SectionM1Row7Desc|}}}
  |row8={{{SectionM1Row8|}}}
  |row8desc={{{SectionM1Row8Desc|}}}
  |row9={{{SectionM1Row9|}}}
  |row9desc={{{SectionM1Row9Desc|}}}
  |row10={{{SectionM1Row10|}}}
  |row10desc={{{SectionM1Row10Desc|}}}
  |row11={{{SectionM1Row11|}}}
  |row11desc={{{SectionM1Row11Desc|}}}
  |row12={{{SectionM1Row12|}}}
  |row12desc={{{SectionM1Row12Desc|}}}
}}|}}
{{#if:{{{SectionM2|}}}|
{{Template:GenericSection|name={{{SectionM2|}}}
  |row1={{{SectionM2Row1|}}}
  |row1desc={{{SectionM2Row1Desc|}}}
  |row2={{{SectionM2Row2|}}}
  |row2desc={{{SectionM2Row2Desc|}}}
  |row3={{{SectionM2Row3|}}}
  |row3desc={{{SectionM2Row3Desc|}}}
  |row4={{{SectionM2Row4|}}}
  |row4desc={{{SectionM2Row4Desc|}}}
  |row5={{{SectionM2Row5|}}}
  |row5desc={{{SectionM2Row5Desc|}}}
  |row6={{{SectionM2Row6|}}}
  |row6desc={{{SectionM2Row6Desc|}}}
  |row7={{{SectionM2Row7|}}}
  |row7desc={{{SectionM2Row7Desc|}}}
  |row8={{{SectionM2Row8|}}}
  |row8desc={{{SectionM2Row8Desc|}}}
  |row9={{{SectionM2Row9|}}}
  |row9desc={{{SectionM2Row9Desc|}}}
  |row10={{{SectionM2Row10|}}}
  |row10desc={{{SectionM2Row10Desc|}}}
  |row11={{{SectionM2Row11|}}}
  |row11desc={{{SectionM2Row11Desc|}}}
  |row12={{{SectionM2Row12|}}}
  |row12desc={{{SectionM2Row12Desc|}}}
}}|}}
{{#if:{{{SectionM3|}}}|
{{Template:GenericSection|name={{{SectionM3|}}}
  |row1={{{SectionM3Row1|}}}
  |row1desc={{{SectionM3Row1Desc|}}}
  |row2={{{SectionM3Row2|}}}
  |row2desc={{{SectionM3Row2Desc|}}}
  |row3={{{SectionM3Row3|}}}
  |row3desc={{{SectionM3Row3Desc|}}}
  |row4={{{SectionM3Row4|}}}
  |row4desc={{{SectionM3Row4Desc|}}}
  |row5={{{SectionM3Row5|}}}
  |row5desc={{{SectionM3Row5Desc|}}}
  |row6={{{SectionM3Row6|}}}
  |row6desc={{{SectionM3Row6Desc|}}}
  |row7={{{SectionM3Row7|}}}
  |row7desc={{{SectionM3Row7Desc|}}}
  |row8={{{SectionM3Row8|}}}
  |row8desc={{{SectionM3Row8Desc|}}}
  |row9={{{SectionM3Row9|}}}
  |row9desc={{{SectionM3Row9Desc|}}}
  |row10={{{SectionM3Row10|}}}
  |row10desc={{{SectionM3Row10Desc|}}}
  |row11={{{SectionM3Row11|}}}
  |row11desc={{{SectionM3Row11Desc|}}}
  |row12={{{SectionM3Row12|}}}
  |row12desc={{{SectionM3Row12Desc|}}}
}}|}}
{{#if:{{{SectionM4|}}}|
{{Template:GenericSection|name={{{SectionM4|}}}
  |row1={{{SectionM4Row1|}}}
  |row1desc={{{SectionM4Row1Desc|}}}
  |row2={{{SectionM4Row2|}}}
  |row2desc={{{SectionM4Row2Desc|}}}
  |row3={{{SectionM4Row3|}}}
  |row3desc={{{SectionM4Row3Desc|}}}
  |row4={{{SectionM4Row4|}}}
  |row4desc={{{SectionM4Row4Desc|}}}
  |row5={{{SectionM4Row5|}}}
  |row5desc={{{SectionM4Row5Desc|}}}
  |row6={{{SectionM4Row6|}}}
  |row6desc={{{SectionM4Row6Desc|}}}
  |row7={{{SectionM4Row7|}}}
  |row7desc={{{SectionM4Row7Desc|}}}
  |row8={{{SectionM4Row8|}}}
  |row8desc={{{SectionM4Row8Desc|}}}
  |row9={{{SectionM4Row9|}}}
  |row9desc={{{SectionM4Row9Desc|}}}
  |row10={{{SectionM4Row10|}}}
  |row10desc={{{SectionM4Row10Desc|}}}
  |row11={{{SectionM4Row11|}}}
  |row11desc={{{SectionM4Row11Desc|}}}
  |row12={{{SectionM4Row12|}}}
  |row12desc={{{SectionM4Row12Desc|}}}
}}|}}
{{#if:{{{SectionM5|}}}|
{{Template:GenericSection|name={{{SectionM5|}}}
  |row1={{{SectionM5Row1|}}}
  |row1desc={{{SectionM5Row1Desc|}}}
  |row2={{{SectionM5Row2|}}}
  |row2desc={{{SectionM5Row2Desc|}}}
  |row3={{{SectionM5Row3|}}}
  |row3desc={{{SectionM5Row3Desc|}}}
  |row4={{{SectionM5Row4|}}}
  |row4desc={{{SectionM5Row4Desc|}}}
  |row5={{{SectionM5Row5|}}}
  |row5desc={{{SectionM5Row5Desc|}}}
  |row6={{{SectionM5Row6|}}}
  |row6desc={{{SectionM5Row6Desc|}}}
  |row7={{{SectionM5Row7|}}}
  |row7desc={{{SectionM5Row7Desc|}}}
  |row8={{{SectionM5Row8|}}}
  |row8desc={{{SectionM5Row8Desc|}}}
  |row9={{{SectionM5Row9|}}}
  |row9desc={{{SectionM5Row9Desc|}}}
  |row10={{{SectionM5Row10|}}}
  |row10desc={{{SectionM5Row10Desc|}}}
  |row11={{{SectionM5Row11|}}}
  |row11desc={{{SectionM5Row11Desc|}}}
  |row12={{{SectionM5Row12|}}}
  |row12desc={{{SectionM5Row12Desc|}}}
}}|}}
</div>
</div>
<div class="column">
<div class="column">
Line 464: Line 223:
|}
|}
</div>
</div>
<div class="leftcolumn"> 
 
{| class="rpgtable box"
{{#if:{{{GenericSections|}}}|
! colspan="4" |SIZE
   {{#af_foreach:{{{GenericSections}}}| |Section|{{#ifeq: {{#sub:{{#af_get: {{{Section}}} | 0 }}|0|{{#pos:{{#af_get: {{{Section}}} | 0 }}|::}}}} | Right| {{Template:DisplaySection|{{{Section}}}}} |}}}}
|- 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>
{{#if:{{{SectionR1|}}}|
{{Template:GenericSection|name={{{SectionR1|}}}
  |row1={{{SectionR1Row1|}}}
  |row1desc={{{SectionR1Row1Desc|}}}
  |row2={{{SectionR1Row2|}}}
  |row2desc={{{SectionR1Row2Desc|}}}
  |row3={{{SectionR1Row3|}}}
  |row3desc={{{SectionR1Row3Desc|}}}
  |row4={{{SectionR1Row4|}}}
  |row4desc={{{SectionR1Row4Desc|}}}
  |row5={{{SectionR1Row5|}}}
  |row5desc={{{SectionR1Row5Desc|}}}
  |row6={{{SectionR1Row6|}}}
  |row6desc={{{SectionR1Row6Desc|}}}
  |row7={{{SectionR1Row7|}}}
  |row7desc={{{SectionR1Row7Desc|}}}
  |row8={{{SectionR1Row8|}}}
  |row8desc={{{SectionR1Row8Desc|}}}
  |row9={{{SectionR1Row9|}}}
  |row9desc={{{SectionR1Row9Desc|}}}
  |row10={{{SectionR1Row10|}}}
  |row10desc={{{SectionR1Row10Desc|}}}
  |row11={{{SectionR1Row11|}}}
  |row11desc={{{SectionR1Row11Desc|}}}
  |row12={{{SectionR1Row12|}}}
  |row12desc={{{SectionR1Row12Desc|}}}
}}|}}
{{#if:{{{SectionR2|}}}|
{{Template:GenericSection|name={{{SectionR2|}}}
  |row1={{{SectionR2Row1|}}}
  |row1desc={{{SectionR2Row1Desc|}}}
  |row2={{{SectionR2Row2|}}}
  |row2desc={{{SectionR2Row2Desc|}}}
  |row3={{{SectionR2Row3|}}}
  |row3desc={{{SectionR2Row3Desc|}}}
  |row4={{{SectionR2Row4|}}}
  |row4desc={{{SectionR2Row4Desc|}}}
  |row5={{{SectionR2Row5|}}}
  |row5desc={{{SectionR2Row5Desc|}}}
  |row6={{{SectionR2Row6|}}}
  |row6desc={{{SectionR2Row6Desc|}}}
  |row7={{{SectionR2Row7|}}}
  |row7desc={{{SectionR2Row7Desc|}}}
  |row8={{{SectionR2Row8|}}}
  |row8desc={{{SectionR2Row8Desc|}}}
  |row9={{{SectionR2Row9|}}}
  |row9desc={{{SectionR2Row9Desc|}}}
  |row10={{{SectionR2Row10|}}}
  |row10desc={{{SectionR2Row10Desc|}}}
  |row11={{{SectionR2Row11|}}}
  |row11desc={{{SectionR2Row11Desc|}}}
  |row12={{{SectionR2Row12|}}}
  |row12desc={{{SectionR2Row12Desc|}}}
}}|}}
{{#if:{{{SectionR3|}}}|
{{Template:GenericSection|name={{{SectionR3|}}}
  |row1={{{SectionR3Row1|}}}
  |row1desc={{{SectionR3Row1Desc|}}}
  |row2={{{SectionR3Row2|}}}
  |row2desc={{{SectionR3Row2Desc|}}}
  |row3={{{SectionR3Row3|}}}
  |row3desc={{{SectionR3Row3Desc|}}}
  |row4={{{SectionR3Row4|}}}
  |row4desc={{{SectionR3Row4Desc|}}}
  |row5={{{SectionR3Row5|}}}
  |row5desc={{{SectionR3Row5Desc|}}}
  |row6={{{SectionR3Row6|}}}
  |row6desc={{{SectionR3Row6Desc|}}}
  |row7={{{SectionR3Row7|}}}
  |row7desc={{{SectionR3Row7Desc|}}}
  |row8={{{SectionR3Row8|}}}
  |row8desc={{{SectionR3Row8Desc|}}}
  |row9={{{SectionR3Row9|}}}
  |row9desc={{{SectionR3Row9Desc|}}}
  |row10={{{SectionR3Row10|}}}
  |row10desc={{{SectionR3Row10Desc|}}}
  |row11={{{SectionR3Row11|}}}
  |row11desc={{{SectionR3Row11Desc|}}}
  |row12={{{SectionR3Row12|}}}
  |row12desc={{{SectionR3Row12Desc|}}}
}}|}}
{{#if:{{{SectionR4|}}}|
{{Template:GenericSection|name={{{SectionR4|}}}
  |row1={{{SectionR4Row1|}}}
  |row1desc={{{SectionR4Row1Desc|}}}
  |row2={{{SectionR4Row2|}}}
  |row2desc={{{SectionR4Row2Desc|}}}
  |row3={{{SectionR4Row3|}}}
  |row3desc={{{SectionR4Row3Desc|}}}
  |row4={{{SectionR4Row4|}}}
  |row4desc={{{SectionR4Row4Desc|}}}
  |row5={{{SectionR4Row5|}}}
  |row5desc={{{SectionR4Row5Desc|}}}
  |row6={{{SectionR4Row6|}}}
  |row6desc={{{SectionR4Row6Desc|}}}
  |row7={{{SectionR4Row7|}}}
  |row7desc={{{SectionR4Row7Desc|}}}
  |row8={{{SectionR4Row8|}}}
  |row8desc={{{SectionR4Row8Desc|}}}
  |row9={{{SectionR4Row9|}}}
  |row9desc={{{SectionR4Row9Desc|}}}
  |row10={{{SectionR4Row10|}}}
  |row10desc={{{SectionR4Row10Desc|}}}
  |row11={{{SectionR4Row11|}}}
  |row11desc={{{SectionR4Row11Desc|}}}
  |row12={{{SectionR4Row12|}}}
  |row12desc={{{SectionR4Row12Desc|}}}
}}|}}
{{#if:{{{SectionR5|}}}|
{{Template:GenericSection|name={{{SectionR5|}}}
  |row1={{{SectionR5Row1|}}}
  |row1desc={{{SectionR5Row1Desc|}}}
  |row2={{{SectionR5Row2|}}}
  |row2desc={{{SectionR5Row2Desc|}}}
  |row3={{{SectionR5Row3|}}}
  |row3desc={{{SectionR5Row3Desc|}}}
  |row4={{{SectionR5Row4|}}}
  |row4desc={{{SectionR5Row4Desc|}}}
  |row5={{{SectionR5Row5|}}}
  |row5desc={{{SectionR5Row5Desc|}}}
  |row6={{{SectionR5Row6|}}}
  |row6desc={{{SectionR5Row6Desc|}}}
  |row7={{{SectionR5Row7|}}}
  |row7desc={{{SectionR5Row7Desc|}}}
  |row8={{{SectionR5Row8|}}}
  |row8desc={{{SectionR5Row8Desc|}}}
  |row9={{{SectionR5Row9|}}}
  |row9desc={{{SectionR5Row9Desc|}}}
  |row10={{{SectionR5Row10|}}}
  |row10desc={{{SectionR5Row10Desc|}}}
  |row11={{{SectionR5Row11|}}}
  |row11desc={{{SectionR5Row11Desc|}}}
  |row12={{{SectionR5Row12|}}}
  |row12desc={{{SectionR5Row12Desc|}}}
}}|}}
</div>
</div>
</div>
</div>


<div class="container">
<div class="container" {{#ifexpr: {{{showPage2|0}}}=0|style="display:none;"}}>
<div class="column">  
<div class="column">  
<div class="leftcolumn">   
<div class="leftcolumn" {{#ifexpr: {{{Spellcaster|0}}}=0|style="display:none;"}}>   
{| class="rpgtable box"
{| class="rpgtable box"
! colspan="4" |SPELLCAST. ABILITY
! colspan="4" |SPELLCAST. ABILITY
Line 624: Line 239:
     | {{{SpellcastingAbility}}}
     | {{{SpellcastingAbility}}}
     |}
     |}
     {| class="rpgtable box"
     {| class="rpgtable box"
! colspan="4" |SPELLCAST. MODIFIER
! colspan="4" |SPELLCAST. MODIFIER
Line 630: Line 246:
     |}
     |}
</div>
</div>
<div class="rightcolumn">   
<div class="rightcolumn" {{#ifexpr: {{{Spellcaster|0}}}=0|style="display:none;"}}>   
{| class="rpgtable box"
{| class="rpgtable box"
! colspan="4" |SPELL SAVE DC
! colspan="4" |SPELL SAVE DC
Line 636: Line 252:
     | {{#expr: 8 + floor(({{{{{{SpellcastingAbility}}}}}}-10)/2) + 2+floor(({{{Level|0}}}-1)/4)}}
     | {{#expr: 8 + floor(({{{{{{SpellcastingAbility}}}}}}-10)/2) + 2+floor(({{{Level|0}}}-1)/4)}}
     |}
     |}
     {| class="rpgtable box"
     {| class="rpgtable box"
! colspan="4" |SPELL ATTACK BONUS
! colspan="4" |SPELL ATTACK BONUS
Line 641: Line 258:
     | +{{#expr: floor(({{{{{{SpellcastingAbility}}}}}}-10)/2) + 2+floor(({{{Level|0}}}-1)/4)}}
     | +{{#expr: floor(({{{{{{SpellcastingAbility}}}}}}-10)/2) + 2+floor(({{{Level|0}}}-1)/4)}}
     |}
     |}
</div>
<div {{#ifexpr: {{{Spellcaster|0}}}=0|style="display:none;"}}>
{|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>
</div>


{{Template:Spell
<!-- Display all spells/sections  for the LEFT column -->
|Level=1
{{#if:{{{GenericSectionsPage2|}}}|
|Name={{{Level1Spell1|}}}
  {{#af_foreach:{{{GenericSectionsPage2}}}| |Section|{{#ifeq: {{#sub:{{#af_get: {{{Section}}} | 0 }}|0|{{#pos:{{#af_get: {{{Section}}} | 0 }}|::}}}} | Left | {{#switch: {{#af_get: {{{Section}}} | 1 }}
|CastingTime={{{Level1Spell1CastingTime|}}}
| 0 | 1 | 2 | 3 | 4 | 5 | 6 | 8 | 9 = {{Template:DisplaySpell|{{{Section}}}}}
|Range={{{Level1Spell1Range|}}}
| #default = {{Template:DisplaySection|{{{Section}}}}}}} |}}
|Duration={{{Level1Spell1Duration|}}}
  }}
|Components={{{Level1Spell1Components|}}}
|Desc={{{Level1Spell1Desc|}}}
}}
}}


</div>
</div>
<div class="column">  
<div class="column">  
<div>  
<!-- Display all spells/sections for the MIDDLE column -->
{|class="rpgtable character"
{{#if:{{{GenericSectionsPage2|}}}|
! colspan="6" | SPELL SLOTS
  {{#af_foreach:{{{GenericSectionsPage2}}}| |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}}}}}
| Level 1
| #default = {{Template:DisplaySection|{{{Section}}}}}}} |}}
| {{{SpellSlotsLevel1}}}
  }}
| Level 4
}}
| {{{SpellSlotsLevel4}}}
</div>
| Level 7
<div class="column">
| {{{SpellSlotsLevel7}}}
<!-- Display all spells/sections for the RIGHTcolumn -->
|-
{{#if:{{{GenericSectionsPage2|}}}|
| Level 2
  {{#af_foreach:{{{GenericSectionsPage2}}}| |Section|{{#ifeq: {{#sub:{{#af_get: {{{Section}}} | 0 }}|0|{{#pos:{{#af_get: {{{Section}}} | 0 }}|::}}}} | Right| {{#switch: {{#af_get: {{{Section}}} | 1 }}
| {{{SpellSlotsLevel2}}}
| 0 | 1 | 2 | 3 | 4 | 5 | 6 | 8 | 9 = {{Template:DisplaySpell|{{{Section}}}}}
| Level 5
| #default = {{Template:DisplaySection|{{{Section}}}}}}} |}}
| {{{SpellSlotsLevel5}}}
  }}
| Level 8
}}
| {{{SpellSlotsLevel8}}}
</div>
|-
| Level 3
| {{{SpellSlotsLevel4}}}
| Level 6
| {{{SpellSlotsLevel6}}}
| Level 9
| {{{SpellSlotsLevel9}}}
    |}
</div>
</div>


<div class="container" {{#ifexpr: {{{showPage3|0}}}=0|style="display:none;"}}>
<div class="column">
<!-- Display all spells/sections for the MIDDLE column -->
{{#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}}}}}}}}}
}}
</div>
</div>
<div class="column">  
<div class="column">  
teste
<!-- Display all spells/sections for the MIDDLE column -->
{{#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}}}}}}}}}
}}
</div>
<div class="column">
<!-- Display all spells/sections for the RIGHTcolumn -->
{{#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}}}}}}}}}
}}
</div>
</div>
</div>
</div>

Latest revision as of 09:34, 18 November 2024