De Wiki @ Brest
Ligne 10 : | Ligne 10 : | ||
| 14E512 }}), color-stop(.5,#{{#ifexpr: {{{1}}} < 50 | | 14E512 }}), color-stop(.5,#{{#ifexpr: {{{1}}} < 50 | ||
| DFDE15 | | DFDE15 | ||
− | | DFDE15 }}));background: -moz-linear-gradient(left, # | + | | DFDE15 }}));background: -moz-linear-gradient(left, #ac0300 0%, #{{#ifexpr: {{{1}}} < 25 |
− | | | + | | dc5c00 |
| {{#ifexpr: {{{1}}} < 50 | | {{#ifexpr: {{{1}}} < 50 | ||
− | | | + | | ff9c00 |
| {{#ifexpr: {{{1}}} < 75 | | {{#ifexpr: {{{1}}} < 75 | ||
− | | | + | | f6c608 |
− | | | + | | edef10 }} }} }} 50%, #{{#ifexpr: {{{1}}} < 25 |
− | | | + | | ff9c00 |
| {{#ifexpr: {{{1}}} < 50 | | {{#ifexpr: {{{1}}} < 50 | ||
− | | | + | | edef10 |
| {{#ifexpr: {{{1}}} < 75 | | {{#ifexpr: {{{1}}} < 75 | ||
− | | | + | | 30ff00 |
− | | | + | | 10e2ef }} }} }} 100%); height:5px; width: {{#ifexpr:({{#if:{{{1|}}}|{{#expr:100*{{{1}}}/{{{2|100}}}}}|0}}<1)|1%|{{#if:{{{1|}}}|{{#expr:100*{{{1}}}/{{{2|100}}}round 1}}|0}}%}}"{{!}} }} |
{{#ifeq:{{#if:{{{1|}}}|{{#expr:100*{{{1}}}/{{{2|100}}}}}|0}}|100|| {{!}}style="background: #E2E2E2;" {{!}} }} | {{#ifeq:{{#if:{{{1|}}}|{{#expr:100*{{{1}}}/{{{2|100}}}}}|0}}|100|| {{!}}style="background: #E2E2E2;" {{!}} }} | ||
|} | |} | ||
|}</includeonly><noinclude>{{TemplateDoc}}[[Category:Template]]</noinclude> | |}</includeonly><noinclude>{{TemplateDoc}}[[Category:Template]]</noinclude> |
Version du 27 juin 2013 à 18:59
[edit]
|