Διαφορά μεταξύ των αναθεωρήσεων του «Πρότυπο:Progress bar»
Μετάβαση στην πλοήγηση
Πήδηση στην αναζήτηση
Γραμμή 1: | Γραμμή 1: | ||
⚫ | <div style=" width:{{{width|75%}}};{{#ifeq: {{{center|yes}}} | yes | margin:auto; text-align:center;}}">{{#ifeq: {{{header|yes}}} | yes| <p> <big> '''{{#expr: ( {{{1|<noinclude>2</noinclude>0}}} / {{{total|100}}}) * 100 round 1}}%''' </big> {{{text|completed <small>(estimate)</small>}}} </p>}}<p style="border:{{{border|1px solid gray}}}; padding:{{{padding|1px}}}; overflow:hidden;"> <span style=" width: {{#expr: {{{1|<noinclude>2</noinclude>0}}} / {{{total|100}}} * 100}}%; height: {{{height|2}}}px; background:{{{color1|#5FDB00}}}; float:left; "> </span> <span style=" width:{{#expr: 100 - {{{1|<noinclude>2</noinclude>0}}} / {{{total|100}}} * 100}}%; height:{{{height|2}}}px; background:{{{color2|#efefef}}}; float:left; "> </span></p></div> |
||
<nowiki>Example: |
<nowiki>Example: |
||
Γραμμή 7: | Γραμμή 4: | ||
{{Πρότυπο:Progress bar|text=profile completed|total=100|80}}</nowiki> |
{{Πρότυπο:Progress bar|text=profile completed|total=100|80}}</nowiki> |
||
⚫ | <div style=" width:{{{width|75%}}};{{#ifeq: {{{center|yes}}} | yes | margin:auto; text-align:center;}}">{{#ifeq: {{{header|yes}}} | yes| <p> <big> '''{{#expr: ( {{{1|<noinclude>2</noinclude>0}}} / {{{total|100}}}) * 100 round 1}}%''' </big> {{{text|completed <small>(estimate)</small>}}} </p>}}<p style="border:{{{border|1px solid gray}}}; padding:{{{padding|1px}}}; overflow:hidden;"> <span style=" width: {{#expr: {{{1|<noinclude>2</noinclude>0}}} / {{{total|100}}} * 100}}%; height: {{{height|2}}}px; background:{{{color1|#5FDB00}}}; float:left; "> </span> <span style=" width:{{#expr: 100 - {{{1|<noinclude>2</noinclude>0}}} / {{{total|100}}} * 100}}%; height:{{{height|2}}}px; background:{{{color2|#efefef}}}; float:left; "> </span></p></div> |
Αναθεώρηση της 02:11, 4 Δεκεμβρίου 2012
Example: {{Πρότυπο:Progress bar|text=profile completed|total=100|80}}
{{#ifeq: yes | yes|
{{#expr: ( 20 / 100) * 100 round 1}}% completed (estimate)
}}