Difference between revisions of "Template:5dot"

From City of Hope MUSH
Jump to navigation Jump to search
imported>Keris
imported>Keris
(more documentation)
Line 11: Line 11:
 
<noinclude>A simple template to quickly format 5-dot bars.
 
<noinclude>A simple template to quickly format 5-dot bars.
  
'''Example:'''
+
{{Tlx|5dot|dots&#61;<Number of filled dots>|size&#61;<size of the dots; default is 12px>}}
 +
 
 +
==Examples:==
 +
 
 +
;Two dots filled, 10px image size:{{Tlx|5dot|dots&#61;2|size&#61;10px}}
 +
'''Result:'''{{5dot|dots=2|size=10px}}
 +
 
 +
;Same as above, no image size specified:{{Tlx|5dot|dots&#61;2}}
 +
'''Result:'''{{5dot|dots=2}}
  
{{Tlx|5dot|dots&#61;2|size&#61;10px}}
 
  
'''Result:'''
 
{{5dot|dots=2|size=10px}}
 
 
</noinclude>
 
</noinclude>

Revision as of 16:47, 23 October 2012

A simple template to quickly format 5-dot bars.

{{5dot|dots=<Number of filled dots>|size=<size of the dots; default is 12px>}}

Examples:

Two dots filled, 10px image size
{{5dot|dots=2|size=10px}}

Result: Dot-filled.pngDot-filled.pngDot.pngDot.pngDot.png


Same as above, no image size specified
{{5dot|dots=2}}

Result: Dot-filled.pngDot-filled.pngDot.pngDot.pngDot.png