Difference between revisions of "Template:Fill bar"

From blackwiki
Jump to navigation Jump to search
imported>Dispenser
(Created)
 
imported>Dispenser
(Redirected page to Template:Percentage bar)
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<div style="position:relative; text-align:center; font-size:xx-small; {{{style|width:100px;}}}">
+
#REDIRECT [[Template:Percentage bar]]
<div style="width:{{{fill|50%}}};background:{{{color|#ccf}}};">&nbsp;</div>
 
<div style="position:absolute; top:0; width:100%;">{{{text|{{{fill|{{{text}}}}}}}}}</div>
 
</div><noinclude>
 
----
 
 
 
{{tl|{{PAGENAME}}}}
 
 
 
==Parameters==
 
;fill: Amount filled, value are expressed as percentages.
 
;color: Fill color
 
;text: defaults to fill
 
;style: specifies the style, when used the width must be specified.
 
 
 
==Example==
 
===Code===
 
<pre>
 
{{fill bar|fill=50%|color=orange|style=border:1px solid black; padding:2px; width:20em; }}
 
</pre>
 
 
 
===Result===
 
{{fill bar|fill=50%|color=orange|style=border:1px solid black; padding:2px; width:20em; }}
 
 
 
{{Uncategorized template}}
 
 
 
</noinclude>
 

Latest revision as of 22:48, 23 September 2011