Difference between revisions of "Template:CharacterSheet"

Line 24: Line 24:
  
 
<div class="characterStatBlock" style="padding:0; width:65px; height:25px; position: absolute; margin-top:870px; margin-left:42px; border: 1px dashed #ff00ff; font-weight:bold; font-size:130%; text-align:center;">{{{CHA|}}}</div>
 
<div class="characterStatBlock" style="padding:0; width:65px; height:25px; position: absolute; margin-top:870px; margin-left:42px; border: 1px dashed #ff00ff; font-weight:bold; font-size:130%; text-align:center;">{{{CHA|}}}</div>
<div class="characterStatBlock" style="padding:0; width:65px; height:25px; position: absolute; margin-top:910px; margin-left:42px; border: 1px dashed #ff00ff; font-weight:bold; font-size:130%; text-align:center;">{{#if: {{{CHA|}}}| {{#ifexpr: (({{{CHA}}}-10)/2) > 0|+|}}{{#expr: ({{{CHA}}}-10)/2 round 0}} }}</div>
+
<div class="characterStatBlock" style="padding:0; width:65px; height:25px; position: absolute; margin-top:910px; margin-left:42px; border: 1px dashed #ff00ff; font-weight:bold; font-size:130%; text-align:center;">{{#if: {{{CHA|}}}| {{#ifexpr: (({{{CHA}}}-10)/2) > 0|+|}}{{#expr: floor(({{{CHA}}}-10)/2)}} }}</div>
  
  
 
</div>
 
</div>

Revision as of 19:55, 5 January 2020

CharacterSheet