< Template:April Fools

(reworked collapsing code)
m (clear both jeez)
Line 3: Line 3:
 
{{ {{{ 1 | Scratch Wiki:April Fools/{{FULLPAGENAME}} }}} }}
 
{{ {{{ 1 | Scratch Wiki:April Fools/{{FULLPAGENAME}} }}} }}
 
<!-- include the joke page: either the first parameter, or what we assume to be the joke page -->
 
<!-- include the joke page: either the first parameter, or what we assume to be the joke page -->
<div id="view-original" style="background-color: lime; font-weight: bold; font-size: 1.1em; text-align: center; padding: 0.5em; border-radius: 5px;" class="mw-customtoggle-af">View Original Page</div>
+
<div id="view-original" style="clear: both; background-color: lime; font-weight: bold; font-size: 1.1em; text-align: center; padding: 0.5em; border-radius: 5px;" class="mw-customtoggle-af">View Original Page</div>
 
<div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-af">
 
<div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-af">
 
<!-- hide the original page, but let the user uncollapse it (unclosed elements are automatically closed by MediaWiki) -->
 
<!-- hide the original page, but let the user uncollapse it (unclosed elements are automatically closed by MediaWiki) -->
 
}} <!-- display nothing on other days --><noinclude>{{/doc}}[[Category:Templates]]</noinclude>
 
}} <!-- display nothing on other days --><noinclude>{{/doc}}[[Category:Templates]]</noinclude>

Revision as of 05:37, 1 April 2018

[edit] [history] [purge] Documentation Template documentation

This documentation is transcluded from Template:April Fools/Apr1/doc.

Do not use this template. Use {{April Fools}} instead.

This template shows a header on April Fools' Day (April 1st), showing a link to the April Fools' version of the page here.