Template:Progressbar: Difference between revisions
Jump to navigation
Jump to search
(Switched progress bar icon) |
m (Tuning: Changing default height 16px → 15 px; Style) |
||
Line 1: | Line 1: | ||
[[File:Progress bar-{{{percentage|{{{1|10}}}}}} percent-32px.png |x{{{height|{{{2| | [[File:Progress bar-{{{percentage|{{{1|10}}}}}} percent-32px.png |x{{{height|{{{2|15}}}}}}px |alt={{{percentage|{{{1|10}}}}}}}% completed]]<noinclude> | ||
{{Informative template|1= | {{Informative template|1= | ||
__NOTOC__ | __NOTOC__ | ||
Line 8: | Line 8: | ||
<nowiki>{{</nowiki>'''progressbar'''<nowiki>|</nowiki>percentage<nowiki>|</nowiki>''height''<nowiki>}}</nowiki> | <nowiki>{{</nowiki>'''progressbar'''<nowiki>|</nowiki>percentage<nowiki>|</nowiki>''height''<nowiki>}}</nowiki> | ||
; percentage: Progress in ten percent steps from 10 to 100 with omitted percent sign (10, 20..100) | ; 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 | ; height: Optional height in pixels. Default value is is '''15'''. | ||
== Example == | == Example == |
Revision as of 20:32, 10 May 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 15.
Example
Normal use
* 3D cockpit model: {{progressbar|40}}
Using a different size
* Instrument panel: {{progressbar|60|30}}