Difference between revisions of "Template:Fmc2"

From Team Fortress Wiki
Jump to: navigation, search
(A fork of the Fmc article to address the new Full Moon schedule, yet allow to the historical versions to continue with the historical dates)
 
(The change from Fmp to Fmp2 was addition of 44 minutes and 2.88 seconds to the lunar cycle divider; See Template Talk:Fmp2)
Line 1: Line 1:
{{#time:{{{date-format|F j, Y \a\t g}}}
+
{{#time:{{{date-format|F j, Y \a\t g A}}}<!--
|October 13, 2011 + {{#expr:({{Fmp2}} + {{{offset|0}}}) * 27}} days + {{#expr:({{Fmp2}} + {{{offset|0}}}) * 12}} hours + {{#expr:({{Fmp2}} - {{{adjustment|1}}} + {{{offset|0}}}) * 2}} days}} {{#ifexpr:({{Fmp2}} + {{{offset|0}}}) mod 2|{{{noon|Noon}}}|{{{midnight|Midnight}}}}}
+
                                          offset = offset to moon phase number
 +
                                          adjustment = *2 days forward      -->
 +
|October 13, 2011 + {{#expr:({{Fmp2}} + {{{offset|0}}}) * 27}} days   <!--
 +
              --> + {{#expr:({{Fmp2}} + {{{offset|0}}}) * 12}} hours <!--
 +
              --> + {{#expr:({{Fmp2}} + {{{offset|0}}}) * 44}} minutes<!--
 +
              --> + {{#expr:({{Fmp2}} + {{{offset|0}}}) * 03}} seconds<!--
 +
              --> + {{#expr:({{Fmp2}} - {{{adjustment|1}}} + {{{offset|0}}}) * 2}} days}} <!--
 +
                  /* Remove Noon/Midnight for now since the new model might not hold to that alignment */
 +
                    {{#ifexpr:({{Fmp2}} + {{{offset|0}}}) mod 2|{{{noon|Noon}}}|{{{midnight|Midnight}}}}}
 +
              -->

Revision as of 05:07, 29 November 2015

May 21, 2024 at 6 PM