Difference between revisions of "Template:Clear"

(Created page with "<div style="clear:{{#ifeq:{{{1|}}}|{{void}}|both|{{{1|}}}}}"><noinclude> ==Usage== This template will automatically clear content and force content to the side of it to be pushe...")
 
m (add category)
 
(10 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<div style="clear:{{#ifeq:{{{1|}}}|{{void}}|both|{{{1|}}}}}"><noinclude>
<div style="clear:{{{1|both}}};"></div><noinclude>{{doc}}[[Category:Formatting Templates]]</noinclude>
 
==Usage==
This template will automatically clear content and force content to the side of it to be pushed underneath it. You can define a side by typing <nowiki>{{clear|left}}, {{clear|right}}, or {{clear|both}}.</nowiki> It defaults to "both" if none is given.
 
[[Category:Formatting Templates|C]]

Latest revision as of 18:16, 19 September 2020

Usage

This template will automatically clear content and force content to the side of it to be pushed underneath it. You can define a side by typing {{clear|left}}, {{clear|right}}, or {{clear|both}}. It defaults to "both" if none is given.