Difference between revisions of "Template:Loading bar"

From Citywars Savage
Jump to navigation Jump to search
(Created page with "<div style="height: 10px; border: 1px solid black; width: {{#if:{{{width|}}}|{{{width}}}|250}}px; background: #666666;"> <div style="height: 10px; border: 1px solid black; bor...")
 
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div style="height: 10px; border: 1px solid black; width: {{#if:{{{width|}}}|{{{width}}}|250}}px; 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: #{{#ifeq: {{#expr: {{{percent|0}}} > 75 }} | 1 | 98e698 | {{#ifeq: {{#expr: {{{percent|0}}} > 25 }} | 1 | e6d979 | e69898 }} }};">
</div></div>
+
</div></div><noinclude>
 +
{{documentation}}
 +
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
 +
[[Category:Templates]]
 +
</noinclude>

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