Difference between revisions of "Template:Chocdot"
Jump to navigation
Jump to search
imported>Felix m |
imported>Felix |
||
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=<Number of filled dots>|size=<size of the dots; default is 12px>}} | {{Tlx|Chocdot|dots=<Number of filled dots>|size=<size of the dots; default is 12px>}} | ||
Line 15: | Line 13: | ||
;Two dots filled, 10px image size:{{Tlx|Chocdot|dots=2|size=10px}} | ;Two dots filled, 10px image size:{{Tlx|Chocdot|dots=2|size=10px}} | ||
− | '''Result:''' {{Chocdot|dots=2|size=10px}} | + | '''Result:'''{{Chocdot|dots=2|size=10px}} |
;Same as above, no image size specified:{{Tlx|Chocdot|dots=2}} | ;Same as above, no image size specified:{{Tlx|Chocdot|dots=2}} | ||
− | '''Result:''' {{Chocdot|dots=2}} | + | '''Result:'''{{Chocdot|dots=2}} |
</noinclude> | </noinclude> |