Difference between revisions of "Template:Moons"
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 |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly><span style="white-space: nowrap;">{{ #ifexpr: {{{ 1 | 0 }}} > 0 | [[Image:Fullmoon.png| | + | <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 moons; works best on dark backgrounds. |
{| | {| |
Latest revision as of 02:18, 17 May 2013
This template allows you to quickly and easily indicate stat values with moons; works best on dark backgrounds.
Basic usage | |
---|---|
{{moons|1}} | |
{{moons|2}} | |
{{moons|3}} | |
{{moons|4}} | |
{{moons|5}} | |
Variable background | |
{{moons|3|0}} | |
{{moons|3|5}} | |
{{moons|3|10}} | |
{{moons|7|0}} | |
{{moons|7|5}} | |
{{moons|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.