Difference between revisions of "Template:Sandbox"

From eRepublik Official Wiki
Jump to: navigation, search
(I put the width=413 and the image size to 40px)
 
m
Line 1: Line 1:
{| style="width: 413px; border-color:tan;" class="messagebox current"  
+
<noinclude>{| style="width: 413px; border-color:tan;" class="messagebox current"  
 
| [[Image:Sandbox.png|40px|Sandbox]]
 
| [[Image:Sandbox.png|40px|Sandbox]]
 
| <span style="color:tan">'''This is [[User:{{{1}}}|<font color=tan>{{{1}}}</font>]]'s Sandbox.'''</span> <br>
 
| <span style="color:tan">'''This is [[User:{{{1}}}|<font color=tan>{{{1}}}</font>]]'s Sandbox.'''</span> <br>
 
<span style="color:tan">Do not edit this page without the author's permission.</span>
 
<span style="color:tan">Do not edit this page without the author's permission.</span>
|}
+
|}</noinclude>
 +
<div style="border: {{{border-width|1px}}} solid {{{border-color|#C0C0C0}}}; background-color: {{{background-color|#F0F0F0}}}; width: {{{width|100}}}px; height: 1.5em;"><div style="position: absolute; background-color:{{{colour|{{{3|#CCCCCC}}}}}};
 +
width: {{#expr:floor({{{width|100}}}*{{{1|{{#expr:{{{width|100}}}/2}}}}}/{{{2|{{{width|100}}}}}})}}px; height: 1.5em;"></div><div style="position: absolute; font-weight: bold; width: {{{width|100}}}px; height: 1.5em; text-align: center; z-index: 10; color: {{{color|#000}}};">{{formatnum:{{{1|50}}}}}&nbsp;/&nbsp;{{formatnum:{{{2|100}}}}}{{#if:{{{per|}}}|&nbsp;&nbsp;&nbsp;({{#expr:(({{{1|50}}}/{{{2|100}}})*100)round 0}}%)}}</div></div>

Revision as of 15:53, 17 January 2014

Sandbox This is [[User:{{{1}}}|{{{1}}}]]'s Sandbox.

Do not edit this page without the author's permission.

50 / 100