Template:Moon: Difference between revisions

From A KoL Wiki
imported>Phlip
Gah, I had no idea I was making this live... I dunno how I didn't notice this wasn't on "localhost"... sorry for flooding RC, guys.
imported>Phlip
temporary hack to allow forcing of the minimoon colour, when it stands alone
Line 1: Line 1:
{| style="width: 112px; border: none; margin: 0; padding: 0; border-collapse: collapse"
{| style="width: 112px; border: none; margin: 0; padding: 0; border-collapse: collapse"
| style="margin: 0; padding: 0; width: 11px" | {{if|{{ifeq|{{{minimoon|{{{3|0}}}}}}|1}}|[[Image:Minimoon2.gif]]|}}
| style="margin: 0; padding: 0; width: 11px" | {{if|{{ifeq|{{{minimoon|{{{3|0}}}}}}|1}}|[[Image:Minimoon{{{color|{{{4|2}}}}}}.gif]]|}}
| style="margin: 0; padding: 0; width: 30px" | [[Image:Moon{{{ronald|{{{1|1}}}}}}{{if|{{ifeq|{{{minimoon|{{{3|0}}}}}}|2}}|a|}}{{if|{{ifeq|{{{minimoon|{{{3|0}}}}}}|3}}|b|}}.gif]]
| style="margin: 0; padding: 0; width: 30px" | [[Image:Moon{{{ronald|{{{1|1}}}}}}{{if|{{ifeq|{{{minimoon|{{{3|0}}}}}}|2}}|a|}}{{if|{{ifeq|{{{minimoon|{{{3|0}}}}}}|3}}|b|}}.gif]]
| style="margin: 0; padding: 0; width: 20px" | {{if|{{ifeq|{{{minimoon|{{{3|0}}}}}}|4}}|[[Image:Minimoon.gif|center]]|}}{{if|{{ifeq|{{{minimoon|{{{3|0}}}}}}|9}}|[[Image:Minimoon.gif|right]]|}}{{if|{{ifeq|{{{minimoon|{{{3|0}}}}}}|10}}|[[Image:Minimoon.gif|left]]|}}
| style="margin: 0; padding: 0; width: 20px" | {{if|{{ifeq|{{{minimoon|{{{3|0}}}}}}|4}}|[[Image:Minimoon{{{color|{{{4|}}}}}}.gif|center]]|}}{{if|{{ifeq|{{{minimoon|{{{3|0}}}}}}|9}}|[[Image:Minimoon{{{color|{{{4|}}}}}}.gif|right]]|}}{{if|{{ifeq|{{{minimoon|{{{3|0}}}}}}|10}}|[[Image:Minimoon{{{color|{{{4|}}}}}}.gif|left]]|}}
| style="margin: 0; padding: 0; width: 30px" | [[Image:Moon{{{grimace|{{{2|1}}}}}}{{if|{{ifeq|{{{minimoon|{{{3|0}}}}}}|5}}|a|}}{{if|{{ifeq|{{{minimoon|{{{3|0}}}}}}|6}}|b|}}.gif]]
| style="margin: 0; padding: 0; width: 30px" | [[Image:Moon{{{grimace|{{{2|1}}}}}}{{if|{{ifeq|{{{minimoon|{{{3|0}}}}}}|5}}|a|}}{{if|{{ifeq|{{{minimoon|{{{3|0}}}}}}|6}}|b|}}.gif]]
| style="margin: 0; padding: 0; width: 11px" | {{if|{{ifeq|{{{minimoon|{{{3|0}}}}}}|7}}|[[Image:Minimoon2.gif]]|}}
| style="margin: 0; padding: 0; width: 11px" | {{if|{{ifeq|{{{minimoon|{{{3|0}}}}}}|7}}|[[Image:Minimoon{{{color|{{{4|2}}}}}}.gif]]|}}
|}<noinclude>
|}<noinclude>
----
----
<code>&#123;{moon|</code>''Ronald phase''<code>|</code>''Grimace phase''<code>|</code>''Minimoon position''<code>}}</code> or <code>&#123;{moon|ronald=</code>''Ronald phase''<code>|grimace=</code>''Grimace phase''<code>|minimoon=</code>''Minimoon position''<code>}}</code>
<code>&#123;{moon|</code>''Ronald phase''<code>|</code>''Grimace phase''<code>|</code>''Minimoon position''<code>|</code>''Minimoon color''<code>}}</code> or <code>&#123;{moon|ronald=</code>''Ronald phase''<code>|grimace=</code>''Grimace phase''<code>|minimoon=</code>''Minimoon position''<code>|color=</code>''Minimoon color''<code>}}</code>


Phase 1 is new, 5 is full.
Phase 1 is new, 5 is full.


Minimoon position is 1-11, 1 is left of Ronald, 2&3 are in front of Ronald, etc. Remember that it counts by 2 every day. Use 0 (or leave it off entirely) for old displays before the minimoon existed.
Minimoon position is 1-11, 1 is left of Ronald, 2&3 are in front of Ronald, etc. Remember that it counts by 2 every day. Use 0 (or leave it off entirely) for old displays before the minimoon existed.
Minimoon color is temporary until we figure out exactly how it works. It should be <code>2</code> for black, and blank for white, and only has effect when the minimoon is not in front of one of the other moons.
</noinclude>
</noinclude>

Revision as of 04:46, 11 June 2006

Template:If [[Image:Moon1Template:IfTemplate:If.gif]] Template:IfTemplate:IfTemplate:If [[Image:Moon1Template:IfTemplate:If.gif]] Template:If

{{moon|Ronald phase|Grimace phase|Minimoon position|Minimoon color}} or {{moon|ronald=Ronald phase|grimace=Grimace phase|minimoon=Minimoon position|color=Minimoon color}}

Phase 1 is new, 5 is full.

Minimoon position is 1-11, 1 is left of Ronald, 2&3 are in front of Ronald, etc. Remember that it counts by 2 every day. Use 0 (or leave it off entirely) for old displays before the minimoon existed.

Minimoon color is temporary until we figure out exactly how it works. It should be 2 for black, and blank for white, and only has effect when the minimoon is not in front of one of the other moons.