Template:Moon: Difference between revisions
From A KoL Wiki
imported>Phlip # in ParserFunctions |
imported>Quietust get rid of the named parameter calling method, since that's the only one being used now - hopefully, this will result in a slight speed increase |
||
Line 1: | Line 1: | ||
{| style="width: 112px; border: none; margin: 0 auto; padding: 0; border-collapse: collapse; background: white" | {| style="width: 112px; border: none; margin: 0 auto; padding: 0; border-collapse: collapse; background: white" | ||
| style="margin: 0; padding: 0; width: 11px" | {{#ifeq: | | style="margin: 0; padding: 0; width: 11px" | {{#ifeq:{{{3|0}}}|1|[[Image:Minimoon{{#switch:{{{1|1}}}|1|6|7|8=2}}.gif]]|}} | ||
| style="margin: 0; padding: 0; width: 30px" | [[Image:Moon | | style="margin: 0; padding: 0; width: 30px" | [[Image:Moon{{{1|1}}}{{#switch:{{{3|0}}}|2=a|3=b}}.gif|Ronald]] | ||
| style="margin: 0; padding: 0; width: 30px; text-align: {{#switch: | | style="margin: 0; padding: 0; width: 30px; text-align: {{#switch:{{{3|0}}}|4=center|9=right|10=left|left}}" | {{#switch:{{{3|0}}}|4=[[Image:Minimoon{{#ifexpr:{{#switch:{{{1|1}}}|1|2|3|4=1|0}} and {{#switch:{{{2|1}}}|1|6|7|8=1|0}}|2|}}.gif]]|9=[[Image:Minimoon{{#switch:{{{2|1}}}|1|6|7|8=2}}.gif]]|10=[[Image:Minimoon{{#switch:{{{1|1}}}|1|2|3|4=2}}.gif]]}} | ||
| style="margin: 0; padding: 0; width: 30px" | [[Image:Moon | | style="margin: 0; padding: 0; width: 30px" | [[Image:Moon{{{2|1}}}{{#switch:{{{3|0}}}|5=a|6=b}}.gif|Grimace]] | ||
| style="margin: 0; padding: 0; width: 11px" | {{#ifeq: | | style="margin: 0; padding: 0; width: 11px" | {{#ifeq:{{{3|0}}}|7|[[Image:Minimoon{{#switch:{{{2|1}}}|1|2|3|4=2}}.gif]]|}} | ||
|}<noinclude> | |}<noinclude> | ||
---- | ---- | ||
<code>{{moon|</code>''Ronald phase''<code>|</code>''Grimace phase''<code>| | <code>{{moon|</code>''Ronald phase''<code>|</code>''Grimace phase''<code>|</code>''Minimoon position''<code>}}</code> | ||
Phase 1 is new, 5 is full. | Phase 1 is new, 5 is full. |