Template:Progressbar

From FlightGear wiki
Revision as of 18:35, 21 April 2014 by Hooray (talk | contribs) (previous edit broke all usages not using named arguments :-/)
Jump to navigation Jump to search

[[File:Progress_{{{1}}}}%25.png |x16px |alt={{{1}}}}% completed |link=:Template:Progressbar]]

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

Goal

Puts a "progress bar" icon in running text.

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 16.

Example

Normal use

* 3D cockpit model: {{progressbar|40}}
  • 3D cockpit model: [[File:Progress_40}%25.png |x16px |alt=40}% completed |link=:Template:Progressbar]]

Using a different size

* Instrument panel: {{progressbar|60|30}}
  • Instrument panel: [[File:Progress_60}%25.png |x16px |alt=60}% completed |link=:Template:Progressbar]]

Related templates