Template:Avancement: Difference between revisions
Jump to navigation
Jump to search
Shunesburg69 (talk | contribs) No edit summary |
Shunesburg69 (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
<div style="display:inline;">{{{1}}}% </div> | |||
<div style="display:inline;border:1px solid black;cellspacing=1;background-color={{{2}}};" width="{{#expr:({{{1}}}+1)}}%" ></div> | |||
<div style="display:inline;border:1px solid black;cellspacing=1;background-color=white;" width="{{#expr:(100-({{{1}}}+1))}}%" ></div> | |||
<noinclude> | |||
<div style="display:inline;">{{{1}}}% </div><div style="display:inline;"> | <div style="display:inline;">{{{1}}}% </div><div style="display:inline;"> | ||
{| style="border:1px solid black;" cellspacing=1 width=100px | {| style="border:1px solid black;" cellspacing=1 width=100px | ||
| height=2px width="{{#expr:({{{1}}}+1)}}%" bgcolor="{{{2}}}"| | | height=2px width="{{#expr:({{{1}}}+1)}}%" bgcolor="{{{2}}}"| | ||
| | | | ||
|}</div> | |}</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> |
Revision as of 20:37, 21 November 2013
{{{1}}}%
<div style="display:inline;border:1px solid black;cellspacing=1;background-color={{{2}}};" width="Expression error: Unrecognized punctuation character "{".%" > <div style="display:inline;border:1px solid black;cellspacing=1;background-color=white;" width="Expression error: Unrecognized punctuation character "{".%" >
{{{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%