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: #98E698;">
+
<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 |
 +
e6d979 | e69898}};">
 
</div></div><noinclude>
 
</div></div><noinclude>
 
{{documentation}}
 
{{documentation}}

Revision as of 03:36, 6 December 2019

75 | 98e698 | Expression error: Unexpected > operator.;">

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