Difference between revisions of "Clear"

(Clear template)
 
m (named parameter)
 
Line 1: Line 1:
<includeonly><div style="clear:{{{1|both}}}"></div></includeonly><noinclude>{{Clear/Documentation}}</noinclude>
+
<includeonly><div style="clear:{{{1|{{{side|both}}}}}}"></div></includeonly><noinclude>{{Clear/Documentation}}</noinclude>

Latest revision as of 16:50, 25 February 2023

Description[edit]

Content following the template will not be displayed until the existing content on the specified sides is displayed completely. Often used to ensure that text does not flow around unrelated images.
Affects elements with the CSS property float.

Usage[edit]

{{Clear}}
{{Clear|<left>}}
{{Clear|<right>}}

Parameters[edit]

Arrow.pngside: The side of the screen on which the content is located.
Optional. Defaults to 'both'.