Template:Dots

From retromux
Revision as of 02:39, 13 September 2024 by Sigil (talk | contribs) (Created page with "<includeonly><span style="white-space: nowrap;">{{ #ifexpr: {{{ 1 | 0 }}} > 0 | 10px | {{ #ifexpr: {{{ 2 | 1 }}} | 10px }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 1 | 10px | {{ #ifexpr: {{{ 2 | 1 }}} | 10px }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 2 | 10px | {{ #ifexpr: {{{ 2 | 1 }}} | 10px }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 3 | 10px | {{...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This template allows you to quickly and easily indicate stat values with dots, much like in the books.

Basic usage
{{dots|1}}
{{dots|2}}
{{dots|3}}
{{dots|4}}
{{dots|5}}
Variable background
{{dots|3|0}}
{{dots|3|5}}
{{dots|3|10}}
{{dots|7|0}}
{{dots|7|5}}
{{dots|7|10}}

Note that you can only usefully set background dots for less than or equal to a max of 5, and it will automatically spill into a two-line mode for any stat >5. This is probably a bug. Second note: Sigil stole this, don't bite anyone else.