Difference between revisions of "Template:AprilFoolsNotice"

From blackwiki
Jump to navigation Jump to search
blackwiki>Moonythedwarf
(add Uncyclopedia's UN:HTBANJS)
blackwiki>InvalidOS
m (improved {{#ifexpr}} tag contents, used to consider dates like 3 March 2020 as being after april fools' day 2020)
Line 10: Line 10:
 
}}}}
 
}}}}
 
|otherwise={{Notice|1=April Fools isn't here yet, or has passed! Please do not edit this page unless it is April 1st (UTC time). If it ''is'' April 1st (UTC), then please [[Special:Purge/{{FULLPAGENAME}}|purge the page]] and this notice will disappear and you can enjoy April 1st. Please do not remove this notice, even on April Fools.</br>
 
|otherwise={{Notice|1=April Fools isn't here yet, or has passed! Please do not edit this page unless it is April 1st (UTC time). If it ''is'' April 1st (UTC), then please [[Special:Purge/{{FULLPAGENAME}}|purge the page]] and this notice will disappear and you can enjoy April 1st. Please do not remove this notice, even on April Fools.</br>
{{#ifexpr: {{CURRENTYEAR}} = {{{year|{{CURRENTYEAR}}}}} and ({{CURRENTMONTH}} > 4 OR {{CURRENTDAY}} > 1)|</br>'''April Fools {{{year|{{CURRENTYEAR}}}}} has ended. See you in {{#expr: {{{year|{{CURRENTYEAR}}}}} + 1}}!'''|
+
{{#ifexpr: {{CURRENTYEAR}} = {{{year|{{CURRENTYEAR}}}}} AND ({{CURRENTMONTH}} > 4 AND ({{CURRENTDAY}} > 1 OR {{CURRENTDAY}} = 1) OR ({{CURRENTMONTH}} = 4 AND {{CURRENTDAY}} > 1))
 +
|</br>'''April Fools {{{year|{{CURRENTYEAR}}}}} has ended. See you in {{#expr: {{{year|{{CURRENTYEAR}}}}} + 1}}!'''|
 
{{countdown
 
{{countdown
 
  |year  = {{{year|{{CURRENTYEAR}}}}}
 
  |year  = {{{year|{{CURRENTYEAR}}}}}

Revision as of 13:37, 3 April 2020