Difference between revisions of "Template:Checks"
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 01: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}} | |
| {{checks|2}} | |
| {{checks|3}} | |
| {{checks|4}} | |
| {{checks|5}} | |
| Variable background | |
| {{checks|3|0}} | |
| {{checks|3|5}} | |
| {{checks|3|10}} | |
| {{checks|7|0}} | |
| {{checks|7|5}} | |
| {{checks|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.