Template:Progressbar: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
(Add {{tl|paused}})
mNo edit summary
Line 1: Line 1:
[[File:Progress bar-{{{percentage|{{{1|10}}}}}} percent-32px.png |x{{{height|{{{2|15}}}}}}px |alt={{{percentage|{{{1|10}}}}}}}% completed |link=:Template:Progressbar]]<noinclude>
[[File:Progress bar-{{{percentage|{{{1|10}}}}}} percent-32px.png|x{{{height|{{{2|15}}}}}}px|alt={{{percentage|{{{1|10}}}}}}}% completed|link=:Template:Progressbar]]<noinclude>
{{Informative template|1=
{{Informative template|1=
__NOTOC__
__NOTOC__
== Goal ==
== Goal ==
Puts a "progress bar" icon in running text.
Puts a "progress bar" icon in running text.
{{inote|If you don't know how far through the task you are, you can use {{tl|ongoing}} instead.}}


== Usage ==
== Usage ==

Revision as of 12:55, 4 March 2015

10}% completed

The following template description is not displayed when the template is inserted in an article.

Goal

Puts a "progress bar" icon in running text.

Note If you don't know how far through the task you are, you can use {{ongoing}} instead.

Usage

{{progressbar|percentage|height}}
percentage
Progress in ten percent steps from 10 to 100 with omitted percent sign (10, 20..100)
height
Optional height in pixels. Default value is is 15.

Example

Normal use

* 3D cockpit model: {{progressbar|40}}
  • 3D cockpit model: 40}% completed

Using a different size

* Instrument panel: {{progressbar|60|30}}
  • Instrument panel: 60}% completed

Related templates