Difference between revisions of "Template:Progressbar"

From ArchWiki
Jump to: navigation, search
(first try)
 
m (codeline -> ic)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<div style="border: 1px red solid; padding: 0; margin: 5px; width: 98%;">
+
<noinclude>{{Template}}
<div style="background-color: red; padding: 5px; margin: 0; width: {{{1}}}%;">
+
 
</div>
+
'''A 'Progress bar' element used to convey the progress of a task.'''
</div>
+
 
 +
====Usage====
 +
 
 +
{{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%