Template:CharacterSheet: Difference between revisions
From The Orc War
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{ | __NOTOC__ | ||
|### | <includeonly> | ||
|### | {{#vardefine:level|{{{Level}}}}} | ||
! | {{#vardefine:strBonus|{{#expr:floor(({{{Str|0}}}-10)/2)}}}} | ||
!# | {{#vardefine:conBonus|{{#expr:floor(({{{Con|0}}}-10)/2)}}}} | ||
| | {{#vardefine:dexBonus|{{#expr:floor(({{{Dex|0}}}-10)/2)}}}} | ||
| | {{#vardefine:wisBonus|{{#expr:floor(({{{Wis|0}}}-10)/2)}}}} | ||
| | {{#vardefine:intBonus|{{#expr:floor(({{{Int|0}}}-10)/2)}}}} | ||
| | {{#vardefine:chaBonus|{{#expr:floor(({{{Cha|0}}}-10)/2)}}}} | ||
| | {{DISPLAYTITLE:{{{Name}}}}} | ||
| | [[Category:Player Characters]] | ||
| | <center><div class="container"> | ||
| | <div class="column"> | ||
| | <!-- CHARACTER--> | ||
| | <div class="displaysection"> | ||
| | {|class="rpgtable character" | ||
|### | ! colspan="4" | CHARACTER | ||
| | |- | ||
| | | Name | ||
| | | colspan="2" | {{{Name}}} | ||
| rowspan="4" style="width: 50px; font-size: 11px; text-align: center;" | <div class="levelIcon">{{#var:level}}</div>'''LEVEL''' | |||
|- | |||
| Player | |||
| colspan="2" | {{{Player}}} | |||
|- | |||
| Class | |||
| colspan="2" | {{{Class}}} | |||
|- | |||
| Kin | |||
| colspan="2" | {{{Kin}}} | |||
|- | |||
| Description | |||
| colspan="3" | {{{Description}}} | |||
|} | |||
</div> | |||
<!-- ONE UNIQUE THING--> | |||
<div class="displaysection"> | |||
{|class="rpgtable oneuniquething" | |||
! One Unique Thing | |||
|- | |||
|{{{OneUniqueThing|''to be determined''}}} | |||
|} | |||
</div> | |||
<!-- BACKGROUNDS --> | |||
<div class="displaysection"> | |||
{| class="rpgtable background" | |||
! BACKGROUND | |||
! BONUS | |||
|- | |||
| {{{background1|}}} | |||
| +{{{background1Bonus|}}}{{#if:{{{background2|}}}|<tr><td>{{{background2|}}}</td><td>+{{{background2Bonus|}}}</td></tr>}}{{#if:{{{background3|}}}|<tr><td>{{{background3|}}}</td><td>+{{{background3Bonus|}}}</td></tr>}}{{#if:{{{background4|}}}|<tr><td>{{{background4|}}}</td><td>+{{{background4Bonus|}}}</td></tr>}}{{#if:{{{background5|}}}|<tr><td>{{{background5|}}}</td><td>+{{{background5Bonus|}}}</td></tr>}} | |||
|- | |||
| colspan="2" class="smallfont" style="text-align:center;" | ''Skill Check = {{#var:level}} + Ability Modifier + Background'' | |||
|} | |||
</div> | |||
<!-- ICON RELATIONSHIPS --> | |||
<div class="displaysection"> | |||
{| class="rpgtable icons" | |||
! ICON | |||
! TYPE | |||
! 5+ | |||
! USED | |||
|- | |||
| {{{icon1|}}} | |||
| {{{icon1Type|}}} | |||
| {{Template:Circles|Circles={{{icon1Points|}}}|small=small|FilledCircles={{{icon1Rolled|}}}|PermanentCircles=0|Break= }} | |||
| {{Template:Circles|Circles={{{icon1Points|}}}|small=small|FilledCircles={{{icon1Used|}}}|PermanentCircles=0|Break= }}{{#if:{{{icon2|}}}|<tr><td>{{{icon2|}}}</td><td>{{{icon2Type|}}}</td><td>{{Template:Circles|Circles={{{icon2Points|}}}|small=small|FilledCircles={{{icon2Rolled|}}}|PermanentCircles=0|Break= }}</td><td>{{Template:Circles|Circles={{{icon2Points|}}}|small=small|FilledCircles={{{icon2Used|}}}|PermanentCircles=0|Break= }}</td></tr>}}{{#if:{{{icon3|}}}|<tr><td>{{{icon3|}}}</td><td>{{{icon3Type|}}}</td><td>{{Template:Circles|Circles={{{icon3Points|}}}|small=small|FilledCircles={{{icon3Rolled|}}}|PermanentCircles=0|Break= }}</td><td>{{Template:Circles|Circles={{{icon3Points|}}}|small=small|FilledCircles={{{icon3Used|}}}|PermanentCircles=0|Break= }}</td></tr>}} | |||
|} | |||
</div> | |||
<div style="clear:both;"></div> | |||
<!-- GENERIC LEFT --> | |||
{{#if:{{{GenericSections|}}}| | |||
{{#af_foreach:{{{GenericSections}}}| |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"> | |||
<!-- ABILITIES --> | |||
<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> | |||
|#### | <!-- Defenses & Initiative --> | ||
| | <div class="displaysection"> | ||
| | {| class="rpgtable armorclass" | ||
| | ! colspan="3" |Defenses & Initiative | ||
| | |- | ||
| | | <div class="pd">{{#expr:{{{PhysicalDefenseBase|0}}}+{{#var:level}}+{{{PhysicalDefenseSpecialBonus|0}}}+{{#ifexpr:{{#var:strBonus}} > {{#var:dexBonus}} and {{#var:strBonus}} < {{#var:conBonus}} or {{#var:strBonus}} < {{#var:dexBonus}} and {{#var:strBonus}} > {{#var:conBonus}} | {{#var:strBonus}} | {{#ifexpr:{{#var:dexBonus}} > {{#var:strBonus}} and {{#var:dexBonus}} < {{#var:conBonus}} or {{#var:dexBonus}} < {{#var:strBonus}} and {{#var:dexBonus}} > {{#var:conBonus}} | {{#var:dexBonus}} | {{#var:conBonus}} }}}}}}</div>'''PHYSICAL'''<br>'''DEFENSE''' | ||
| | | <div class="ac">{{#expr:{{{ArmorClassBase|0}}}+{{#var:level}}+{{{ArmorClassSpecialBonus|0}}}+{{#ifexpr:{{#var:wisBonus}} > {{#var:dexBonus}} and {{#var:wisBonus}} < {{#var:conBonus}} or {{#var:wisBonus}} < {{#var:dexBonus}} and {{#var:wisBonus}} > {{#var:conBonus}} | {{#var:wisBonus}} | {{#ifexpr:{{#var:dexBonus}} > {{#var:wisBonus}} and {{#var:dexBonus}} < {{#var:conBonus}} or {{#var:dexBonus}} < {{#var:wisBonus}} and {{#var:dexBonus}} > {{#var:conBonus}} | {{#var:dexBonus}} | {{#var:conBonus}} }}}}}}</div>'''ARMOR CLASS'''<br><div class="init">+{{#expr:{{#var:dexBonus}}+{{#var:level}}+{{{InitiativeSpecialBonus|0}}}}}</div>'''INITIATIVE''' | ||
| <div class="md">{{#expr:{{{MentalDefenseBase|0}}}+{{#var:level}}+{{{MentalDefenseSpecialBonus|0}}}+{{#ifexpr:{{#var:wisBonus}} > {{#var:intBonus}} and {{#var:wisBonus}} < {{#var:chaBonus}} or {{#var:wisBonus}} < {{#var:intBonus}} and {{#var:wisBonus}} > {{#var:chaBonus}} | {{#var:wisBonus}} | {{#ifexpr:{{#var:intBonus}} > {{#var:wisBonus}} and {{#var:intBonus}} < {{#var:chaBonus}} or {{#var:intBonus}} < {{#var:wisBonus}} and {{#var:intBonus}} > {{#var:chaBonus}} | {{#var:intBonus}} | {{#var:chaBonus}} }}}}}}</div>'''MENTAL'''<br>'''DEFENSE''' | |||
|} | |||
</div> | |||
|#### | <!-- WEAPONS--> | ||
| | <div style="clear:both;"></div> | ||
| | <div class="weapons displaysection"> | ||
| | {| class="rpgtable"" | ||
| | ! WEAPON | ||
| | ! ATTACK | ||
| | ! HIT DAMAGE | ||
! MISS | |||
|- class="weapon" | | |||
| {{{BasicMeleeAttackWeapon| }}} | |||
| +{{#expr:{{#var:{{{BasicMeleeAttackAbility}}}Bonus}}+{{{BasicMeleeAttackMagicBon|0}}}+{{#var:level}}}} | |||
| {{#var:level}}{{{BasicMeleeAttackWeaponDie|0}}}+{{#expr:{{#var:{{{BasicMeleeAttackAbility}}}Bonus}}+{{{BasicMeleeAttackMagicBon|0}}}}} | |||
| {{#ifexpr: {{{BasicMeleeAttackMiss|0}}}>0|{{#var:level}}|0}} | |||
{{#ifeq: {{{BasicMeleeAttackSpecial}}} | | | <tr class="notes"><td class="special" colspan="4">{{{BasicMeleeAttackSpecial| }}}</td></tr>}} | |||
|- class="weapon" | | |||
| {{{BasicRangedAttackWeapon| }}} | |||
| +{{#expr:{{#var:{{{BasicRangedAttackAbility}}}Bonus}}+{{{BasicRangedAttackMagicBon|0}}}+{{#var:level}}}} | |||
| {{#var:level}}{{{BasicRangedAttackWeaponDie|0}}}+{{#expr:{{#var:{{{BasicRangedAttackAbility}}}Bonus}}+{{{BasicRangedAttackMagicBon|0}}}}} | |||
| {{#ifexpr: {{{BasicRangedAttackMiss|0}}}>0|{{#var:level}}|0}} | |||
{{#ifeq: {{{BasicRangedAttackSpecial}}} | | | <tr class="notes"><td class="special" colspan="4">{{{BasicRangedAttackSpecial| }}}</td></tr>}} | |||
</div> | |||
{{#if:{{{GenericSections|}}}| | |||
{{#af_foreach:{{{GenericSections}}}| |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"> | |||
<!-- IMAGE --> | |||
<div class="image"> | |||
{| class="rpgtable" style="width:100%;" | |||
! APPEARANCE | |||
|- | |||
| <div class="portrait">{{#if: {{{Image|}}} | [[File:{{{Image}}}]] | {{{ImageCrop|}}} }}</div> | |||
|} | |||
</div> | |||
<!-- Hitpoints & Recoveries --> | |||
<div class="displaysection"> | |||
{| class="rpgtable hitpoints" | |||
! colspan="6" |Hitpoints & Recoveries | |||
|- | |||
| <div class="staggered">{{#expr:floor((({{{BaseClassHp|0}}}+{{#var:conBonus}})*(2+{{#var:level}}))/2)}}</div>'''STAGG.''' | |||
| <div class="maxhp">{{#expr: ({{{BaseClassHp|0}}}+{{#var:conBonus}})*(2+{{#var:level}})}}</div>'''MAX HP''' | |||
| <div class="dead">-{{#expr:floor((({{{BaseClassHp|0}}}+{{#var:conBonus}})*(2+{{#var:level}}))/2)}}</div>'''DEAD''' | |||
| colspan="3" style="width:50%;"|<div class="recoverySquares">{{Template:Circles|Circles=3|small=square|FilledCircles={{{SpendRecoveries|0}}}|PermanentCircles=0|Break= }}<br>{{Template:Circles|Circles=3|small=square|FilledCircles={{#expr:{{{SpendRecoveries|0}}}-3}}|PermanentCircles=0|Break= }}<br>{{Template:Circles|Circles={{#expr:{{{MaxRecoveries|0}}}-6}}|small=square|FilledCircles={{#expr:{{{SpendRecoveries|0}}}-6}}|PermanentCircles=0|Break= }}</div>'''RECOVERIES''' | |||
|- | |||
| colspan="3" | <div class="currenthp">CURRENT HP<br>{{{CurrentHp|}}}</div> | |||
| colspan="3" | <div class="recoveryDies">{{#var:level}}{{{RecoveryDie|0}}}+{{#var:conBonus}}</div>'''RECOVERY DICE''' | |||
|- | |||
| colspan="3" | <div class="temphp">TEMP HP<br>{{{TempHp|}}}</div> | |||
| colspan="3" | <span class="skull {{#ifexpr:{{{Skulls|0}}}>0|active}}">💀</span><span class="skull {{#ifexpr:{{{Skulls|0}}}>1|active}}">💀</span><span class="skull {{#ifexpr:{{{Skulls|0}}}>2|active}}">💀</span><span class="skull {{#ifexpr:{{{Skulls|0}}}>3|active}}">💀</span><span class="skull large {{#ifexpr:{{{Skulls|0}}}>4|active}}">💀</span> | |||
|} | |||
</div> | |||
| | <!-- CONDITIONS --> | ||
| | <div class="displaysection"> | ||
{| class="rpgtable background" | |||
! CONDITION / EFFECT / ONGOING DMG | |||
! SAVE | |||
|- | |||
| {{{condition1|}}} | |||
| {{{condition1Save|}}} | |||
|- | |||
| {{{condition2|}}} | |||
| {{{condition2Save|}}} | |||
|- | |||
| {{{condition3|}}} | |||
| {{{condition3Save|}}} | |||
|- | |||
| {{{condition4|}}} | |||
| {{{condition4Save|}}} | |||
|- | |||
| {{{condition5|}}} | |||
| {{{condition5Save|}}} | |||
|} | |||
</div> | |||
|#### | {{#if:{{{GenericSections|}}}| | ||
| | {{#af_foreach:{{{GenericSections}}}| |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: {{{showPage2|0}}}=0|style="display:none;"}}> | ||
| | <div class="column"> | ||
| | <!-- 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}}}}}}} |}} | |||
}} | |||
| | |||
{{# | |||
|0 | |||
| | |||
| | |||
{{# | |||
| | |||
| | |||
| | |||
| | |||
{{# | |||
| | |||
| | |||
| | |||
| | |||
}} | }} | ||
</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> |
Revision as of 14:05, 31 August 2025