Template:Moon: Difference between revisions
From A KoL Wiki
imported>Phlip temporary hack to allow forcing of the minimoon colour, when it stands alone |
imported>Phlip Now with ParserFunctions and 15% more completeness! |
||
Line 1: | Line 1: | ||
{| style="width: 112px; border: none; margin: 0; padding: 0; border-collapse: collapse" | {| style="width: 112px; border: none; margin: 0 auto; padding: 0; border-collapse: collapse; background: white" | ||
| style="margin: 0; padding: 0; width: 11px" | | style="margin: 0; padding: 0; width: 11px" | {{ifeq:{{{minimoon|{{{3|0}}}}}}|1|[[Image:Minimoon{{switch:{{{ronald|{{{1|1}}}}}}|1|6|7|8=2}}.gif]]|}} | ||
| style="margin: 0; padding: 0; width: 30px" | [[Image:Moon{{{ronald|{{{1|1}}}}}}{{ | | style="margin: 0; padding: 0; width: 30px" | [[Image:Moon{{{ronald|{{{1|1}}}}}}{{switch:{{{minimoon|{{{3|0}}}}}}|2=a|3=b}}.gif|Ronald]] | ||
| style="margin: 0; padding: 0; width: | | style="margin: 0; padding: 0; width: 30px; text-align: {{switch:{{{minimoon|{{{3|0}}}}}}|4=center|9=right|10=left|left}}" | {{switch:{{{minimoon|{{{3|0}}}}}}|4=[[Image:Minimoon{{ifexpr:{{switch:{{{ronald|{{{1|1}}}}}}|1|2|3|4=1|0}} and {{switch:{{{grimace|{{{2|1}}}}}}|1|6|7|8=1|0}}|2|}}.gif]]|9=[[Image:Minimoon{{switch:{{{grimace|{{{2|1}}}}}}|1|6|7|8=2}}.gif]]|10=[[Image:Minimoon{{switch:{{{ronald|{{{1|1}}}}}}|1|2|3|4=2}}.gif]]}} | ||
| style="margin: 0; padding: 0; width: 30px" | [[Image:Moon{{{grimace|{{{2|1}}}}}}{{ | | style="margin: 0; padding: 0; width: 30px" | [[Image:Moon{{{grimace|{{{2|1}}}}}}{{switch:{{{minimoon|{{{3|0}}}}}}|5=a|6=b}}.gif|Grimace]] | ||
| style="margin: 0; padding: 0; width: 11px" | | style="margin: 0; padding: 0; width: 11px" | {{ifeq:{{{minimoon|{{{3|0}}}}}}|7|[[Image:Minimoon{{switch:{{{grimace|{{{2|1}}}}}}|1|2|3|4=2}}.gif]]|}} | ||
|}<noinclude> | |}<noinclude> | ||
---- | ---- | ||
<code>{{moon|</code>''Ronald phase''<code>|</code>''Grimace phase''<code>|</code>''Minimoon position | <code>{{moon|</code>''Ronald phase''<code>|</code>''Grimace phase''<code>|</code>''Minimoon position''<code>}}</code> or <code>{{moon|ronald=</code>''Ronald phase''<code>|grimace=</code>''Grimace phase''<code>|minimoon=</code>''Minimoon position''<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. | ||
</noinclude> | </noinclude> |
Revision as of 04:34, 20 June 2006
Template:Ifeq:0 | [[Image:Moon1Template:Switch:0.gif|Ronald]] | style="margin: 0; padding: 0; width: 30px; text-align: Template:Switch:0" | Template:Switch:0 | [[Image:Moon1Template:Switch:0.gif|Grimace]] | Template:Ifeq:0 |
{{moon|
Ronald phase|
Grimace phase|
Minimoon position}}
or {{moon|ronald=
Ronald phase|grimace=
Grimace phase|minimoon=
Minimoon position}}
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.