Utilisateur:Ankhseram : Différence entre versions
Ligne 1 : | Ligne 1 : | ||
− | {{#vardefine:number|{{PAGESINCATEGORY:Pages de qualité}}}}{{#vardefine:numbertotal|{{NUMBEROFARTICLES}}}}Barre de progression du wiki | + | {{#vardefine:number|{{PAGESINCATEGORY:Pages de qualité|R}}}}{{#vardefine:numbertotal|{{NUMBEROFARTICLES:R}}}}Barre de progression du wiki |
<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: | + | <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:floor({{#var:number}}/{{#var:numbertotal}}*100)}} %</div> |
</div> | </div> | ||
{{#var:number}} pages de qualité sur {{#var:numbertotal}}. | {{#var:number}} pages de qualité sur {{#var:numbertotal}}. |