Template:AprilFools: Difference between revisions

Template page
(Attempting to create AprilFools template, rudimentary logic)
 
(Correcting day to April 1st)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#ifeq:{{CURRENTMONTH1}}|4|
<includeonly>{{#ifeq:{{CURRENTMONTH1}}|4|
{{#ifeq:{{CURRENTDAY}}|1|[stuff here]|}}|}}
{{#ifeq:{{CURRENTDAY}}|1|<templatestyles src="Template:AprilFools/styles.css"/><div id="aprilfools">{{:{{FULLPAGENAME}}/AprilFools}}</div>|}}|}}</includeonly><noinclude>Shows a dedicated april fools page, provided the template <nowiki>{{AprilFools}}</nowiki> is declared at the very end of the article and a <nowiki>[[Article name/AprilFools]]</nowiki> page exists.</noinclude>

Latest revision as of 15:33, 5 April 2024

Shows a dedicated april fools page, provided the template {{AprilFools}} is declared at the very end of the article and a [[Article name/AprilFools]] page exists.