Jump to content

Template:Dots

From RetroMUX
Revision as of 07:02, 4 December 2025 by Darc (talk | contribs) (Created page with "<includeonly> {{#css: .dotcontainer { display: flex; flex-flow: row nowrap; align-items: flex-start; } .dot { border-radius: 50%; width: 15px; height: 15px; border: 1px solid {{{color|black}}}; margin: 0px 2px; background-color: transparent; } .dot.filled { background-color: {{{color|black}}}; } }} <div class="dotcontainer"> <div class="dot {{#ifexpr: {{{value|0}}} > 0 | filled | }}"></div> <div class="dot {{#ifexpr: {{{value|0}}} > 1 | filled | }...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


usage:

{{Dots number=5 | value = 3 | color = red }}

number = how many dots to show, defaults to 5
value = number of dots to fill in, defaults to 0
color = color of the dots, defaults to black.