Difference between revisions of "Template:Checks"

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 | 15px | {{ #ifexpr: {{{ 2 | 1 }}} | 15px }} }}{{...")
 
imported>Chrissy
m (oops)
 
Line 1: Line 1:
<includeonly><span style="white-space: nowrap;">{{ #ifexpr: {{{ 1 | 0 }}} > 0 | [[Image:Checkdot.png|15px]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[Image:Uncheckdot.png|15px]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 1 | [[Image:Checkdot.png|15px]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[Image:Uncheckdot.png|15px]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 2 | [[Image:Checkdot.png|15px]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[Image:Uncheckdot.png|15px]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 3 | [[Image:Checkdot.png|15px]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[Image:Uncheckdot.png|15px]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 4 | [[Image:Checkdot.png|15px]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[Image:Uncheckdot.png|15px]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 5 | <br />{{ #ifexpr: {{{ 1 | 0 }}} > 5 | [[Image:Checkdot.png|15px]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[Image:Uncheckdot.png|15px]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 6 | [[Image:Checkdot.png|15px]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[Image:Uncheckdot.png|15px]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 7 | [[Checkdot.png|15px]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[Image:Uncheckdot.png|15px]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 8 | [[Image:Checkdot.png|15px]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[Image:Uncheckdot.png|15px]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 9 | [[Image:Checkdot.png|15px]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[Image:Uncheckdot.png|15px]] }} }} }}</span></includeonly><noinclude>This template allows you to quickly and easily indicate stat values with checkboxes. Not suitable for black or green backgrounds.
+
<includeonly><span style="white-space: nowrap;">{{ #ifexpr: {{{ 1 | 0 }}} > 0 | [[Image:Checkdot.png|15px]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[Image:Uncheckdot.png|15px]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 1 | [[Image:Checkdot.png|15px]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[Image:Uncheckdot.png|15px]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 2 | [[Image:Checkdot.png|15px]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[Image:Uncheckdot.png|15px]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 3 | [[Image:Checkdot.png|15px]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[Image:Uncheckdot.png|15px]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 4 | [[Image:Checkdot.png|15px]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[Image:Uncheckdot.png|15px]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 5 | <br />{{ #ifexpr: {{{ 1 | 0 }}} > 5 | [[Image:Checkdot.png|15px]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[Image:Uncheckdot.png|15px]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 6 | [[Image:Checkdot.png|15px]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[Image:Uncheckdot.png|15px]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 7 | [[Image:Checkdot.png|15px]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[Image:Uncheckdot.png|15px]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 8 | [[Image:Checkdot.png|15px]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[Image:Uncheckdot.png|15px]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 9 | [[Image:Checkdot.png|15px]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[Image:Uncheckdot.png|15px]] }} }} }}</span></includeonly><noinclude>This template allows you to quickly and easily indicate stat values with checkboxes. Not suitable for black or green backgrounds.
  
 
{|
 
{|

Latest revision as of 00:13, 10 June 2013

This template allows you to quickly and easily indicate stat values with checkboxes. Not suitable for black or green backgrounds.

Basic usage
{{checks|1}} Checkdot.pngUncheckdot.pngUncheckdot.pngUncheckdot.pngUncheckdot.png
{{checks|2}} Checkdot.pngCheckdot.pngUncheckdot.pngUncheckdot.pngUncheckdot.png
{{checks|3}} Checkdot.pngCheckdot.pngCheckdot.pngUncheckdot.pngUncheckdot.png
{{checks|4}} Checkdot.pngCheckdot.pngCheckdot.pngCheckdot.pngUncheckdot.png
{{checks|5}} Checkdot.pngCheckdot.pngCheckdot.pngCheckdot.pngCheckdot.png
Variable background
{{checks|3|0}} Checkdot.pngCheckdot.pngCheckdot.png
{{checks|3|5}} Checkdot.pngCheckdot.pngCheckdot.pngUncheckdot.pngUncheckdot.png
{{checks|3|10}} Checkdot.pngCheckdot.pngCheckdot.pngUncheckdot.pngUncheckdot.png
{{checks|7|0}} Checkdot.pngCheckdot.pngCheckdot.pngCheckdot.pngCheckdot.png
Checkdot.pngCheckdot.png
{{checks|7|5}} Checkdot.pngCheckdot.pngCheckdot.pngCheckdot.pngCheckdot.png
Checkdot.pngCheckdot.pngUncheckdot.pngUncheckdot.pngUncheckdot.png
{{checks|7|10}} Checkdot.pngCheckdot.pngCheckdot.pngCheckdot.pngCheckdot.png
Checkdot.pngCheckdot.pngUncheckdot.pngUncheckdot.pngUncheckdot.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.