Difference between revisions of "Template:CharacterSheet"

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

Revision as of 19:56, 5 January 2020

CharacterSheet