Difference between revisions of "Template:AprilFoolsNotice"

From blackwiki
Jump to navigation Jump to search
blackwiki>Eumat114
(as per Aasim)
blackwiki>Awesome Aasim
(that actually broke the template, so just use {{CURRENTYEAR}})
Line 1: Line 1:
 
{{Fools-gate
 
{{Fools-gate
 
|aprilfools={{Notice|1=Happy April Fools! Please keep in mind [[WP:FOOLS|the rules for April Fools]], and act in good taste<br/>{{countdown
 
|aprilfools={{Notice|1=Happy April Fools! Please keep in mind [[WP:FOOLS|the rules for April Fools]], and act in good taste<br/>{{countdown
  |year  = {{CURRENTYEAR}}
+
  |year  = {{CURRENTYEAR|{{CURRENTYEAR}}}}
 
  |month = 04
 
  |month = 04
 
  |day  = 01
 
  |day  = 01
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}}} and ({{CURRENTMONTH}} > 4 OR {{CURRENTDAY}} > 1)|</br>'''April Fools {{{year}}} has ended. See you in {{#expr: {{{year}}} + 1}}!'''|
+
{{#ifexpr: {{CURRENTYEAR}} = {{{year|{{CURRENTYEAR}}}}} and ({{CURRENTMONTH}} > 4 OR {{CURRENTDAY}} > 1)|</br>'''April Fools {{{year|{{CURRENTYEAR}}}}} has ended. See you in {{#expr: {{{year|{{CURRENTYEAR}}}}} + 1}}!'''|
 
{{countdown
 
{{countdown
  |year  = {{{year}}}
+
  |year  = {{{year|{{CURRENTYEAR}}}}}
 
  |month = 04
 
  |month = 04
 
  |day  = 01
 
  |day  = 01

Revision as of 15:42, 2 April 2020