Difference between revisions of "Template:Moons"

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 | 10px | {{ #ifexpr: {{{ 2 | 1 }}} | 10px }} }}{{...")
 
imported>Chrissy
Line 1: Line 1:
<includeonly><span style="white-space: nowrap;">{{ #ifexpr: {{{ 1 | 0 }}} > 0 | [[Image:Fullmoon.png|10px]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[Image:Moonsliver.png|10px]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 1 | [[Image:Fullmoon.png|10px]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[Image:Moonsliver.png|10px]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 2 | [[Image:Fullmoon.png|10px]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[Image:Moonsliver.png|10px]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 3 | [[Image:Fullmoon.png|10px]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[Image:Moonsliver.png|10px]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 4 | [[Image:Fullmoon.png|10px]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[Image:Moonsliver.png|10px]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 5 | <br />{{ #ifexpr: {{{ 1 | 0 }}} > 5 | [[Image:Fullmoon.png|10px]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[Image:Moonsliver.png|10px]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 6 | [[Image:Fullmoon.png|10px]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[Image:Moonsliver.png|10px]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 7 | [[Image:Fullmoon.png|10px]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[Image:Moonsliver.png|10px]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 8 | [[Image:Fullmoon.png|10px]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[Image:Moonsliver.png|10px]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 9 | [[Image:Fullmoon.png|10px]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[Image:Moonsliver.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:Fullmoon.png|15px]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[Image:Moonsliver.png|15px]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 1 | [[Image:Fullmoon.png|15px]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[Image:Moonsliver.png|15px]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 2 | [[Image:Fullmoon.png|15px]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[Image:Moonsliver.png|15px]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 3 | [[Image:Fullmoon.png|15px]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[Image:Moonsliver.png|15px]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 4 | [[Image:Fullmoon.png|15px]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[Image:Moonsliver.png|15px]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 5 | <br />{{ #ifexpr: {{{ 1 | 0 }}} > 5 | [[Image:Fullmoon.png|15px]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[Image:Moonsliver.png|15px]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 6 | [[Image:Fullmoon.png|15px]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[Image:Moonsliver.png|15px]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 7 | [[Image:Fullmoon.png|15px]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[Image:Moonsliver.png|15px]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 8 | [[Image:Fullmoon.png|15px]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[Image:Moonsliver.png|15px]] }} }}{{ #ifexpr: {{{ 1 | 0 }}} > 9 | [[Image:Fullmoon.png|15px]] | {{ #ifexpr: {{{ 2 | 1 }}} | [[Image:Moonsliver.png|15px]] }} }} }}</span></includeonly><noinclude>This template allows you to quickly and easily indicate stat values with dots, much like in the books.
  
 
{|
 
{|

Revision as of 03:17, 17 May 2013

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

Basic usage
{{moons|1}} Fullmoon.pngMoonsliver.pngMoonsliver.pngMoonsliver.pngMoonsliver.png
{{moons|2}} Fullmoon.pngFullmoon.pngMoonsliver.pngMoonsliver.pngMoonsliver.png
{{moons|3}} Fullmoon.pngFullmoon.pngFullmoon.pngMoonsliver.pngMoonsliver.png
{{moons|4}} Fullmoon.pngFullmoon.pngFullmoon.pngFullmoon.pngMoonsliver.png
{{moons|5}} Fullmoon.pngFullmoon.pngFullmoon.pngFullmoon.pngFullmoon.png
Variable background
{{moons|3|0}} Fullmoon.pngFullmoon.pngFullmoon.png
{{moons|3|5}} Fullmoon.pngFullmoon.pngFullmoon.pngMoonsliver.pngMoonsliver.png
{{moons|3|10}} Fullmoon.pngFullmoon.pngFullmoon.pngMoonsliver.pngMoonsliver.png
{{moons|7|0}} Fullmoon.pngFullmoon.pngFullmoon.pngFullmoon.pngFullmoon.png
Fullmoon.pngFullmoon.png
{{moons|7|5}} Fullmoon.pngFullmoon.pngFullmoon.pngFullmoon.pngFullmoon.png
Fullmoon.pngFullmoon.pngMoonsliver.pngMoonsliver.pngMoonsliver.png
{{moons|7|10}} Fullmoon.pngFullmoon.pngFullmoon.pngFullmoon.pngFullmoon.png
Fullmoon.pngFullmoon.pngMoonsliver.pngMoonsliver.pngMoonsliver.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.