Jump to content

Template:Reddots: 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 | Image:Reddot..."
 
No edit summary
 
Line 2: Line 2:


{|
{|
! colspan="2" | Basic usage
|-
|<nowiki>{{reddots|1}}</nowiki>
|{{reddots|1}}
|-
|<nowiki>{{reddots|2}}</nowiki>
|{{reddots|2}}
|-
|<nowiki>{{reddots|3}}</nowiki>
|{{reddots|3}}
|-
|<nowiki>{{reddots|4}}</nowiki>
|{{reddots|4}}
|-
|<nowiki>{{reddots|5}}</nowiki>
|{{reddots|5}}
|-
! colspan="2" | Variable background
|-
|<nowiki>{{reddots|3|0}}</nowiki>
|{{reddots|3|0}}
|-
|<nowiki>{{reddots|3|5}}</nowiki>
|{{reddots|3|5}}
|-
|<nowiki>{{reddots|3|10}}</nowiki>
|{{reddots|3|10}}
|-
|<nowiki>{{reddots|7|0}}</nowiki>
|{{reddots|7|0}}
|-
|<nowiki>{{reddots|7|5}}</nowiki>
|{{reddots|7|5}}
|-
|<nowiki>{{reddots|7|10}}</nowiki>
|{{reddots|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.
</noinclude>

Latest revision as of 09:26, 24 November 2025

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

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