Template:Progressbar: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
mNo edit summary
(+-cat: Icon templates: Progress templates + Some minor edits)
Line 1: Line 1:
[[File:Progress_{{{1}}}%25.png |{{{1|16}}}px |alt= {{{1}}}} % completed |link=:Template:Progressbar]]<noinclude>
[[File:Progress_{{{1}}}%25.png |{{{1|16}}}px |alt= {{{1}}}} % completed |link=:Template:Progressbar]]<noinclude>
{{Informative template|1=
{{Informative template|1=
__NOTOC__
== Goal ==
== Goal ==
Puts a "progress bar" icon in running text.
Puts a "progress bar" icon in running text.


== Usage ==
== Usage ==
  <tt><nowiki>{{</nowiki>'''Progressbar'''<nowiki>|</nowiki>''percentage''<nowiki>}}</nowiki></tt>
  <tt><nowiki>{{</nowiki>'''progressbar'''<nowiki>|</nowiki>''percentage''<nowiki>}}</nowiki></tt>
Percentages:
Where <code>''percentage''</code> is the the progress in ten percent steps from 10 to 100 with omitted percent sign (10, 20 .. 100).
* 10
* 20
* 30
* 40
* 50
* 60
* 70
* 80
* 90
* 100


Example: {{Progressbar|40}}
== Example ==
<code><nowiki>3D cockpit model. {{progressbar|40}}</nowiki></code>
 
3D cockpit model. {{Progressbar|40}}


== Related templates ==
== Related templates ==
* {{tl|done}}
* {{tl|not done}}
* {{tl|not done}}
* {{tl|pending}} Useful when there is less of a plan or no progress currently.
* {{tl|tick}}
* {{tl|tick}}
* {{tl|done}}


}}
}}
[[Category:Icon templates]]
[[Category:Progress templates]]
</noinclude>
</noinclude>

Revision as of 15:25, 2 August 2012

[[File:Progress_{{{1}}}%25.png |16px |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}}

Where percentage is the the progress in ten percent steps from 10 to 100 with omitted percent sign (10, 20 .. 100).

Example

3D cockpit model. {{progressbar|40}}

3D cockpit model. 40} % completed

Related templates