|
|
Line 1: |
Line 1: |
| {{#ifeq: {{{1}}}| 5 | <div id="avance_boite" style="background:#f2f2f2; border:1px solid #aaa; width:100px;"> | | {{#switch: {{{1}}} |
| | | 5 = <div id="avance_boite" style="background:#f2f2f2; border:1px solid #aaa; width:100px;"> |
| <div id="avance_barre" style="background:#F10000; width:5%;"> | | <div id="avance_barre" style="background:#F10000; width:5%;"> |
| <div style="text-align:center; width:100px;">{{{1}}}%</div></div></div> | }} | | <div style="text-align:center; width:100px;">{{{1}}}%</div></div></div> |
| | | | 10 = <div id="avance_boite" style="background:#f2f2f2; border:1px solid #aaa; width:100px;"> |
| {{#ifeq: {{{1}}}| 10 | <div id="avance_boite" style="background:#f2f2f2; border:1px solid #aaa; width:100px;">
| | <div id="avance_barre" style="background:#F10000; width:10%;"> |
| <div id="avance_barre" style="background:#FF3700; width:10%;"> | | <div style="text-align:center; width:100px;">{{{1}}}%</div></div></div> |
| <div style="text-align:center; width:100px;">{{{1}}}%</div></div></div> | }} | | | 15 = <div id="avance_boite" style="background:#f2f2f2; border:1px solid #aaa; width:100px;"> |
| | | <div id="avance_barre" style="background:#F10000; width:15%;"> |
| {{#ifeq: {{{1}}}| 15 | <div id="avance_boite" style="background:#f2f2f2; border:1px solid #aaa; width:100px;">
| | <div style="text-align:center; width:100px;">{{{1}}}%</div></div></div> |
| <div id="avance_barre" style="background:#FF6500; width:15%;"> | | | 20 = <div id="avance_boite" style="background:#f2f2f2; border:1px solid #aaa; width:100px;"> |
| <div style="text-align:center; width:100px;">{{{1}}}%</div></div></div> | }} | | <div id="avance_barre" style="background:#F10000; width:20%;"> |
| | | <div style="text-align:center; width:100px;">{{{1}}}%</div></div></div> |
| {{#ifeq: {{{1}}}| 20 | <div id="avance_boite" style="background:#f2f2f2; border:1px solid #aaa; width:100px;">
| | | #default = <div id="avance_boite" style="background:#f2f2f2; border:1px solid #aaa; width:100px;"> |
| <div id="avance_barre" style="background:#FF6500; width:20%;"> | | <div id="avance_barre" style="background:#F10000; width:0%;"> |
| <div style="text-align:center; width:100px;">{{{1}}}%</div></div></div> | }} | | <div style="text-align:center; width:100px;">N/D</div></div></div> |
| | | }} |
| {{#ifeq: {{{1}}}| 25 | <div id="avance_boite" style="background:#f2f2f2; border:1px solid #aaa; width:100px;">
| |
| <div id="avance_barre" style="background:#FFA900; width:25%;">
| |
| <div style="text-align:center; width:100px;">{{{1}}}%</div></div></div> | }}
| |
| | |
| {{#ifeq: {{{1}}}| 30 | <div id="avance_boite" style="background:#f2f2f2; border:1px solid #aaa; width:100px;">
| |
| <div id="avance_barre" style="background:#FFA900; width:30%;">
| |
| <div style="text-align:center; width:100px;">{{{1}}}%</div></div></div> | }}
| |
| | |
| {{#ifeq: {{{1}}}| 35 | <div id="avance_boite" style="background:#f2f2f2; border:1px solid #aaa; width:100px;">
| |
| <div id="avance_barre" style="background:#FFD800; width:35%;">
| |
| <div style="text-align:center; width:100px;">{{{1}}}%</div></div></div> | }}
| |
| | |
| {{#ifeq: {{{1}}}| 40 | <div id="avance_boite" style="background:#f2f2f2; border:1px solid #aaa; width:100px;">
| |
| <div id="avance_barre" style="background:#FFE500; width:40%;">
| |
| <div style="text-align:center; width:100px;">{{{1}}}%</div></div></div> | }}
| |
| | |
| {{#ifeq: {{{1}}}| 45 | <div id="avance_boite" style="background:#f2f2f2; border:1px solid #aaa; width:100px;">
| |
| <div id="avance_barre" style="background:#FFE500; width:45%;">
| |
| <div style="text-align:center; width:100px;">{{{1}}}%</div></div></div> | }}
| |
| | |
| {{#ifeq: {{{1}}}| 50 | <div id="avance_boite" style="background:#f2f2f2; border:1px solid #aaa; width:100px;">
| |
| <div id="avance_barre" style="background:#FCFF00; width:50%;">
| |
| <div style="text-align:center; width:100px;">{{{1}}}%</div></div></div> | }}
| |
| | |
| {{#ifeq: {{{1}}}| 55 | <div id="avance_boite" style="background:#f2f2f2; border:1px solid #aaa; width:100px;">
| |
| <div id="avance_barre" style="background:#E3FF00; width:55%;"> | |
| <div style="text-align:center; width:100px;">{{{1}}}%</div></div></div> | }} | |
| | |
| {{#ifeq: {{{1}}}| 60 | <div id="avance_boite" style="background:#f2f2f2; border:1px solid #aaa; width:100px;">
| |
| <div id="avance_barre" style="background:#E3FF00; width:60%;">
| |
| <div style="text-align:center; width:100px;">{{{1}}}%</div></div></div> | }}
| |
| | |
| {{#ifeq: {{{1}}}| 65 | <div id="avance_boite" style="background:#f2f2f2; border:1px solid #aaa; width:100px;">
| |
| <div id="avance_barre" style="background:#BEFF00; width:65%;">
| |
| <div style="text-align:center; width:100px;">{{{1}}}%</div></div></div> | }}
| |
| | |
| {{#ifeq: {{{1}}}| 70 | <div id="avance_boite" style="background:#f2f2f2; border:1px solid #aaa; width:100px;">
| |
| <div id="avance_barre" style="background:#92FF00; width:70%;">
| |
| <div style="text-align:center; width:100px;">{{{1}}}%</div></div></div> | }}
| |
| | |
| {{#ifeq: {{{1}}}| 75 | <div id="avance_boite" style="background:#f2f2f2; border:1px solid #aaa; width:100px;">
| |
| <div id="avance_barre" style="background:#92FF00; width:75%;">
| |
| <div style="text-align:center; width:100px;">{{{1}}}%</div></div></div> | }}
| |
| | |
| {{#ifeq: {{{1}}}| 80 | <div id="avance_boite" style="background:#f2f2f2; border:1px solid #aaa; width:100px;">
| |
| <div id="avance_barre" style="background:#39FF00; width:80%;">
| |
| <div style="text-align:center; width:100px;">{{{1}}}%</div></div></div> | }}
| |
| | |
| {{#ifeq: {{{1}}}| 85 | <div id="avance_boite" style="background:#f2f2f2; border:1px solid #aaa; width:100px;">
| |
| <div id="avance_barre" style="background:#39FF00; width:85%;">
| |
| <div style="text-align:center; width:100px;">{{{1}}}%</div></div></div> | }}
| |
| | |
| {{#ifeq: {{{1}}}| 90 | <div id="avance_boite" style="background:#f2f2f2; border:1px solid #aaa; width:100px;">
| |
| <div id="avance_barre" style="background:#16E900; width:90%;">
| |
| <div style="text-align:center; width:100px;">{{{1}}}%</div></div></div> | }}
| |
| | |
| {{#ifeq: {{{1}}}| 95 | <div id="avance_boite" style="background:#f2f2f2; border:1px solid #aaa; width:100px;">
| |
| <div id="avance_barre" style="background:#33CC00; width:95%;">
| |
| <div style="text-align:center; width:100px;">{{{1}}}%</div></div></div> | }}
| |
| | |
| {{#ifeq: {{{1}}}| 100 | <div id="avance_boite" style="background:#f2f2f2; border:1px solid #aaa; width:100px;">
| |
| <div id="avance_barre" style="background:#33CC00; width:100%;">
| |
| <div style="text-align:center; width:100px;">{{{1}}}%</div></div></div> | }}
| |