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
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly>
+
<includeonly><span class="dot5">{{#switch: {{{dots}}}
<span class="dot5">{{#switch: {{{dots}}}
+
  | 1 =[[image:Choc-dot-f.png|link=|{{{size | 12px}}}]][[image:Choc-dot.png|link=|{{{size | 12px}}}]][[image:Choc-dot.png|link=|{{{size | 12px}}}]][[image:Choc-dot.png|link=|{{{size | 12px}}}]][[image:Choc-dot.png|link=|{{{size | 12px}}}]]
  | 1 =[[image:Choc-dot-f.png|{{{size | 12px}}}]][[image:Choc-dot.png|{{{size | 12px}}}]][[image:Choc-dot.png|{{{size | 12px}}}]][[image:Choc-dot.png|{{{size | 12px}}}]][[image:Choc-dot.png|{{{size | 12px}}}]]
+
  | 2 =[[image:Choc-dot-f.png|link=|{{{size | 12px}}}]][[image:Choc-dot-f.png|link=|{{{size | 12px}}}]][[image:Choc-dot.png|link=|{{{size | 12px}}}]][[image:Choc-dot.png|link=|{{{size | 12px}}}]][[image:Choc-dot.png|link=|{{{size | 12px}}}]]
  | 2 =[[image:Choc-dot-f.png|{{{size | 12px}}}]][[image:Choc-dot-f.png|{{{size | 12px}}}]][[image:Choc-dot.png|{{{size | 12px}}}]][[image:Choc-dot.png|{{{size | 12px}}}]][[image:Choc-dot.png|{{{size | 12px}}}]]
+
  | 3 =[[image:Choc-dot-f.png|link=|{{{size | 12px}}}]][[image:Choc-dot-f.png|link=|{{{size | 12px}}}]][[image:Choc-dot-f.png|link=|{{{size | 12px}}}]][[image:Choc-dot.png|link=|{{{size | 12px}}}]][[image:Choc-dot.png|link=|{{{size | 12px}}}]]
  | 3 =[[image:Choc-dot-f.png|{{{size | 12px}}}]][[image:Choc-dot-f.png|{{{size | 12px}}}]][[image:Choc-dot-f.png|{{{size | 12px}}}]][[image:Choc-dot.png|{{{size | 12px}}}]][[image:Choc-dot.png|{{{size | 12px}}}]]
+
  | 4 =[[image:Choc-dot-f.png|link=|{{{size | 12px}}}]][[image:Choc-dot-f.png|link=|{{{size | 12px}}}]][[image:Choc-dot-f.png|link=|{{{size | 12px}}}]][[image:Choc-dot-f.png|link=|{{{size | 12px}}}]][[image:Choc-dot.png|link=|{{{size | 12px}}}]]
  | 4 =[[image:Choc-dot-f.png|{{{size | 12px}}}]][[image:Choc-dot-f.png|{{{size | 12px}}}]][[image:Choc-dot-f.png|{{{size | 12px}}}]][[image:Choc-dot-f.png|{{{size | 12px}}}]][[image:Choc-dot.png|{{{size | 12px}}}]]
+
  | 5 =[[image:Choc-dot-f.png|link=|{{{size | 12px}}}]][[image:Choc-dot-f.png|link=|{{{size | 12px}}}]][[image:Choc-dot-f.png|link=|{{{size | 12px}}}]][[image:Choc-dot-f.png|link=|{{{size | 12px}}}]][[image:Choc-dot-f.png|link=|{{{size | 12px}}}]]
  | 5 =[[image:Choc-dot-f.png|{{{size | 12px}}}]][[image:Choc-dot-f.png|{{{size | 12px}}}]][[image:Choc-dot-f.png|{{{size | 12px}}}]][[image:Choc-dot-f.png|{{{size | 12px}}}]][[image:Choc-dot-f.png|{{{size | 12px}}}]]
+
  |[[image:Choc-dot.png|link=|{{{size | 12px}}}]][[image:Choc-dot.png|link=|{{{size | 12px}}}]][[image:Choc-dot.png|link=|{{{size | 12px}}}]][[image:Choc-dot.png|link=|{{{size | 12px}}}]][[image:Choc-dot.png|link=|{{{size | 12px}}}]]
  |[[image:Choc-dot.png|{{{size | 12px}}}]][[image:Choc-dot.png|{{{size | 12px}}}]][[image:Choc-dot.png|{{{size | 12px}}}]][[image:Choc-dot.png|{{{size | 12px}}}]][[image:Choc-dot.png|{{{size | 12px}}}]]
+
}}</span></includeonly><noinclude>A simple template to quickly format 5-dot bars, wih brown dots.
}}</span></includeonly>
 
<noinclude>A simple template to quickly format 5-dot bars, wih brown dots.
 
  
 
{{Tlx|Chocdot|dots&#61;<Number of filled dots>|size&#61;<size of the dots; default is 12px>}}
 
{{Tlx|Chocdot|dots&#61;<Number of filled dots>|size&#61;<size of the dots; default is 12px>}}

Latest revision as of 15:43, 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