« Modèle:Avancement » : différence entre les versions

De Eternia Dimension
Aller à la navigationAller à la recherche
Aucun résumé des modifications
Aucun résumé des modifications
Ligne 1 : Ligne 1 :
<includeonly>
<includeonly>
<p style="text-align:center; font-weight:bold;">Avancement du projet (estimation)</p>
<p style="text-align:center; font-weight:bold;">Avancement du projet (estimation)</p>
<div {{#ifeq: {{{2}}} | urgent | class="avancementUrgent" | {{#ifexpr: {{{1}}} <= 33 | class="avancementFaible" | {{#ifexpr: {{{1}}} <= 66 | class="avancementMoyen" | class="avencementImportant"}} }} }} style="margin-left:auto; margin-right:auto; background:#{{{couleur|}}} height:25px; width:400px; border:1px solid black;">
<div {{#ifeq: {{{2}}} | urgent | class="avancementUrgent" | {{#ifexpr: {{{1}}} <= 33 | class="avancementFaible" | {{#ifexpr: {{{1}}} <= 66 | class="avancementMoyen" | class="avencementImportant"}} }} }} style="margin-left:auto; margin-right:auto; background:#{{{couleur|}}}; height:25px; width:400px; border:1px solid black;">
<div style="float:right; height:22px; width:{{#expr: 100-{{{1}}}}}%; border-left:1px; background:#f9f9f9; padding-top:3px; font-size:70%;">&nbsp;{{{1}}}%</div>
<div style="float:right; height:22px; width:{{#expr: 100-{{{1}}}}}%; border-left:1px; background:#f9f9f9; padding-top:3px; font-size:70%;">&nbsp;{{{1}}}%</div>
</div>
</div>
</includeonly>
</includeonly>

Version du 8 février 2012 à 15:19