Difference between revisions of "Template:Loading bar"

From Citywars Savage
Jump to navigation Jump to search
 
Line 1: Line 1:
 
<div style="height: 10px; border: 1px solid black; display: inline-block; width: {{#if:{{{width|}}}|{{{width}}}|100%}}; background: #666666;">
 
<div style="height: 10px; border: 1px solid black; display: inline-block; width: {{#if:{{{width|}}}|{{{width}}}|100%}}; background: #666666;">
<div style="height: 10px; border: 1px solid black; border-style: none solid none none;  width: {{#if:{{{percent|}}}|{{{percent}}}|0}}%; background: #{{#ifexpr:{{{percent|}}} > 75 | 98e698 | {{#ifexpr:{{{percent|}}} > 25 |  
+
<div style="height: 10px; border: 1px solid black; border-style: none solid none none;  width: {{#if:{{{percent|}}}|{{{percent}}}|0}}%; background: #{{#ifeq: {{#expr: {{{percent|0}}} > 75 }} | 1 | 98e698 | {{#ifeq: {{#expr: {{{percent|0}}} > 25 }} | 1 | e6d979 | e69898 }} }};">
e6d979 | e69898}};">
 
 
</div></div><noinclude>
 
</div></div><noinclude>
 
{{documentation}}
 
{{documentation}}

Latest revision as of 03:51, 6 December 2019

Lua error: Cannot create process: proc_open(/dev/null): failed to open stream: Operation not permitted