Changes

Jump to: navigation, search

User:Alleryn/Sandbox/MoonPhase

4 bytes removed, 07:00, 1 October 2020
m
3 day chart (proof of concept / testing)
|-
|Today || {{#ifexpr:
abs({{#timel:xNU|today}}-{{#timel:xNU|Oct 1}} <!--Date of Last Full Moon in GMTEST--> ) <= 24*60*60 or abs({{#timel:xNU|today}}-{{#timel:xNU|Oct 31}} <!--Date of Next Full Moon in GMTEST--> ) <= 24*60*60 | Full Moon |{{#ifexpr: abs({{#timel:xNU|today}}-{{#timel:xNU|Oct 109}}<!--Date of Last Quarter Moon in GMTEST-->)<=24*60*60|Last Quarter|{{#ifexpr: abs({{#timel:xNU|today}}-{{#timel:xNU|Oct 23}}<!--Date of First Quarter Moon in GMTEST-->)<=24*60*60|First Quarter|
{{#ifexpr: ({{#timel:xNU|today}}-{{#timel:xNU|Oct 16}}) < -29.53/4*24*60*60|Waning Gibbous| <!-- 29.53/4 is a quarter of the average synodic month, but we could use something less precise, we have a lot of leeway-->
{{#ifexpr: {{#timel:xNU|today}}-{{#timel:xNU|Oct 16}}<-24*60*60|Waning Crescent|
|-
|Tomorrow ||{{#ifexpr:
abs({{#timel:xNU|today + 1 days}}-{{#timel:xNU|Oct 1}} <!--Date of Last Full Moon in GMTEST--> ) <= 24*60*60 or abs({{#timel:xNU|today + 1 days}}-{{#timel:xNU|Oct 31}} <!--Date of Next Full Moon in GMTEST--> ) <= 24*60*60 | Full Moon |{{#ifexpr: abs({{#timel:xNU|today + 1 days}}-{{#timel:xNU|Oct 109}}<!--Date of Last Quarter Moon in GMTEST-->)<=24*60*60|Last Quarter|{{#ifexpr: abs({{#timel:xNU|today + 1 days}}-{{#timel:xNU|Oct 23}}<!--Date of First Quarter Moon in GMTEST-->)<=24*60*60|First Quarter|
{{#ifexpr: ({{#timel:xNU|today + 1 days}}-{{#timel:xNU|Oct 16}}) < -29.53/4*24*60*60|Waning Gibbous|
{{#ifexpr: {{#timel:xNU|today + 1 days}}-{{#timel:xNU|Oct 16}}<-24*60*60|Waning Crescent|
|-
|In 2 Days ||{{#ifexpr:
abs({{#timel:xNU|today + 2 days}}-{{#timel:xNU|Oct 1}} <!--Date of Last Full Moon in GMTEST--> ) <= 24*60*60 or abs({{#timel:xNU|today + 2 days}}-{{#timel:xNU|Oct 31}} <!--Date of Next Full Moon in GMTEST--> ) <= 24*60*60 | Full Moon |{{#ifexpr: abs({{#timel:xNU|today + 2 days}}-{{#timel:xNU|Oct 109}}<!--Date of Last Quarter Moon in GMTEST-->)<=24*60*60|Last Quarter|{{#ifexpr: abs({{#timel:xNU|today + 2 days}}-{{#timel:xNU|Oct 23}}<!--Date of First Quarter Moon in GMTEST-->)<=24*60*60|First Quarter|
{{#ifexpr: ({{#timel:xNU|today + 2 days}}-{{#timel:xNU|Oct 16}}) < -29.53/4*24*60*60|Waning Gibbous|
{{#ifexpr: {{#timel:xNU|today + 2 days}}-{{#timel:xNU|Oct 16}}<-24*60*60|Waning Crescent|
|-
|In 3 Days ||{{#ifexpr:
abs({{#timel:xNU|today + 3 days}}-{{#timel:xNU|Oct 1}} <!--Date of Last Full Moon in GMTEST--> ) <= 24*60*60 or abs({{#timel:xNU|today + 3 days}}-{{#timel:xNU|Oct 31}} <!--Date of Next Full Moon in GMTEST--> ) <= 24*60*60 | Full Moon |{{#ifexpr: abs({{#timel:xNU|today + 3 days}}-{{#timel:xNU|Oct 109}}<!--Date of Last Quarter Moon in GMTEST-->)<=24*60*60|Last Quarter|{{#ifexpr: abs({{#timel:xNU|today + 3 days}}-{{#timel:xNU|Oct 23}}<!--Date of First Quarter Moon in GMTEST-->)<=24*60*60|First Quarter|
{{#ifexpr: ({{#timel:xNU|today + 3 days}}-{{#timel:xNU|Oct 16}}) < -29.53/4*24*60*60|Waning Gibbous|
{{#ifexpr: {{#timel:xNU|today + 3 days}}-{{#timel:xNU|Oct 16}}<-24*60*60|Waning Crescent|
5,698
edits

Navigation menu