Template:AprilFools: Difference between revisions

Template page
m (Using {{:pagename}} for transclusion calls from main namespace)
(Correcting day to April 1st)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#ifeq:{{CURRENTMONTH1}}|4|
<includeonly>{{#ifeq:{{CURRENTMONTH1}}|4|
{{#ifeq:{{CURRENTDAY}}|5|{{:{{FULLPAGENAME}}/AprilFools}}|}}|}}
{{#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.