Difference between revisions of "Template:Eggs"

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 }} }}{{ #if...")
 
imported>Chrissy
 
Line 1: Line 1:
<includeonly><span style="white-space: nowrap;">{{ #ifexpr: {{{ 1 | 0 }}} > 0 | [[Image:GreenEgg.png|15px]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[Image:RedEgg.png|15px]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 1 | [[Image:GreenEgg.png|15px]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[Image:RedEgg.png|15px]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 2 | [[Image:GreenEgg.png|15px]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[Image:RedEgg.png|15px]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 3 | [[Image:GreenEgg.png|15px]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[Image:RedEgg.png|15px]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 4 | [[Image:GreenEgg.png|15px]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[Image:RedEgg.png|15px]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 5 | <br />{{ #ifexpr: {{{ 1 | 0 }}} > 5 | [[Image:GreenEgg.png|15px]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[Image:RedEgg.png|15px]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 6 | [[Image:GreenEgg.png|15px]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[Image:RedEgg.png|15px]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 7 | [[Image:GreenEgg.png|15px]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[Image:RedEgg.png|15px]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 8 | [[Image:GreenEgg.png|15px]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[Image:RedEgg.png|15px]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 9 | [[Image:GreenEgg.png|15px]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[Image:RedEgg.png|15px]] }} }} }}</span></includeonly><noinclude>This template allows you to quickly and easily indicate stat values with Yoshi eggs. Why? Because!
+
<includeonly><span style="white-space: nowrap;">{{ #ifexpr: {{{ 1 | 0 }}} > 0 | [[Image:GreenEgg.png|15px]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[Image:RedEgg.png|15px]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 1 | [[Image:GreenEgg.png|15px]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[Image:RedEgg.png|15px]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 2 | [[Image:GreenEgg.png|15px]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[Image:RedEgg.png|15px]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 3 | [[Image:GreenEgg.png|15px]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[Image:RedEgg.png|15px]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 4 | [[Image:GreenEgg.png|15px]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[Image:RedEgg.png|15px]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 5 | <br />{{ #ifexpr: {{{ 1 | 0 }}} > 5 | [[Image:GreenEgg.png|15px]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[Image:RedEgg.png|15px]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 6 | [[Image:GreenEgg.png|15px]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[Image:RedEgg.png|15px]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 7 | [[Image:GreenEgg.png|15px]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[Image:RedEgg.png|15px]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 8 | [[Image:GreenEgg.png|15px]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[Image:RedEgg.png|15px]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 9 | [[Image:GreenEgg.png|15px]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[Image:RedEgg.png|15px]] }} }} }}</span></includeonly><noinclude>This template allows you to quickly and easily indicate stat values with Yoshi eggs. Why? Because! (Admittedly highly confusing for red/green colorblind people.)
  
 
{|
 
{|

Latest revision as of 07:31, 18 May 2013

This template allows you to quickly and easily indicate stat values with Yoshi eggs. Why? Because! (Admittedly highly confusing for red/green colorblind people.)

Basic usage
{{eggs|1}} GreenEgg.pngRedEgg.pngRedEgg.pngRedEgg.pngRedEgg.png
{{eggs|2}} GreenEgg.pngGreenEgg.pngRedEgg.pngRedEgg.pngRedEgg.png
{{eggs|3}} GreenEgg.pngGreenEgg.pngGreenEgg.pngRedEgg.pngRedEgg.png
{{eggs|4}} GreenEgg.pngGreenEgg.pngGreenEgg.pngGreenEgg.pngRedEgg.png
{{eggs|5}} GreenEgg.pngGreenEgg.pngGreenEgg.pngGreenEgg.pngGreenEgg.png
Variable background
{{eggs|3|0}} GreenEgg.pngGreenEgg.pngGreenEgg.png
{{eggs|3|5}} GreenEgg.pngGreenEgg.pngGreenEgg.pngRedEgg.pngRedEgg.png
{{eggs|3|10}} GreenEgg.pngGreenEgg.pngGreenEgg.pngRedEgg.pngRedEgg.png
{{eggs|7|0}} GreenEgg.pngGreenEgg.pngGreenEgg.pngGreenEgg.pngGreenEgg.png
GreenEgg.pngGreenEgg.png
{{eggs|7|5}} GreenEgg.pngGreenEgg.pngGreenEgg.pngGreenEgg.pngGreenEgg.png
GreenEgg.pngGreenEgg.pngRedEgg.pngRedEgg.pngRedEgg.png
{{eggs|7|10}} GreenEgg.pngGreenEgg.pngGreenEgg.pngGreenEgg.pngGreenEgg.png
GreenEgg.pngGreenEgg.pngRedEgg.pngRedEgg.pngRedEgg.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.