Difference between revisions of "Template:CharacterSheet"

 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
{{Needs Work}}
 
<div class="characterSheet">
 
<div class="characterSheet">
 
<div class="characterStatBlock" style="padding:0; width:325px; height:30px; position: absolute; margin-top:90px; margin-left:55px; border: 1px dashed #ff00ff; font-weight:bold; font-size:130%;">{{{CharacterName|{{PAGENAME}}}}}</div>
 
<div class="characterStatBlock" style="padding:0; width:325px; height:30px; position: absolute; margin-top:90px; margin-left:55px; border: 1px dashed #ff00ff; font-weight:bold; font-size:130%;">{{{CharacterName|{{PAGENAME}}}}}</div>
Line 7: Line 8:
 
<div class="characterStatBlock" style="padding:0; width:150px; height:20px; position: absolute; margin-top:70px; margin-left:790px; border: 1px dashed #ff00ff; font-weight:bold; font-size:130%;">{{{PlayerName|}}}</div>
 
<div class="characterStatBlock" style="padding:0; width:150px; height:20px; position: absolute; margin-top:70px; margin-left:790px; border: 1px dashed #ff00ff; font-weight:bold; font-size:130%;">{{{PlayerName|}}}</div>
 
<div class="characterStatBlock" style="padding:0; width:150px; height:20px; position: absolute; margin-top:115px; margin-left:790px; border: 1px dashed #ff00ff; font-weight:bold; font-size:130%;">{{{XP|}}}</div>
 
<div class="characterStatBlock" style="padding:0; width:150px; height:20px; position: absolute; margin-top:115px; margin-left:790px; border: 1px dashed #ff00ff; font-weight:bold; font-size:130%;">{{{XP|}}}</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: 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: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: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: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;">{{{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: {{{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;">{{{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: floor(({{{CHA}}}-10)/2)}} }}</div>
 +
 +
 
</div>
 
</div>

Latest revision as of 19:58, 5 January 2020

🚧This article needs work. This is a note to remind Falben to work on it.🚧
CharacterSheet