Difference between revisions of "Template:Progressbar"

From ArchWiki
Jump to: navigation, search
(add usage/example; simplified (1 less <div>))
m (codeline -> ic)
 
Line 5: Line 5:
 
====Usage====
 
====Usage====
  
{{Codeline|1=<nowiki>{{Progressbar|25}}</nowiki>}}
+
{{Ic|1=<nowiki>{{Progressbar|25}}</nowiki>}}
  
 
====Example====
 
====Example====
  
 
{{Progressbar|25}}</noinclude><includeonly><div style="border: 2px #788b9f solid; padding: 0; margin: 5px;"><div style="background-color: #ced8e1; padding: 0; margin: 0; width: {{{1}}}%;"><p style="font-size: 0.8em; padding: 0; margin: 0 0 0 0.5em;">{{{1}}}%</p></div></div></includeonly>
 
{{Progressbar|25}}</noinclude><includeonly><div style="border: 2px #788b9f solid; padding: 0; margin: 5px;"><div style="background-color: #ced8e1; padding: 0; margin: 0; width: {{{1}}}%;"><p style="font-size: 0.8em; padding: 0; margin: 0 0 0 0.5em;">{{{1}}}%</p></div></div></includeonly>

Latest revision as of 16:30, 11 December 2011

This page is a template. It contains no Arch Linux-related information, but should be used as part of other articles. For more information, read Help:Template.

Please do not experiment with this template; you could ruin all pages using this template. If you want to edit this template, copy the text to Template:Sandbox, edit and test it there, and copy it back when it works.

Feel free to voice your opinion regarding this template.

A 'Progress bar' element used to convey the progress of a task.

Usage

{{Progressbar|25}}

Example

25%