Template:Completion: Difference between revisions

From Wiki
Jump to navigation Jump to search
Created page with "<div style="width: 100px; height: 20px; position: relative; text-align: left; border: 1px solid #000; border-radius: 3px"> <div style="width: 100%; height: 100%; background-..."
 
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div style="width: 100px; height: 20px; position: relative; text-align: left; border: 1px solid #000; border-radius: 3px">
<div style="width: 60px; height: 15px; position: relative; text-align: left; border: 1px solid #000; border-radius: 3px; margin: 0.2em auto">
   <div style="width: 100%; height: 100%; background-color: #666">
   <div style="width: 100%; height: 100%; background-color: #999">
     <div style="width: 100%; height: 100%; color: #000; font-weight: bold; position: absolute; z-index: 1; margin-left: 0.2em; line-height: 20px">{{#if: {{{percentage|}}}|{{{percentage|}}}|0}}%</div>
     <div style="width: 100%; height: 100%; color: #000; font-size: 0.75em; font-weight: bold; position: absolute; z-index: 1; margin-left: 0.2em; line-height: 15px">{{#if: {{{percentage|}}}|{{{percentage|}}}|0}}%</div>
     {{#if: {{{percentage|}}}|<div style="width: {{{percentage|}}}%; height: 100%; background-color: #81ffb3"></div>}}
     {{#if: {{{percentage|}}}|<div style="width: {{{percentage|}}}%; height: 100%; background-color: #81ffb3"></div>}}
   </div>
   </div>
</div>
</div>

Latest revision as of 18:38, 2 March 2022

0%