Jump to content

Template:Greendots: Difference between revisions

From RetroMUX
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 | Ima..."
 
(No difference)

Latest revision as of 09:30, 4 December 2025

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

Basic usage
{{greendots|1}}
{{greendots|2}}
{{greendots|3}}
{{greendots|4}}
{{greendots|5}}
Variable background
{{greendots|3|0}}
{{greendots|3|5}}
{{greendots|3|10}}
{{greendots|7|0}}
{{greendots|7|5}}
{{greendots|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.