Difference between revisions of "Template:Chocdot"

From City of Hope MUSH
Jump to navigation Jump to search
imported>Felix
(Created page with "<includeonly> <span class="dot5">{{#switch: {{{dots}}} | 1 ={{{size | 12px}}}{{{size | 12px}}}image:Choc-dot.png|{{{size | 1...")
 
imported>Felix
m
Line 15: Line 15:
  
 
;Two dots filled, 10px image size:{{Tlx|Chocdot|dots&#61;2|size&#61;10px}}
 
;Two dots filled, 10px image size:{{Tlx|Chocdot|dots&#61;2|size&#61;10px}}
'''Result:'''{{Chocdot|dots=2|size=10px}}
+
'''Result:''' {{Chocdot|dots=2|size=10px}}
  
 
;Same as above, no image size specified:{{Tlx|Chocdot|dots&#61;2}}
 
;Same as above, no image size specified:{{Tlx|Chocdot|dots&#61;2}}
'''Result:'''{{Chocdot|dots=2}}
+
'''Result:''' {{Chocdot|dots=2}}
  
  
 
</noinclude>
 
</noinclude>

Revision as of 16:36, 11 September 2016

A simple template to quickly format 5-dot bars, wih brown dots.

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

Examples:

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

Result: Choc-dot-f.pngChoc-dot-f.pngChoc-dot.pngChoc-dot.pngChoc-dot.png


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

Result: Choc-dot-f.pngChoc-dot-f.pngChoc-dot.pngChoc-dot.pngChoc-dot.png