Difference between revisions of "Template:If full moon"

From Team Fortress Wiki
Jump to: navigation, search
m (Merge changes from Template:If full moon 2 (deprecated))
(This change uses a specific template for date calculation in unix)
Line 1: Line 1:
 
{{ #if:{{{ override| }}}
 
{{ #if:{{{ override| }}}
 
  |2 <!-- Halloween holiday restriction overridden by Valve -->
 
  |2 <!-- Halloween holiday restriction overridden by Valve -->
  |{{ #ifexpr: {{ #time:U|now }} >= {{ #time:U|{{ Fmc3|date-format=F d, Y H:i:s|adjustment=0|offset=0 }} }} and
+
  |{{ #ifexpr: {{ #time:U|now }} >= {{ #time:U|{{ Fmc date|adjustment=0|offset=0 }} }} and
   {{ #time:U|{{ Fmc3|date-format=F d, Y H:i:s|adjustment=1|offset=0 }} }} >= {{#time:U|now}}
+
   {{ #time:U|{{ Fmc date|adjustment=1|offset=0 }} }} >= {{#time:U|now}}
 
   |1 <!-- Full moon -->
 
   |1 <!-- Full moon -->
 
   |0 <!-- No, past the Full Moon -->
 
   |0 <!-- No, past the Full Moon -->

Revision as of 01:57, 25 May 2021

0