Template:CharacterSheet: Difference between revisions
From The Wild Beyond the Witchlight
No edit summary |
No edit summary |
||
(364 intermediate revisions by 2 users not shown) | |||
Line 6: | Line 6: | ||
<div class="column"> | <div class="column"> | ||
<!-- | <!-- CHARACTER --> | ||
<div class=" | <div class="leftcolumn wider"> | ||
{|class="rpgtable character" | |||
! colspan="4" | CHARACTER | |||
|- | |||
| Name | |||
| colspan="3" | {{{Name}}} | |||
|- | |||
| Player | |||
| colspan="3" | {{{Player}}} | |||
|- | |||
| Background | |||
| colspan="3" | {{{Background}}} | |||
|- | |||
| Species | |||
| colspan="3" | {{{Species}}} | |||
|- | |||
| Class | |||
| colspan="3" | {{{Class}}} | |||
|- | |||
| Subclass | |||
| colspan="3" | {{{Subclass}}} | |||
|- | |||
| Alignment | |||
| colspan="3" | {{{Alignment|}}} | |||
|} | |||
</div> | |||
<div class="rightcolumn smaller"> | |||
{|class="rpgtable level" | |||
! LEVEL | |||
|- | |||
| <div id="base">{{{Level}}}</div> | |||
|- | |||
| XP: {{{Xp|...}}} | |||
|} | |||
{|class="rpgtable lost" | |||
! LOST | |||
|- | |||
| {{{LostFeature|}}} | |||
|} | |||
</div> | |||
<!-- STATS & SKILLS --> | |||
<div class="statsdiv"> | |||
<div class="leftcolumn"> | <div class="leftcolumn"> | ||
{| class="rpgtable stats" | {| class="rpgtable stats" | ||
! |PROFICIENCY BONUS | ! |PROFICIENCY BONUS | ||
|- | |- | class="big" | ||
| +2 | | +{{#expr:2+floor(({{{Level|0}}}-1)/4) }} | ||
|} | |} | ||
{| class="rpgtable stats" | {| class="rpgtable stats" | ||
! colspan="4" | STRENGTH | ! colspan="4" | STRENGTH | ||
{{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=Athletics|SkillProf={{{Athletics|0}}}}} | ||
| | |||
|} | |} | ||
{| class="rpgtable stats" | |||
! colspan="4" | DEXTERITY | |||
|- | class="big" | |||
{{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=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=Stealth|SkillProf={{{Stealth|0}}}}} | |||
! | |||
|- | |||
| | |||
|} | |} | ||
{| class="rpgtable stats" | |||
! colspan="4" | CONSTITUTION | |||
{{Template:StatRow|Stat={{{Con|0}}}}} | |||
{{Template:SkillRow|Level={{{Level|0}}}|Attr={{{Con|0}}}|Skill=Saving Throw|SkillProf={{{ConProf|0}}}}} | |||
! colspan="4" | | |||
|} | |} | ||
{| class="rpgtable stats heroic" | |||
! |HEROIC INSPIRATION | |||
|- | class="big" | |||
| {{#ifexpr:{{{HeroicInspiration|0}}}=1|✦|✧}} | |||
! | |||
|- | |||
| {{# | |||
|} | |} | ||
</div> | |||
<div class="rightcolumn"> | |||
{| class="rpgtable stats" | |||
<div class=" | ! colspan="4" | INTELLIGENCE | ||
{| class="rpgtable" | {{Template:StatRow|Stat={{{Int|0}}}}} | ||
! colspan=" | {{Template:SkillRow|Level={{{Level|0}}}|Attr={{{Int|0}}}|Skill=Saving Throw|SkillProf={{{IntProf|0}}}}} | ||
| | {{Template:SkillRow|Level={{{Level|0}}}|Attr={{{Int|0}}}|Skill=Arcana|SkillProf={{{Arcana|0}}}}} | ||
{{Template:SkillRow|Level={{{Level|0}}}|Attr={{{Int|0}}}|Skill=History|SkillProf={{{History|0}}}}} | |||
{{Template:SkillRow|Level={{{Level|0}}}|Attr={{{Int|0}}}|Skill=Investigation|SkillProf={{{Investigation|0}}}}} | |||
{{Template:SkillRow|Level={{{Level|0}}}|Attr={{{Int|0}}}|Skill=Nature|SkillProf={{{Nature|0}}}}} | |||
{{Template:SkillRow|Level={{{Level|0}}}|Attr={{{Int|0}}}|Skill=Religion|SkillProf={{{Religion|0}}}}} | |||
|} | |} | ||
{| class="rpgtable stats" | |||
! colspan="4" | WISDOM | |||
! | {{Template:StatRow|Stat={{{Wis|0}}}}} | ||
| | {{Template:SkillRow|Level={{{Level|0}}}|Attr={{{Wis|0}}}|Skill=Saving Throw|SkillProf={{{WisProf|0}}}}} | ||
|{{Template: | {{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=Medicine|SkillProf={{{Medicine|0}}}}} | |||
{{Template:SkillRow|Level={{{Level|0}}}|Attr={{{Wis|0}}}|Skill=Perception|SkillProf={{{Perception|0}}}}} | |||
{{Template:SkillRow|Level={{{Level|0}}}|Attr={{{Wis|0}}}|Skill=Survival|SkillProf={{{Survival|0}}}}} | |||
|} | |} | ||
{| class="rpgtable stats" | |||
! colspan="4" | CHARISMA | |||
! colspan=" | {{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=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=Performance|SkillProf={{{Performance|0}}}|ExtraAttr={{{{{{PerformanceAdd|}}}|10}}}}} | ||
{{Template:SkillRow|Level={{{Level|0}}}|Attr={{{Cha|0}}}|Skill=Persuasion|SkillProf={{{Persuasion|0}}}|ExtraAttr={{{{{{PersuasionAdd|x}}}|10}}}}} | |||
| | |||
| | |||
| | |||
|} | |} | ||
</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}}}}} |}}}}}} | |||
</div> | </div> | ||
<div class="column"> | <div class="column"> | ||
<!-- AC--> | |||
<!-- | <div class="leftcolumn"> | ||
<div class=" | {| class="rpgtable armorclass" | ||
! colspan="4" |ARMOR CLASS | |||
! colspan=" | |- 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> | ||
|} | |||
{| class="rpgtable deathsaves" | |||
! colspan="4" |DEATH SAVES | |||
|- | |||
| | | colspan="2"| Successes | ||
| colspan="2"| {{Template:Circles|Circles=3|FilledCircles={{{DeathSaveSuccesses|0}}}|PermanentCircles=0|Break= }} | |||
- | |- | ||
| colspan="2"|Failures | |||
| colspan="2"| {{Template:Circles|Circles=3|FilledCircles={{{DeathSaveFailures|0}}}|PermanentCircles=0|Break= }} | |||
|} | |||
| | {| 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=" | {| class="rpgtable hitpoints" | ||
{| class="rpgtable" | ! colspan="2" |HIT POINTS | ||
|- | |||
| Max | |||
| {{#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 | |||
| {{{CurrentHp|}}} | |||
|- | |||
| Temp | |||
| {{{TempHp|}}} | |||
|} | |||
{| class="rpgtable hitdice" | |||
! colspan="4" |HIT DICE | |||
|- | |||
| Max | |||
| '''{{{Level|0}}}d{{{HitDie|1}}}''' | |||
| Spent | |||
| {{{HitDiceSpend|}}} | |||
|} | |||
{| class="rpgtable box" | |||
{{ | ! colspan="4" |SPEED | ||
|- class="big" | |||
{ | | {{{Speed|0}}} | ||
|} | |||
{| 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> | </div> | ||
<!-- WEAPONS--> | <!-- WEAPONS--> | ||
<div class="weapons"> | <div class="weapons"> | ||
{| class="rpgtable" | {| class="rpgtable"" | ||
! WEAPONS | ! WEAPONS/CANTRIPS | ||
! | ! ATT/DC | ||
! DMG/TYPE | |||
! | |- class="weapon" | | ||
|- | |||
| {{{Weapon1| }}} | | {{{Weapon1| }}} | ||
| {{#if: {{{ | | {{#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}}}}} }} }} | ||
| {{{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 class="notes"><td class="special" colspan="3">{{{Weapon1Notes| }}}</td></tr>}} | |||
|- class="weapon" | | |||
{{#ifeq: {{{ | |||
|- | |||
| {{{Weapon2| }}} | | {{{Weapon2| }}} | ||
| {{#if: {{{ | | {{#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}}}}} }} }} | ||
| {{# | | {{{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| }}}</td></tr>}} | ||
{{#if:{{{Weapon3|}}} | | |||
{{!}}- class="weapon" {{!}} | |||
{{#ifeq: {{{ | {{!}} {{{Weapon3| }}} | ||
{{!}} {{#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| }}}</td></tr>}} | |||
|}} | |||
| {{# | {{#if:{{{Weapon4|}}} | | ||
{{!}}- class="weapon" {{!}} | |||
{{!}} {{{Weapon4| }}} | |||
{{#ifeq: {{{ | {{!}} {{#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| }}}</td></tr>}} | |||
|}} | |||
|} | |} | ||
</div> | </div> | ||
{{#if:{{{GenericSections|}}}| | |||
{{#af_foreach:{{{GenericSections}}}| |Section|{{#ifeq: {{#sub:{{#af_get: {{{Section}}} | 0 }}|0|{{#pos:{{#af_get: {{{Section}}} | 0 }}|::}}}} | Middle | {{Template:DisplaySection|{{{Section}}}}} |}}}} | |||
}} | |||
</div> | </div> | ||
<div class="column"> | <div class="column"> | ||
<!-- IMAGE --> | <!-- IMAGE --> | ||
<div class="image"> | <div class="image"> | ||
Line 342: | Line 224: | ||
</div> | </div> | ||
{{#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" | |||
! 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> | ||
<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="rpgtable" | |- class="big" | ||
| +{{#expr: floor(({{{{{{SpellcastingAbility}}}}}}-10)/2) + 2+floor(({{{Level|0}}}-1)/4)}} | |||
|} | |||
</div> | </div> | ||
<div | <div {{#ifexpr: {{{Spellcaster|0}}}=0|style="display:none;"}}> | ||
{|class="rpgtable spellslots" | |||
! | ! colspan="6" | SPELL SLOTS | ||
|- | |- | ||
| {{Template:Circles|Circles= | | 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> | ||
<!-- | <!-- Display all spells/sections for the LEFT column --> | ||
<div class=" | {{#if:{{{GenericSectionsPage2|}}}| | ||
{| class=" | {{#af_foreach:{{{GenericSectionsPage2}}}| |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 class="column"> | |||
<!-- Display all spells/sections for the MIDDLE column --> | |||
{{#if:{{{GenericSectionsPage2|}}}| | |||
{{#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}}}}} | |||
| #default = {{Template:DisplaySection|{{{Section}}}}}}} |}} | |||
}} | |||
}} | |||
</div> | |||
<div class="column"> | |||
<!-- Display all spells/sections for the RIGHTcolumn --> | |||
{{#if:{{{GenericSectionsPage2|}}}| | |||
{{#af_foreach:{{{GenericSectionsPage2}}}| |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 class=" | <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 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 |Middle.Spell={{Template:DisplaySpell|{{{Section}}}}} |Middle={{Template:DisplaySection|{{{Section}}}}}}}}} | |||
}} | |||
</div> | </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> | ||
Line 412: | Line 338: | ||
<div class="background"> | <div class="background"> | ||
<h3>Background</h3> | <h3>Background</h3> | ||
{{{ | {{{BackgroundStory}}} | ||
</includeonly> | </includeonly> |
Latest revision as of 09:34, 18 November 2024