Template:CharacterSheet: Difference between revisions

From The Wild Beyond the Witchlight
No edit summary
No edit summary
 
(214 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}}}}} |}}}}}}
<!-- EQUIPMENT PROFICIENCIES-->
<div class="equipmentproficiences">
{| class="rpgtable" style="width:100%;"
! colspan="2" | EQUIPMENT PROFICIENCIES/TRAINING
|-
| Armor
| {{{ArmorTraining|}}}
|-
| Weapons
| {{{WeaponProficiencies|}}}
|-
| Tools
| {{{ToolProficiencies|}}}
|}
</div>
<!-- LANGUAGES-->
<div class="languages">
{| class="rpgtable" style="width:100%;"
! colspan="2" | LANGUAGES
|-
| {{{Languages|}}}
|}
</div>
</div>
</div>
<div class="column">
<div class="column">
Line 129: 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 137: 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 148: 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 154: Line 154:
  |-  
  |-  
     | Temp
     | Temp
| {{{temphp|}}}
| {{{TempHp|}}}
     |}  
     |}  
{| class="rpgtable hitdice"
{| class="rpgtable hitdice"
Line 160: 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|}}}
}}|}}
</div>
</div>
<div class="column">
<div class="column">
Line 298: Line 223:
|}
|}
</div>
</div>
<div class="leftcolumn">   
 
{{#if:{{{GenericSections|}}}|
  {{#af_foreach:{{{GenericSections}}}| |Section|{{#ifeq: {{#sub:{{#af_get: {{{Section}}} | 0 }}|0|{{#pos:{{#af_get: {{{Section}}} | 0 }}|::}}}} | Right| {{Template:DisplaySection|{{{Section}}}}} |}}}}
}}
 
</div>
</div>
 
<div class="container" {{#ifexpr: {{{showPage2|0}}}=0|style="display:none;"}}>
<div class="column">
<div class="leftcolumn" {{#ifexpr: {{{Spellcaster|0}}}=0|style="display:none;"}}>   
{| class="rpgtable box"
{| class="rpgtable box"
! colspan="4" |SIZE
! colspan="4" |SPELLCAST. ABILITY
|- class="big"
    | {{{SpellcastingAbility}}}
    |}
 
    {| class="rpgtable box"
! colspan="4" |SPELLCAST. MODIFIER
|- class="big"  
|- class="big"  
     | {{{Size|0}}}
     | {{#ifexpr:{{{{{{SpellcastingAbility}}}}}}>11|+|}}{{#expr:floor(({{{{{{SpellcastingAbility}}}}}}-10)/2)}}
     |}
     |}
</div>
</div>
<div class="rightcolumn">   
<div class="rightcolumn" {{#ifexpr: {{{Spellcaster|0}}}=0|style="display:none;"}}>   
{| class="rpgtable box"
{| class="rpgtable box"
! colspan="4" |PASSIVE PERCEPTION
! 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"  
|- class="big"  
     | {{#expr:10+floor(({{{Wis|0}}}-10)/2) + {{{Perception|0}}}*(2+floor(({{{Level|0}}}-1)/4))}}
     | +{{#expr: floor(({{{{{{SpellcastingAbility}}}}}}-10)/2) + 2+floor(({{{Level|0}}}-1)/4)}}
     |}
     |}
</div>
</div>
{{#if:{{{SectionR1|}}}|
<div {{#ifexpr: {{{Spellcaster|0}}}=0|style="display:none;"}}>
{{Template:GenericSection|name={{{SectionR1|}}}
{|class="rpgtable spellslots"
  |row1={{{SectionR1Row1|}}}
! colspan="6" | SPELL SLOTS
  |row1desc={{{SectionR1Row1Desc|}}}
|-
  |row2={{{SectionR1Row2|}}}
| Lvl 1:
  |row2desc={{{SectionR1Row2Desc|}}}
| {{Template:Circles|Circles={{#af_get: {{{SpellSlots}}} | 0 }}|small=small|FilledCircles={{#af_get: {{{SpellSlotsUsed}}} | 0 }}|PermanentCircles=0|Break=}}
  |row3={{{SectionR1Row3|}}}
| {{#ifexpr: {{#af_get: {{{SpellSlots}}} | 3 }}=0| class="disabled"{{!}}}} Lvl 4:
  |row3desc={{{SectionR1Row3Desc|}}}
| {{Template:Circles|Circles={{#af_get: {{{SpellSlots}}} | 3 }}|small=small|FilledCircles={{#af_get: {{{SpellSlotsUsed}}} | 3 }}|PermanentCircles=0|Break=}}
  |row4={{{SectionR1Row4|}}}
| {{#ifexpr: {{#af_get: {{{SpellSlots}}} | 6 }}=0| class="disabled"{{!}}}} Lvl 7:
  |row4desc={{{SectionR1Row4Desc|}}}
| {{Template:Circles|Circles={{#af_get: {{{SpellSlots}}} | 6 }}|small=small|FilledCircles={{#af_get: {{{SpellSlotsUsed}}} | 6 }}|PermanentCircles=0|Break=}}
  |row5={{{SectionR1Row5|}}}
|-
  |row5desc={{{SectionR1Row5Desc|}}}
| {{#ifexpr: {{#af_get: {{{SpellSlots}}} | 1 }}=0| class="disabled"{{!}}}} Lvl 2:
  |row6={{{SectionR1Row6|}}}
| {{Template:Circles|Circles={{#af_get: {{{SpellSlots}}} | 1 }}|small=small|FilledCircles={{#af_get: {{{SpellSlotsUsed}}} | 1 }}|PermanentCircles=0|Break=}}
  |row6desc={{{SectionR1Row6Desc|}}}
| {{#ifexpr: {{#af_get: {{{SpellSlots}}} | 4 }}=0| class="disabled"{{!}}}} Lvl 5:
  |row7={{{SectionR1Row7|}}}
| {{Template:Circles|Circles={{#af_get: {{{SpellSlots}}} | 4 }}|small=small|FilledCircles={{#af_get: {{{SpellSlotsUsed}}} | 4 }}|PermanentCircles=0|Break=}}
  |row7desc={{{SectionR1Row7Desc|}}}
| {{#ifexpr: {{#af_get: {{{SpellSlots}}} | 7 }}=0| class="disabled"{{!}}}} Lvl 8:
  |row8={{{SectionR1Row8|}}}
| {{Template:Circles|Circles={{#af_get: {{{SpellSlots}}} | 7 }}|small=small|FilledCircles={{#af_get: {{{SpellSlotsUsed}}} | 7 }}|PermanentCircles=0|Break=}}
  |row8desc={{{SectionR1Row8Desc|}}}
|-
  |row9={{{SectionR1Row9|}}}
| {{#ifexpr: {{#af_get: {{{SpellSlots}}} | 2 }}=0| class="disabled"{{!}}}} Lvl 3:
  |row9desc={{{SectionR1Row9Desc|}}}
| {{Template:Circles|Circles={{#af_get: {{{SpellSlots}}} | 2 }}|small=small|FilledCircles={{#af_get: {{{SpellSlotsUsed}}} | 2 }}|PermanentCircles=0|Break=}}
  |row10={{{SectionR1Row10|}}}
| {{#ifexpr: {{#af_get: {{{SpellSlots}}} | 5 }}=0| class="disabled"{{!}}}} Lvl 6:
  |row10desc={{{SectionR1Row10Desc|}}}
| {{Template:Circles|Circles={{#af_get: {{{SpellSlots}}} | 5 }}|small=small|FilledCircles={{#af_get: {{{SpellSlotsUsed}}} | 5 }}|PermanentCircles=0|Break=}}
  |row11={{{SectionR1Row11|}}}
| {{#ifexpr: {{#af_get: {{{SpellSlots}}} | 8 }}=0| class="disabled"{{!}}}} Lvl 9:
  |row11desc={{{SectionR1Row11Desc|}}}
| {{Template:Circles|Circles={{#af_get: {{{SpellSlots}}} | 8 }}|small=small|FilledCircles={{#af_get: {{{SpellSlotsUsed}}} | 8 }}|PermanentCircles=0|Break=}}
  |row12={{{SectionR1Row12|}}}
|}
  |row12desc={{{SectionR1Row12Desc|}}}
</div>
}}|}}
 
{{#if:{{{SectionR2|}}}|
<!-- Display all spells/sections  for the LEFT column -->
{{Template:GenericSection|name={{{SectionR2|}}}
{{#if:{{{GenericSectionsPage2|}}}|
  |row1={{{SectionR2Row1|}}}
   {{#af_foreach:{{{GenericSectionsPage2}}}| |Section|{{#ifeq: {{#sub:{{#af_get: {{{Section}}} | 0 }}|0|{{#pos:{{#af_get: {{{Section}}} | 0 }}|::}}}} | Left | {{#switch: {{#af_get: {{{Section}}} | 1 }}
  |row1desc={{{SectionR2Row1Desc|}}}
| 0 | 1 | 2 | 3 | 4 | 5 | 6 | 8 | 9 = {{Template:DisplaySpell|{{{Section}}}}}
  |row2={{{SectionR2Row2|}}}
| #default = {{Template:DisplaySection|{{{Section}}}}}}} |}}
  |row2desc={{{SectionR2Row2Desc|}}}
  }}
  |row3={{{SectionR2Row3|}}}
}}
  |row3desc={{{SectionR2Row3Desc|}}}
 
  |row4={{{SectionR2Row4|}}}
</div>
  |row4desc={{{SectionR2Row4Desc|}}}
<div class="column">
  |row5={{{SectionR2Row5|}}}
<!-- Display all spells/sections for the MIDDLE column -->
  |row5desc={{{SectionR2Row5Desc|}}}
{{#if:{{{GenericSectionsPage2|}}}|
   |row6={{{SectionR2Row6|}}}
   {{#af_foreach:{{{GenericSectionsPage2}}}| |Section|{{#ifeq: {{#sub:{{#af_get: {{{Section}}} | 0 }}|0|{{#pos:{{#af_get: {{{Section}}} | 0 }}|::}}}} | Middle| {{#switch: {{#af_get: {{{Section}}} | 1 }}
  |row6desc={{{SectionR2Row6Desc|}}}
| 0 | 1 | 2 | 3 | 4 | 5 | 6 | 8 | 9 = {{Template:DisplaySpell|{{{Section}}}}}
  |row7={{{SectionR2Row7|}}}
| #default = {{Template:DisplaySection|{{{Section}}}}}}} |}}
  |row7desc={{{SectionR2Row7Desc|}}}
  }}
  |row8={{{SectionR2Row8|}}}
}}
  |row8desc={{{SectionR2Row8Desc|}}}
</div>
  |row9={{{SectionR2Row9|}}}
<div class="column">
   |row9desc={{{SectionR2Row9Desc|}}}
<!-- Display all spells/sections for the RIGHTcolumn -->
  |row10={{{SectionR2Row10|}}}
{{#if:{{{GenericSectionsPage2|}}}|
  |row10desc={{{SectionR2Row10Desc|}}}
  {{#af_foreach:{{{GenericSectionsPage2}}}| |Section|{{#ifeq: {{#sub:{{#af_get: {{{Section}}} | 0 }}|0|{{#pos:{{#af_get: {{{Section}}} | 0 }}|::}}}} | Right| {{#switch: {{#af_get: {{{Section}}} | 1 }}
  |row11={{{SectionR2Row11|}}}
| 0 | 1 | 2 | 3 | 4 | 5 | 6 | 8 | 9 = {{Template:DisplaySpell|{{{Section}}}}}
  |row11desc={{{SectionR2Row11Desc|}}}
| #default = {{Template:DisplaySection|{{{Section}}}}}}} |}}
  |row12={{{SectionR2Row12|}}}
  }}
  |row12desc={{{SectionR2Row12Desc|}}}
}}
}}|}}
</div>
{{#if:{{{SectionR3|}}}|
</div>
{{Template:GenericSection|name={{{SectionR3|}}}
 
  |row1={{{SectionR3Row1|}}}
<div class="container" {{#ifexpr: {{{showPage3|0}}}=0|style="display:none;"}}>
  |row1desc={{{SectionR3Row1Desc|}}}
<div class="column">
  |row2={{{SectionR3Row2|}}}
<!-- Display all spells/sections for the MIDDLE column -->
  |row2desc={{{SectionR3Row2Desc|}}}
{{#if:{{{GenericSectionsPage3|}}}|
  |row3={{{SectionR3Row3|}}}
   {{#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}}}}}}}}}
  |row3desc={{{SectionR3Row3Desc|}}}
}}
  |row4={{{SectionR3Row4|}}}
</div>
   |row4desc={{{SectionR3Row4Desc|}}}
<div class="column">
  |row5={{{SectionR3Row5|}}}
<!-- Display all spells/sections for the MIDDLE column -->
  |row5desc={{{SectionR3Row5Desc|}}}
{{#if:{{{GenericSectionsPage3|}}}|
  |row6={{{SectionR3Row6|}}}
   {{#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}}}}}}}}}
  |row6desc={{{SectionR3Row6Desc|}}}
}}
  |row7={{{SectionR3Row7|}}}
</div>
   |row7desc={{{SectionR3Row7Desc|}}}
<div class="column">
  |row8={{{SectionR3Row8|}}}
<!-- Display all spells/sections for the RIGHTcolumn -->
  |row8desc={{{SectionR3Row8Desc|}}}
{{#if:{{{GenericSectionsPage3|}}}|
  |row9={{{SectionR3Row9|}}}
   {{#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}}}}}}}}}
  |row9desc={{{SectionR3Row9Desc|}}}
}}
  |row10={{{SectionR3Row10|}}}
   |row10desc={{{SectionR3Row10Desc|}}}
  |row11={{{SectionR3Row11|}}}
  |row11desc={{{SectionR3Row11Desc|}}}
  |row12={{{SectionR3Row12|}}}
  |row12desc={{{SectionR3Row12Desc|}}}
}}|}}
</div>
</div>
</div>
</div>
Line 398: Line 338:
<div class="background">
<div class="background">
<h3>Background</h3>
<h3>Background</h3>
{{{Background}}}
{{{BackgroundStory}}}
</includeonly>
</includeonly>

Latest revision as of 09:34, 18 November 2024