Difference between revisions of "Template:CharacterSheet"
Line 12: | Line 12: | ||
<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> | ||
− | <div class="characterStatBlock" style="padding:0; width:65px; height:25px; position: absolute; margin-top:422px; margin-left:42px; border: 1px dashed #ff00ff; font-weight:bold; font-size:130%; text-align:center;">{{#if: {{{DEX|}}}| {{#expr: ({{{DEX}}}-10)/2 round 0}} }}</div> | + | <div class="characterStatBlock" style="padding:0; width:65px; height:25px; position: absolute; margin-top:422px; margin-left:42px; border: 1px dashed #ff00ff; font-weight:bold; font-size:130%; text-align:center;">{{#if: {{{DEX|}}}| {{#ifexpr: (({{{DEX}}}-10)/2) > 0|+|}}{{#expr: ({{{DEX}}}-10)/2 round 0}} }}</div> |
<div class="characterStatBlock" style="padding:0; width:65px; height:25px; position: absolute; margin-top:504px; margin-left:42px; border: 1px dashed #ff00ff; font-weight:bold; font-size:130%; text-align:center;">{{{CON|}}}</div> | <div class="characterStatBlock" style="padding:0; width:65px; height:25px; position: absolute; margin-top:504px; margin-left:42px; border: 1px dashed #ff00ff; font-weight:bold; font-size:130%; text-align:center;">{{{CON|}}}</div> | ||
− | <div class="characterStatBlock" style="padding:0; width:65px; height:25px; position: absolute; margin-top:544px; margin-left:42px; border: 1px dashed #ff00ff; font-weight:bold; font-size:130%; text-align:center;">{{#if: {{{CON|}}}| {{#expr: ({{{CON}}}-10)/2 round 0}} }}</div> | + | <div class="characterStatBlock" style="padding:0; width:65px; height:25px; position: absolute; margin-top:544px; margin-left:42px; border: 1px dashed #ff00ff; font-weight:bold; font-size:130%; text-align:center;">{{#if: {{{CON|}}}| {{#ifexpr: (({{{CON}}}-10)/2) > 0|+|}}{{#expr: ({{{CON}}}-10)/2 round 0}} }}</div> |
<div class="characterStatBlock" style="padding:0; width:65px; height:25px; position: absolute; margin-top:626px; margin-left:42px; border: 1px dashed #ff00ff; font-weight:bold; font-size:130%; text-align:center;">{{{INT|}}}</div> | <div class="characterStatBlock" style="padding:0; width:65px; height:25px; position: absolute; margin-top:626px; margin-left:42px; border: 1px dashed #ff00ff; font-weight:bold; font-size:130%; text-align:center;">{{{INT|}}}</div> | ||
− | <div class="characterStatBlock" style="padding:0; width:65px; height:25px; position: absolute; margin-top:666px; margin-left:42px; border: 1px dashed #ff00ff; font-weight:bold; font-size:130%; text-align:center;">{{#if: {{{INT|}}}| {{#expr: ({{{INT}}}-10)/2 round 0}} }}</div> | + | <div class="characterStatBlock" style="padding:0; width:65px; height:25px; position: absolute; margin-top:666px; margin-left:42px; border: 1px dashed #ff00ff; font-weight:bold; font-size:130%; text-align:center;">{{#if: {{{INT|}}}| {{#ifexpr: (({{{INT}}}-10)/2) > 0|+|}}{{#expr: ({{{INT}}}-10)/2 round 0}} }}</div> |
− | <div class="characterStatBlock" style="padding:0; width:65px; height:25px; position: absolute; margin-top:748px; margin-left:42px; border: 1px dashed #ff00ff; font-weight:bold; font-size:130%; text-align:center;">{{{ | + | <div class="characterStatBlock" style="padding:0; width:65px; height:25px; position: absolute; margin-top:748px; margin-left:42px; border: 1px dashed #ff00ff; font-weight:bold; font-size:130%; text-align:center;">{{{WIS|}}}</div> |
− | <div class="characterStatBlock" style="padding:0; width:65px; height:25px; position: absolute; margin-top:788px; margin-left:42px; border: 1px dashed #ff00ff; font-weight:bold; font-size:130%; text-align:center;">{{#if: {{{ | + | <div class="characterStatBlock" style="padding:0; width:65px; height:25px; position: absolute; margin-top:788px; margin-left:42px; border: 1px dashed #ff00ff; font-weight:bold; font-size:130%; text-align:center;">{{#if: {{{WIS|}}}| {{#ifexpr: (({{{WIS}}}-10)/2) > 0|+|}}{{#expr: ({{{WIS}}}-10)/2 round 0}} }}</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;">{{{ | + | <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: {{{ | + | <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> | </div> |
Revision as of 19:52, 5 January 2020
CharacterSheet