Utilisateur:Ankhseram : Différence entre versions
Ligne 2 : | Ligne 2 : | ||
<div style="border-radius: 16px; overflow: hidden; border: 1px grey solid; background: grey; position: relative;"> | <div style="border-radius: 16px; overflow: hidden; border: 1px grey solid; background: grey; position: relative;"> | ||
<div style="background: rgb(241,62,2); background: linear-gradient(90deg, rgba(241,62,2,1) 0%, rgba(88,230,20,1) 100%); height: 20px; width: 100%;"></div> | <div style="background: rgb(241,62,2); background: linear-gradient(90deg, rgba(241,62,2,1) 0%, rgba(88,230,20,1) 100%); height: 20px; width: 100%;"></div> | ||
− | <div style="width: {{#expr:100-{{#var:number}}/{{#var:numbertotal}}*100}}%; background: grey; height: 20px; position: absolute; top: 0; right: 0; color: white; padding-left: 5px;">{{#expr:{{#var:number}}/{{#var:numbertotal}}*100 round 1}} %</div> | + | <div style="width: {{#expr:100-{{#var:number}}/{{#var:numbertotal}}*100}}%; background: grey; height: 20px; position: absolute; top: 0; right: 0; color: white; padding-left: 5px;">{{formatnum:{{#expr:{{#var:number}}/{{#var:numbertotal}}*100 round 1}}}} %</div> |
</div> | </div> | ||
{{#var:number}} pages de qualité sur {{#var:numbertotal}}. | {{#var:number}} pages de qualité sur {{#var:numbertotal}}. |