Difference between revisions of "Template:Dots"

From City of Hope MUSH
Jump to navigation Jump to search
imported>Klem
(Created page with "<includeonly><span style="white-space: nowrap;">{{ #ifexpr: {{{ 1 | 0 }}} > 0 | 10px | {{ #ifexpr: {{{ 2 | 1 }}} | 10px }} }}{{ #ife...")
 
imported>Chrissy
 
(One intermediate revision by the same user not shown)
(No difference)

Latest revision as of 00:21, 14 June 2013

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

Basic usage
{{dots|1}} Dot-filled.pngDot.pngDot.pngDot.pngDot.png
{{dots|2}} Dot-filled.pngDot-filled.pngDot.pngDot.pngDot.png
{{dots|3}} Dot-filled.pngDot-filled.pngDot-filled.pngDot.pngDot.png
{{dots|4}} Dot-filled.pngDot-filled.pngDot-filled.pngDot-filled.pngDot.png
{{dots|5}} Dot-filled.pngDot-filled.pngDot-filled.pngDot-filled.pngDot-filled.png
Variable background
{{dots|3|0}} Dot-filled.pngDot-filled.pngDot-filled.png
{{dots|3|5}} Dot-filled.pngDot-filled.pngDot-filled.pngDot.pngDot.png
{{dots|3|10}} Dot-filled.pngDot-filled.pngDot-filled.pngDot.pngDot.png
{{dots|7|0}} Dot-filled.pngDot-filled.pngDot-filled.pngDot-filled.pngDot-filled.png
Dot-filled.pngDot-filled.png
{{dots|7|5}} Dot-filled.pngDot-filled.pngDot-filled.pngDot-filled.pngDot-filled.png
Dot-filled.pngDot-filled.pngDot.pngDot.pngDot.png
{{dots|7|10}} Dot-filled.pngDot-filled.pngDot-filled.pngDot-filled.pngDot-filled.png
Dot-filled.pngDot-filled.pngDot.pngDot.pngDot.png

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.