Difference between revisions of "Template:Winedots"

From City of Hope MUSH
Jump to navigation Jump to search
imported>Dragon
(Created page with "<includeonly><span style="white-space: nowrap;">{{ #ifexpr: {{{ 1 | 0 }}} > 0 | 10px | {{ #ifexpr: {{{ 2 | 1 }}} | 10px }} }...")
 
imported>Dragon
m
 
Line 1: Line 1:
<includeonly><span style="white-space: nowrap;">{{ #ifexpr: {{{ 1 | 0 }}} > 0 | [[Image:winedot-filled.png|10px]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[Image:winedot.png|10px]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 1 | [[Image:winedot-filled.png|10px]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[Image:winedot.png|10px]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 2 | [[Image:winedot-filled.png|10px]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[Image:winedot.png|10px]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 3 | [[Image:winedot-filled.png|10px]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[Image:winedot.png|10px]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 4 | [[Image:winedot-filled.png|10px]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[Image:winedot.png|10px]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 5 | <br />{{ #ifexpr: {{{ 1 | 0 }}} > 5 | [[Image:winedot-filled.png|10px]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[Image:winedot.png|10px]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 6 | [[Image:winedot-filled.png|10px]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[Image:winedot.png|10px]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 7 | [[Image:winedot-filled.png|10px]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[Image:winedot.png|10px]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 8 | [[Image:winedot-filled.png|10px]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[Image:winedot.png|10px]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 9 | [[Image:winedot-filled.png|10px]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[Image:winedot.png|10px]] }} }} }}</span></includeonly><noinclude>This template allows you to quickly and easily indicate stat values with dots, much like in the books.
+
<includeonly><span style="white-space: nowrap;">{{ #ifexpr: {{{ 1 | 0 }}} > 0 | [[Image:Winedot-filled.png|10px]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[Image:Winedot.png|10px]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 1 | [[Image:Winedot-filled.png|10px]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[Image:Winedot.png|10px]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 2 | [[Image:Winedot-filled.png|10px]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[Image:Winedot.png|10px]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 3 | [[Image:Winedot-filled.png|10px]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[Image:Winedot.png|10px]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 4 | [[Image:Winedot-filled.png|10px]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[Image:Winedot.png|10px]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 5 | <br />{{ #ifexpr: {{{ 1 | 0 }}} > 5 | [[Image:Winedot-filled.png|10px]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[Image:Winedot.png|10px]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 6 | [[Image:Winedot-filled.png|10px]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[Image:Winedot.png|10px]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 7 | [[Image:Winedot-filled.png|10px]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[Image:Winedot.png|10px]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 8 | [[Image:Winedot-filled.png|10px]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[Image:Winedot.png|10px]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 9 | [[Image:Winedot-filled.png|10px]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[Image:Winedot.png|10px]] }} }} }}</span></includeonly><noinclude>This template allows you to quickly and easily indicate stat values with dots, much like in the books.
  
 
{|
 
{|

Latest revision as of 09:40, 16 March 2017

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

Basic usage
{{winedots|1}} Winedot-filled.pngWinedot.pngWinedot.pngWinedot.pngWinedot.png
{{winedots|2}} Winedot-filled.pngWinedot-filled.pngWinedot.pngWinedot.pngWinedot.png
{{winedots|3}} Winedot-filled.pngWinedot-filled.pngWinedot-filled.pngWinedot.pngWinedot.png
{{winedots|4}} Winedot-filled.pngWinedot-filled.pngWinedot-filled.pngWinedot-filled.pngWinedot.png
{{winedots|5}} Winedot-filled.pngWinedot-filled.pngWinedot-filled.pngWinedot-filled.pngWinedot-filled.png
Variable background
{{winedots|3|0}} Winedot-filled.pngWinedot-filled.pngWinedot-filled.png
{{winedots|3|5}} Winedot-filled.pngWinedot-filled.pngWinedot-filled.pngWinedot.pngWinedot.png
{{winedots|3|10}} Winedot-filled.pngWinedot-filled.pngWinedot-filled.pngWinedot.pngWinedot.png
{{winedots|7|0}} Winedot-filled.pngWinedot-filled.pngWinedot-filled.pngWinedot-filled.pngWinedot-filled.png
Winedot-filled.pngWinedot-filled.png
{{winedots|7|5}} Winedot-filled.pngWinedot-filled.pngWinedot-filled.pngWinedot-filled.pngWinedot-filled.png
Winedot-filled.pngWinedot-filled.pngWinedot.pngWinedot.pngWinedot.png
{{winedots|7|10}} Winedot-filled.pngWinedot-filled.pngWinedot-filled.pngWinedot-filled.pngWinedot-filled.png
Winedot-filled.pngWinedot-filled.pngWinedot.pngWinedot.pngWinedot.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.