Template:Avancement: Difference between revisions

From Baka-Tsuki
Jump to navigation Jump to search
Shunesburg69 (talk | contribs)
No edit summary
Shunesburg69 (talk | contribs)
No edit summary
Line 3: Line 3:
| height=5px width="{{#expr:({{{1}}}+1)}}%" bgcolor="{{{2}}}"|
| height=5px width="{{#expr:({{{1}}}+1)}}%" bgcolor="{{{2}}}"|
|
|
|}</div><div style="display:inline;">&nbsp;{{{1}}}%</div>
|}</div><div style="display:inline;">&nbsp;{{{1}}}%</span>
<noinclude>
<noinclude>
<div style="display:inline;">
<div style="display:inline;">
Line 9: Line 9:
| bgcolor="{{{2}}}" width="{{#expr:({{{1}}}+1)}}%"|
| bgcolor="{{{2}}}" width="{{#expr:({{{1}}}+1)}}%"|
| bgcolor="white" width="{{#expr:(101-{{{1}}})}}%"|
| bgcolor="white" width="{{#expr:(101-{{{1}}})}}%"|
|}</span>
|}</div>
Ce modèle sert à afficher le pourcentage d'un avancement.<br><br>
Ce modèle sert à afficher le pourcentage d'un avancement.<br><br>
<nowiki>{{avancement|POURCENTAGE|COULEUR}}</nowiki><br><br>
<nowiki>{{avancement|POURCENTAGE|COULEUR}}</nowiki><br><br>

Revision as of 20:25, 21 November 2013

 {{{1}}}%

Ce modèle sert à afficher le pourcentage d'un avancement.

{{avancement|POURCENTAGE|COULEUR}}

Ex: {{avancement|63|green}}

donne:

 63%



Ex: {{avancement|0|red}}

donne:

 0%
test



Ex: {{avancement|100|red}}

donne:

 100%