틀:Progress bar: 두 판 사이의 차이

imported>Ms2ger
m Div based layout
imported>R'n'B
Add optional "total" parameter to calculate percentage on the fly
1번째 줄: 1번째 줄:
<div style="width:{{{width|75%}}}; margin:auto; text-align:center;">
<div style="width:{{{width|75%}}}; margin:auto; text-align:center;">
<p><big>'''{{{1|<noinclude>2</noinclude>0}}}%'''</big> {{{text|completed <small>(estimate)</small>}}}</p>
<p><big>'''<!--
-->{{#if:{{{total|}}}<!--
  -->|{{#expr:( {{{1|0}}} / {{{total}}} ) * 100 round 1}}<!--
  -->|{{{1|<noinclude>2</noinclude>0}}}<!--
-->}}%'''</big> {{{text|completed <small>(estimate)</small>}}}</p>
<p style="border:1px solid black; padding:1px; overflow:hidden;"><span style="width:{{{1|<noinclude>2</noinclude>0}}}%; height:{{{height|2}}}px; background:#7fff00; float:left;">&nbsp;</span><span style="width:{{#expr: 100-{{{1|<noinclude>2</noinclude>0}}}}}%; height:{{{height|2}}}px; background:#ff7f50; float:left;">&nbsp;</span></p>
<p style="border:1px solid black; padding:1px; overflow:hidden;"><span style="width:{{{1|<noinclude>2</noinclude>0}}}%; height:{{{height|2}}}px; background:#7fff00; float:left;">&nbsp;</span><span style="width:{{#expr: 100-{{{1|<noinclude>2</noinclude>0}}}}}%; height:{{{height|2}}}px; background:#ff7f50; float:left;">&nbsp;</span></p>
</div><noinclude>{{Documentation}}</noinclude>
</div><noinclude>{{Documentation}}</noinclude>

2009년 9월 1일 (화) 05:05 판

20% completed (estimate)

  

모듈:TNT 158번째 줄에서 Lua 오류: Missing JsonConfig extension; Cannot load https://commons.wikimedia.org/wiki/Data:I18n/Documentation.tab.

최근 바뀜

더 보기