Template:Clear: Difference between revisions

No edit summary
Line 7: Line 7:
*<code><nowiki>{{clear|toc=1}}</nowiki></code> places the table of contents before the clear so that it's not pushed down
*<code><nowiki>{{clear|toc=1}}</nowiki></code> places the table of contents before the clear so that it's not pushed down


[[Category:Templates]]</noinclude>
[[Category:Formatting templates]]</noinclude>

Revision as of 13:45, August 20, 2023

Used to push any content that follows the template below floating elements. Usage below:

  • {{clear|left}} pushes subsequent content below left-floated elements
  • {{clear|right}} pushes subsequent content below right-floated elements
  • {{clear}} pushes subsequent content below both left and right floated elements
  • {{clear|toc=1}} places the table of contents before the clear so that it's not pushed down