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

imported>Jarekt
now at wikidata
imported>Enterprisey
m Usage: Minor cleanup
4번째 줄: 4번째 줄:
{{Esoteric}}
{{Esoteric}}


=== Usage ===
== Usage ==
<nowiki>{{</nowiki>Progress bar|<value><nowiki>}}</nowiki>


:This template draws a progress bar. The value to supply as the parameter is the percent, from 0 to 0.01 or 0.99 to 1 or 1.01 to 99.99 or 100.  14 would mean 14%, .14 would be 0.14%.  If you don't specify a value, it returns 0%.
This template draws a progress bar. The <tt>value</tt> to supply as the parameter is the percent, from 0 to 0.01 or 0.99 to 1 or 1.01 to 99.99 or 100.  14 would mean 14%, .14 would be 0.14%.  If you don't specify a value, it returns 0%.


;Optional parameters:
=== Optional parameters ===
:height=
*<tt>height</tt> =
:width = defaults to 75%
*<tt>width</tt> = defaults to 75%
:text  = message to display after %; defaults to: completed <small>(estimate)</small>
*<tt>text</tt> = message to display after %; defaults to: completed <small>(estimate)</small>
:total = amount to use as the denominator (instead of 100), allows the template to compute the percentage on the fly
*<tt>total</tt> = amount to use as the denominator (instead of 100), allows the template to compute the percentage on the fly
:header = no (or any value other than "yes", which is the default) suppresses the display of the percentage on the top line
*<tt>header</tt> = no (or any value other than "yes", which is the default) suppresses the display of the percentage on the top line


=== See also ===
=== See also ===

2013년 7월 30일 (화) 11:10 판

모듈:Message box/ombox.css 문서에 내용이 없습니다.

[[Category:MediaWiki documentation pages{{#translation:}}]] 모듈:Message box/ombox.css 문서에 내용이 없습니다.

Usage

{{Progress bar|<value>}}

This template draws a progress bar. The value to supply as the parameter is the percent, from 0 to 0.01 or 0.99 to 1 or 1.01 to 99.99 or 100. 14 would mean 14%, .14 would be 0.14%. If you don't specify a value, it returns 0%.

Optional parameters

  • height =
  • width = defaults to 75%
  • text = message to display after %; defaults to: completed (estimate)
  • total = amount to use as the denominator (instead of 100), allows the template to compute the percentage on the fly
  • header = no (or any value other than "yes", which is the default) suppresses the display of the percentage on the top line

See also

최근 바뀜

더 보기