Difference between revisions of "Clear/Documentation"

Line 9: Line 9:
 
</pre>
 
</pre>
 
==Parameters==
 
==Parameters==
{{bullet}} '''side''': The side of the screen on which the content is located. Defaults to "both".
+
{{parameter|side|The side of the screen on which the content is located.|both}}

Revision as of 17:12, 25 February 2023

Description

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

{{Clear}}
{{Clear|left}}
{{Clear|right}}

Parameters

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