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 1: Line 1:
<includeonly><div style="display:inline;">
<includeonly><div style="display:inline;">{| class="wikitable" width="85px"
{| class="wikitable" width="85px"
| bgcolor="{{{2}}}" width="{{#expr:({{{1}}}+1)}}%"|
| bgcolor="{{{2}}}" width="{{#expr:({{{1}}}+1)}}%"|
| bgcolor="white" width="{{#expr:(101-{{{1}}})}}%"|}</div></includeonly>
| bgcolor="white" width="{{#expr:(101-{{{1}}})}}%"|
|}</div></includeonly>





Revision as of 19:06, 21 November 2013


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

{{avancement|POURCENTAGE|COULEUR}}

Ex: {{avancement|63|green}}

donne:

{| class="wikitable" width="85px"

| bgcolor="green" width="64%"| | bgcolor="white" width="38%"|

|}




Ex: {{avancement|0|red}}

donne:

{| class="wikitable" width="85px"

| bgcolor="red" width="1%"| | bgcolor="white" width="101%"|

|}




Ex: {{avancement|100|red}}

donne:

{| class="wikitable" width="85px"

| bgcolor="red" width="101%"| | bgcolor="white" width="1%"|

|}