Difference between revisions of "Template:Gdots"

From City of Hope MUSH
Jump to navigation Jump to search
imported>Chrissy
(Created page with "<includeonly><span style="white-space: nowrap;">{{ #ifexpr: {{{ 1 | 0 }}} > 0 | 12px | {{ #ifexpr: {{{ 2 | 1 }}} | 12px }} }}{{ #ifex...")
 
imported>Chrissy
 
Line 1: Line 1:
<includeonly><span style="white-space: nowrap;">{{ #ifexpr: {{{ 1 | 0 }}} > 0 | [[image:dgrdot.png|12px]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[image:Egrdot.png|12px]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 1 | [[image:Fgrdot.png|12px]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[image:Egrdot.png|12px]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 2 | [[image:Fgrdot.png|12px]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[image:Egrdot.png|12px]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 3 | [[image:Fgrdot.png|12px]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[image:Egrdot.png|12px]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 4 | [[image:Fgrdot.png|12px]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[image:Egrdot.png|12px]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 5 | <br />{{ #ifexpr: {{{ 1 | 0 }}} > 5 | [[image:Fgrdot.png|12px]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[image:Egrdot.png|12px]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 6 | [[image:Fgrdot.png|12px]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[image:Egrdot.png|12px]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 7 | [[image:Fgrdot.png|12px]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[image:Egrdot.png|12px]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 8 | [[image:Fgrdot.png|12px]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[image:Egrdot.png|12px]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 9 | [[image:Fgrdot.png|12px]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[image:Egrdot.png|12px]] }} }} }}</span></includeonly><noinclude>This template allows you to quickly and easily indicate stat values with dots, much like in the books, except these are GREEN
+
<includeonly><span style="white-space: nowrap;">{{ #ifexpr: {{{ 1 | 0 }}} > 0 | [[image:Fgrdot.png|12px]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[image:Egrdot.png|12px]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 1 | [[image:Fgrdot.png|12px]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[image:Egrdot.png|12px]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 2 | [[image:Fgrdot.png|12px]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[image:Egrdot.png|12px]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 3 | [[image:Fgrdot.png|12px]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[image:Egrdot.png|12px]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 4 | [[image:Fgrdot.png|12px]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[image:Egrdot.png|12px]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 5 | <br />{{ #ifexpr: {{{ 1 | 0 }}} > 5 | [[image:Fgrdot.png|12px]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[image:Egrdot.png|12px]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 6 | [[image:Fgrdot.png|12px]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[image:Egrdot.png|12px]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 7 | [[image:Fgrdot.png|12px]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[image:Egrdot.png|12px]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 8 | [[image:Fgrdot.png|12px]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[image:Egrdot.png|12px]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 9 | [[image:Fgrdot.png|12px]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[image:Egrdot.png|12px]] }} }} }}</span></includeonly><noinclude>This template allows you to quickly and easily indicate stat values with dots, much like in the books, except these are GREEN
  
 
{|
 
{|

Latest revision as of 01:29, 18 June 2013

This template allows you to quickly and easily indicate stat values with dots, much like in the books, except these are GREEN

Basic usage
{{gdots|1}} Fgrdot.pngEgrdot.pngEgrdot.pngEgrdot.pngEgrdot.png
{{gdots|2}} Fgrdot.pngFgrdot.pngEgrdot.pngEgrdot.pngEgrdot.png
{{gdots|3}} Fgrdot.pngFgrdot.pngFgrdot.pngEgrdot.pngEgrdot.png
{{gdots|4}} Fgrdot.pngFgrdot.pngFgrdot.pngFgrdot.pngEgrdot.png
{{gdots|5}} Fgrdot.pngFgrdot.pngFgrdot.pngFgrdot.pngFgrdot.png
Variable background
{{gdots|3|0}} Fgrdot.pngFgrdot.pngFgrdot.png
{{gdots|3|5}} Fgrdot.pngFgrdot.pngFgrdot.pngEgrdot.pngEgrdot.png
{{gdots|3|10}} Fgrdot.pngFgrdot.pngFgrdot.pngEgrdot.pngEgrdot.png
{{gdots|7|0}} Fgrdot.pngFgrdot.pngFgrdot.pngFgrdot.pngFgrdot.png
Fgrdot.pngFgrdot.png
{{gdots|7|5}} Fgrdot.pngFgrdot.pngFgrdot.pngFgrdot.pngFgrdot.png
Fgrdot.pngFgrdot.pngEgrdot.pngEgrdot.pngEgrdot.png
{{gdots|7|10}} Fgrdot.pngFgrdot.pngFgrdot.pngFgrdot.pngFgrdot.png
Fgrdot.pngFgrdot.pngEgrdot.pngEgrdot.pngEgrdot.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.