Vorlage:ProgressBar: Unterschied zwischen den Versionen

Aus RaumZeitLabor Wiki
Zur Navigation springen Zur Suche springen
(Die Seite wurde neu angelegt: „<div style=" width:{{{width|75%}}}; {{#ifeq: {{{center|yes}}} | yes | margin:auto; text-align:center;}}"> {{#ifeq: {{{header|yes}}} | yes | <p> <big> …“)
 
(kein Unterschied)

Aktuelle Version vom 20. November 2012, 23:21 Uhr

20% completed (estimate)

   

[Doku bearbeiten]Transclude Dokumentation für ProgressBar
Die folgende Dokumentation wird von der Unterseite Vorlage:ProgressBar/doc hierhin eingeblendet - das Transclude kann daher ganz anders aussehen als diese Seite.
Dokumentation zu diesem Mechanismus findet sich hier.
Von Wikipedia ausgeliehen [1]

Usage

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