Template:Progressbar: Difference between revisions
Jump to navigation
Jump to search
(Fix: Finally figured out why the template rendered in different sizes: The percentage was also used as the width of the image ;-) |
m (use named arguments) |
||
Line 1: | Line 1: | ||
[[File:Progress_{{{ | [[File:Progress_{{{percentage|10}}}%25.png |x{{{height|16}}}px |alt={{{1}}}}% completed |link=:Template:Progressbar]]<noinclude> | ||
{{Informative template|1= | {{Informative template|1= | ||
__NOTOC__ | __NOTOC__ |
Revision as of 18:14, 21 April 2014
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}}
Using a different size
* Instrument panel: {{progressbar|60|30}}