Template:Sticky: Difference between revisions

Template page
No edit summary
No edit summary
 
Line 1: Line 1:
<templatestyles src="Sticky/style.css"/><div class="bg-white sticky" style="top: {{{top|50px}}}">{{{1}}}</div>
<includeonly><templatestyles src="Sticky/style.css"/><div class="bg-white sticky" style="top: {{{top|50px}}}">{{{1}}}</div></includeonly><noinclude>{{documentation}}</noinclude>

Latest revision as of 14:14, 21 January 2024

DO NOT USE THIS TEMPLATE IN MOVELISTS. There was a brief period where we experimented with this, having a single sticky {{MoveDataHeader}} on each movelist. After more consideration this is worse for most readers than the header simply being included at the top of each section.

This template puts its contents in a container that sticks to the top of the page. There are no uses currently recommend for it. Use with great caution.