MediaWiki:Common.css
From The Orc War
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Press Ctrl-F5.
__NOTOC__
<includeonly>
{{DISPLAYTITLE:{{{Name}}}}}
[[Category:Player Characters]]
<center><div class="container">
<div class="column">
<div class="displaysection">
{|class="rpgtable character"
! colspan="4" | CHARACTER
|-
| Name
| colspan="2" | {{{Name}}}
| rowspan="4" style="width: 50px; text-align: center;" | <div class="levelIcon" style="margin-right:5px; margin-top:5px;">{{{Level}}}</div>Level
|-
| Player
| colspan="2" | {{{Player}}}
|-
| Class
| colspan="2" | {{{Class}}}
|-
| Kin
| colspan="2" | {{{Kin}}}
|-
| Description
| colspan="3" | {{{Description}}}
|}
</div>
<!-- STATS -->
<div class="statsdiv">
{|class="rpgtable stats"
! colspan="6" | ABILITY SCORES
|-
| {{Template:StatRow|Stat={{{Str|0}}}}}
| {{Template:StatRow|Stat={{{Dex|0}}}}}
| {{Template:StatRow|Stat={{{Con|0}}}}}
|-
| '''STRENGTH'''
| '''DEXTERITY'''
| '''CONSTITUTION'''
|-
| {{Template:StatRow|Stat={{{Wis|0}}}}}
| {{Template:StatRow|Stat={{{Int|0}}}}}
| {{Template:StatRow|Stat={{{Cha|0}}}}}
|-
| '''WISDOM'''
| '''INTELLIGENCE'''
| '''CHARISMA'''
|}
</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}}}}} |}}}}}}
</div>
<div class="column">
<div class="displaysection">
{|class="rpgtable oneuniquething"
! One Unique Thing
|-
|{{{OneUniqueThing|''to be determined''}}}
|}
</div>
<!-- Defenses & Initiative -->
<div class="displaysection">
{| class="rpgtable armorclass"
! colspan="3" |Defenses & Initiative
|-
| <div class="pd">{{{PhyisicalDefense|0}}}</div>'''PHYSICAL'''<br>'''DEFENSE'''
| <div class="ac">{{{ArmorClass|0}}}</div>'''ARMOR CLASS'''<br><div class="init">{{{Initiative|0}}}</div>'''INITIATIVE'''
| <div class="md">{{{MentalDefense|0}}}</div>'''MENTAL'''<br>'''DEFENSE'''
|}
</div>
<!-- Hitpoints & Recoveries -->
<div class="displaysection">
{| class="rpgtable hitpoints"
! colspan="6" |Hitpoints & Recoveries
|-
| <div class="staggered">11</div>'''STAGG.'''
| <div class="maxhp">{{{MaxHp|0}}}</div>'''MAX HP'''
| <div class="dead">-11</div>'''DEAD'''
| colspan="3" style="width:50%;"|{{Template:Circles|Circles=5|FilledCircles={{{SpendRecoveries|0}}}|PermanentCircles=0|Break= }}<br>{{Template:Circles|Circles={{#expr:{{{MaxRecoveries|0}}}-5}}|FilledCircles={{#expr:{{{SpendRecoveries|0}}}-5}}|PermanentCircles=0|Break= }}<br>'''RECOVERIES'''
|-
| colspan="3" | <div class="currenthp">CURRENT HP<br>1</div>
| colspan="3" | <div class="recoveryDies">{{{RecoveryDie|0}}}</div>'''RECOVERY DICE'''
|-
| colspan="3" | <div class="temphp">TEMP HP<br>2</div>
| colspan="3" | {{Template:Circles|Circles=5|FilledCircles={{{Skulls|0}}}|PermanentCircles=0|Break= }}
|}
</div>
<!-- AC-->
<div class="leftcolumn">
{| class="rpgtable armorclass"
! colspan="4" |ARMOR CLASS
|- 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= }}
|}
<div class="leftcolumn">
{| 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)))}}
|}
</div>
<div class="rightcolumn">
{| class="rpgtable box"
! colspan="4" |PASSIVE P.
|- class="big"
| {{#expr:10+floor(({{{Wis|0}}}-10)/2) + floor({{{Perception|0}}}*(2+floor(({{{Level|0}}}-1)/4)))}}
|}
</div>
</div>
<div class="rightcolumn">
{| class="rpgtable hitpoints"
! 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
|-
| {{#if:{{{HitDie|}}}|d{{{HitDie|}}}:|d{{{HitDie1|}}}:<br>d{{{HitDie2|}}}:}}
| colspan="3" | {{#if:{{{HitDie|}}}|{{Template:Circles|Circles={{{Level|0}}}|FilledCircles={{{HitDiceSpend|0}}}|PermanentCircles=0|Break= }}|{{Template:Circles|Circles={{{HitDieCount1|0}}}|FilledCircles={{{HitDiceSpend1|0}}}|PermanentCircles=0|Break= }}<br>{{Template:Circles|Circles={{{HitDieCount2|0}}}|FilledCircles={{{HitDiceSpend2|0}}}|PermanentCircles=0|Break= }}}}
|}
<div class="leftcolumn">
{| class="rpgtable box"
! colspan="4" |SPEED
|- class="big"
| {{{Speed|0}}}
|}
</div>
<div class="rightcolumn">
{| class="rpgtable box"
! colspan="4" |SIZE
|- class="big smallerfont"
| {{{Size|0}}}
|}
</div>
</div>
<!-- WEAPONS-->
<div style="clear:both;"></div>
<div class="weapons displaysection">
{| class="rpgtable""
! WEAPONS/CANTRIPS
! ATT/DC
! DMG/TYPE
|- class="weapon" |
| {{{Weapon1| }}}
| {{#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}}}+{{{Weapon1AttackRollBonus|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" |
| {{{Weapon2| }}}
| {{#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" {{!}}
{{!}} {{{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| }}}
{{!}} {{#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>
{{#if:{{{GenericSections|}}}|
{{#af_foreach:{{{GenericSections}}}| |Section|{{#ifeq: {{#sub:{{#af_get: {{{Section}}} | 0 }}|0|{{#pos:{{#af_get: {{{Section}}} | 0 }}|::}}}} | Middle | {{Template:DisplaySection|{{{Section}}}}} |}}}}
}}
</div>
<div class="column">
<!-- IMAGE -->
<div class="image">
{| class="rpgtable" style="width:100%;"
! APPEARANCE
|-
| <div class="portrait">{{#if: {{{Image|}}} | [[File:{{{Image}}}]] | {{{ImageCrop|}}} }}</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 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="big"
| +{{#expr: floor(({{{{{{SpellcastingAbility}}}}}}-10)/2) + 2+floor(({{{Level|0}}}-1)/4)}}
|}
</div>
<div style="clear:both;"></div>
<div {{#ifexpr: {{{Spellcaster|0}}}=0|style="display:none;"}} class="displaysection">
{|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>
<!-- Display all spells/sections for the LEFT column -->
{{#if:{{{GenericSectionsPage2|}}}|
{{#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 class="container" {{#ifexpr: {{{showPage3|0}}}=0|style="display:none;"}}>
<div class="column">
<!-- Display all spells/sections for the LEFT column -->
{{#if:{{{GenericSectionsPage3|}}}|
{{#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 class="column">
<!-- Display all spells/sections for the MIDDLE column -->
{{#if:{{{GenericSectionsPage3|}}}|
{{#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 class="column">
<!-- Display all spells/sections for the RIGHTcolumn -->
{{#if:{{{GenericSectionsPage3|}}}|
{{#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>
<div class="container" {{#ifexpr: {{{showPage4|0}}}=0|style="display:none;"}}>
<div class="column">
<!-- Display all spells/sections for the LEFT column -->
{{#if:{{{GenericSectionsPage4|}}}|
{{#af_foreach:{{{GenericSectionsPage4}}}| |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:{{{GenericSectionsPage4|}}}|
{{#af_foreach:{{{GenericSectionsPage4}}}| |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:{{{GenericSectionsPage4|}}}|
{{#af_foreach:{{{GenericSectionsPage4}}}| |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>
</center>
<div class="background">
<h3>Background</h3>
{{{BackgroundStory}}}
</includeonly>