Template:Clear: Difference between revisions

No edit summary
m (Protected "Template:Clear" ([Edit=Allow only CyberAcme staff] (indefinite) [Move=Allow only CyberAcme staff] (indefinite)))
 
(One intermediate revision by one other user not shown)
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>

Latest revision as of 06:55, August 22, 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