Difference between revisions of "Template:If full moon"

From Team Fortress Wiki
Jump to: navigation, search
m (The gargoyle has vanished to another realm!)
m (use {{is event}} for scream fortress fm)
 
Line 1: Line 1:
{{ #if:{{{ override|}}}
+
{{#if: {{#ifeq: {{lc:{{is event}}}} | scream fortress | 2 | {{{override|}}} }}
  |2 <!-- Halloween holiday restriction overridden by Valve -->
+
  | 2 <!-- Halloween holiday restriction overridden by Valve -->
  |{{ #ifexpr: {{ #time:U|now }} >= {{ #time:U|{{ Fmc date|adjustment=0|offset=0 }} }} and
+
  | {{ #ifexpr: {{ #time:U|now }} >= {{ #time:U|{{ Fmc date|adjustment=0|offset=0 }} }} and
 
   {{ #time:U|{{ Fmc date|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 -->
 
  }}
 
  }}
  |0 <!--No, too early for Full Moon -->
+
  | 0 <!-- No, too early for Full Moon -->
 
}}<noinclude>[[Category:Full Moon templates]]</noinclude>
 
}}<noinclude>[[Category:Full Moon templates]]</noinclude>

Latest revision as of 00:13, 3 October 2024

0