Template:CharacterSheetTest: Difference between revisions
From The Wild Beyond the Witchlight
No edit summary |
No edit summary |
||
(13 intermediate revisions by the same user not shown) | |||
Line 113: | Line 113: | ||
</div> | </div> | ||
</div> | </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}}}}} |}}}}}} | {{#if:{{{GenericSections|}}}|{{#af_foreach:{{{GenericSections}}}| |Section|{{#ifeq: {{#sub:{{#af_get: {{{Section}}} | 0 }}|0|{{#pos:{{#af_get: {{{Section}}} | 0 }}|::}}}} | Left | {{Template:DisplaySection|{{{Section}}}}} |}}}}}} | ||
</div> | </div> | ||
Line 132: | Line 133: | ||
| colspan="2"| {{Template:Circles|Circles=3|FilledCircles={{{DeathSaveFailures|0}}}|PermanentCircles=0|Break= }} | | colspan="2"| {{Template:Circles|Circles=3|FilledCircles={{{DeathSaveFailures|0}}}|PermanentCircles=0|Break= }} | ||
|} | |} | ||
<div class="leftcolumn"> | <div class="leftcolumn"> | ||
{| class="rpgtable box" | {| class="rpgtable box" | ||
! colspan="4" |INITIATIVE | ! colspan="4" |INITIATIVE | ||
Line 138: | Line 139: | ||
| {{#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)))}} | | {{#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"> | <div class="rightcolumn"> | ||
{| class="rpgtable box" | {| class="rpgtable box" | ||
! colspan="4" | | ! colspan="4" |PASSIVE P. | ||
|- class="big | |- class="big" | ||
| {{{ | | {{#expr:10+floor(({{{Wis|0}}}-10)/2) + {{{Perception|0}}}*(2+floor(({{{Level|0}}}-1)/4))}} | ||
|} | |} | ||
</div> | |||
</div> | </div> | ||
<div class="rightcolumn"> | <div class="rightcolumn"> | ||
Line 163: | Line 164: | ||
! colspan="4" |HIT DICE | ! colspan="4" |HIT DICE | ||
|- | |- | ||
| | | {{#if:{{{HitDie|}}}|'''d{{{HitDie|}}}:'''|'''d{{{HitDie1|}}}:'''<br>'''d{{{HitDie2|}}}:'''}} | ||
| colspan="3" | {{#if:{{{HitDie|}}}|{{Template:Circles|Circles={{{Level|0}}}|FilledCircles=0|small=small|PermanentCircles=0|Break=}}|{{Template:Circles|Circles={{{HitDieCount1|0}}}|FilledCircles=0|small=small|PermanentCircles=0|Break=}}<br>{{Template:Circles|Circles={{{HitDieCount2|0}}}|FilledCircles=0|small=small|PermanentCircles=0|Break=}}}} | |||
|} | |} | ||
<div class="leftcolumn"> | |||
{| class="rpgtable box" | {| class="rpgtable box" | ||
! colspan="4" |SPEED | ! colspan="4" |SPEED | ||
Line 173: | Line 173: | ||
| {{{Speed|0}}} | | {{{Speed|0}}} | ||
|} | |} | ||
</div> | |||
<div class="rightcolumn"> | |||
{| class="rpgtable box" | {| class="rpgtable box" | ||
! colspan="4" | | ! colspan="4" |SIZE | ||
|- class="big" | |- class="big smallerfont" | ||
| {{ | | {{{Size|0}}} | ||
|} | |} | ||
</div> | |||
</div> | </div> | ||
<!-- WEAPONS--> | <!-- WEAPONS--> | ||
<div class="weapons"> | <div style="clear:both;"></div> | ||
<div class="weapons displaysection"> | |||
{| class="rpgtable"" | {| class="rpgtable"" | ||
! WEAPONS/CANTRIPS | ! WEAPONS/CANTRIPS | ||
Line 234: | Line 238: | ||
</div> | </div> | ||
</div> | </div> | ||
<div class="container" {{#ifexpr: {{{showPage2|0}}}=0|style="display:none;"}}> | <div class="container" {{#ifexpr: {{{showPage2|0}}}=0|style="display:none;"}}> | ||
<div class="column"> | <div class="column"> | ||
Line 263: | Line 266: | ||
|} | |} | ||
</div> | </div> | ||
<div {{#ifexpr: {{{Spellcaster|0}}}=0|style="display:none;"}}> | <div style="clear:both;"></div> | ||
<div {{#ifexpr: {{{Spellcaster|0}}}=0|style="display:none;"}} class="displaysection"> | |||
{|class="rpgtable spellslots" | {|class="rpgtable spellslots" | ||
! colspan="6" | SPELL SLOTS | ! colspan="6" | SPELL SLOTS | ||
Line 318: | Line 322: | ||
</div> | </div> | ||
</div> | </div> | ||
<div class="container" {{#ifexpr: {{{showPage3|0}}}=0|style="display:none;"}}> | <div class="container" {{#ifexpr: {{{showPage3|0}}}=0|style="display:none;"}}> | ||
<div class="column"> | <div class="column"> |
Latest revision as of 20:33, 6 January 2025