Difference between revisions of "Template:Progressbar"

From ArchWiki
Jump to: navigation, search
(color updates and trying to get percent in there)
m (codeline -> ic)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<div style="border: 2px #788b9f solid; padding: 0; margin: 5px;">
+
<noinclude>{{Template}}
<div style="background-color: #ced8e1; padding: 0; margin: 0; width: {{{1}}}%;">
+
 
<div style="font-size: 0.8em;">
+
'''A 'Progress bar' element used to convey the progress of a task.'''
{{{1}}}%
+
 
</div>
+
====Usage====
</div>
+
 
</div>
+
{{Ic|1=<nowiki>{{Progressbar|25}}</nowiki>}}
 +
 
 +
====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>

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%