Difference between revisions of "Template:Meatdots"

From City of Hope MUSH
Jump to navigation Jump to search
imported>Ambrosine
(Created page with "<includeonly><span style="white-space: nowrap;">{{ #ifexpr: {{{ 1 | 0 }}} > 0 | 10px | {{ #ifexpr: {{{ 2 | 1 }}} | 10px }} }}{{ #if...")
 
imported>Ambrosine
 
Line 1: Line 1:
<includeonly><span style="white-space: nowrap;">{{ #ifexpr: {{{ 1 | 0 }}} > 0 | [[Image:Beefdot.png|10px]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[Image:Bonedot.png|10px]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 1 | [[Image:Beefdot.png|10px]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[Image:Bonedot.png|10px]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 2 | [[Image:Beefdot.png|10px]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[Image:Bonedot.png|10px]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 3 | [[Image:Beefdot.png|10px]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[Image:Bonedot.png|10px]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 4 | [[Image:Beefdot.png|10px]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[Image:Bonedot.png|10px]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 5 | <br />{{ #ifexpr: {{{ 1 | 0 }}} > 5 | [[Image:Beefdot.png|10px]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[Image:Bonedot.png|10px]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 6 | [[Image:Beefdot.png|10px]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[Image:Bonedot.png|10px]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 7 | [[Image:Beefdot.png|10px]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[Image:Bonedot.png|10px]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 8 | [[Image:Beefdot.png|10px]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[Image:Bonedot.png|10px]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 9 | [[Image:Beefdot.png|10px]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[Image:bonedot.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:Beefdot1.png|10px]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[Image:Bonedot.png|10px]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 1 | [[Image:Beefdot1.png|10px]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[Image:Bonedot.png|10px]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 2 | [[Image:Beefdot1.png|10px]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[Image:Bonedot.png|10px]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 3 | [[Image:Beefdot1.png|10px]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[Image:Bonedot.png|10px]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 4 | [[Image:Beefdot1.png|10px]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[Image:Bonedot.png|10px]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 5 | <br />{{ #ifexpr: {{{ 1 | 0 }}} > 5 | [[Image:Beefdot1.png|10px]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[Image:Bonedot.png|10px]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 6 | [[Image:Beefdot1.png|10px]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[Image:Bonedot.png|10px]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 7 | [[Image:Beefdot1.png|10px]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[Image:Bonedot.png|10px]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 8 | [[Image:Beefdot1.png|10px]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[Image:Bonedot.png|10px]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 9 | [[Image:Beefdot1.png|10px]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[Image:bonedot.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 23:50, 10 August 2018

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

Basic usage
{{meatdots|1}} Beefdot1.pngBonedot.pngBonedot.pngBonedot.pngBonedot.png
{{meatdots|2}} Beefdot1.pngBeefdot1.pngBonedot.pngBonedot.pngBonedot.png
{{meatdots|3}} Beefdot1.pngBeefdot1.pngBeefdot1.pngBonedot.pngBonedot.png
{{meatdots|4}} Beefdot1.pngBeefdot1.pngBeefdot1.pngBeefdot1.pngBonedot.png
{{meatdots|5}} Beefdot1.pngBeefdot1.pngBeefdot1.pngBeefdot1.pngBeefdot1.png
Variable background
{{meatdots|3|0}} Beefdot1.pngBeefdot1.pngBeefdot1.png
{{meatdots|3|5}} Beefdot1.pngBeefdot1.pngBeefdot1.pngBonedot.pngBonedot.png
{{meatdots|3|10}} Beefdot1.pngBeefdot1.pngBeefdot1.pngBonedot.pngBonedot.png
{{meatdots|7|0}} Beefdot1.pngBeefdot1.pngBeefdot1.pngBeefdot1.pngBeefdot1.png
Beefdot1.pngBeefdot1.png
{{meatdots|7|5}} Beefdot1.pngBeefdot1.pngBeefdot1.pngBeefdot1.pngBeefdot1.png
Beefdot1.pngBeefdot1.pngBonedot.pngBonedot.pngBonedot.png
{{meatdots|7|10}} Beefdot1.pngBeefdot1.pngBeefdot1.pngBeefdot1.pngBeefdot1.png
Beefdot1.pngBeefdot1.pngBonedot.pngBonedot.pngBonedot.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.