Difference between revisions of "Template:Fmp"

From Team Fortress Wiki
Jump to: navigation, search
(*guess*)
(Category:Full Moon templates (obsolete))
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>The number of the upcoming full moon phase is: '''</noinclude>{{#expr:ceil (
+
<noinclude>The number of the upcoming full moon phase is: </noinclude>
({{Age in days
+
{{#expr:ceil (( {{#time:U|now}}  
| year1  = 2011
+
              - {{#time:U|October 12, 2011 2:06}} <!-- +seconds since first full moon in the programme -->
| month1 = 10
+
              -  (24 * 60 *60)                   <!-- -seconds the event lasts after full moon (est.) -->
| day1  = 12
+
                              ) / 86400            <!-- /seconds per day        -->
| year2  = {{CURRENTYEAR}}
+
                                / 29.530588853 ) }} <!-- /days per synodic month -->
| month2 = {{CURRENTMONTH}}
+
<noinclude><br> This number should increment just at the end of a given computed event. Note, this happens at a day after the estimated actual full moon and the times of each estimated Full Moon event are back-calculated from this point by [[Template:Fmc2]].</noinclude><noinclude>[[Category:Full Moon templates (obsolete)]]</noinclude>
| day2  = {{CURRENTDAY}}
 
}} / 29.5) + (0.5 / 29.5))<!-- Add half a day to account for the noon start on day 1 -->}}<noinclude>'''</noinclude>
 

Latest revision as of 01:47, 4 November 2017

The number of the upcoming full moon phase is: 163
This number should increment just at the end of a given computed event. Note, this happens at a day after the estimated actual full moon and the times of each estimated Full Moon event are back-calculated from this point by Template:Fmc2.