Difference between revisions of "Clear/Documentation"

(Created page with "==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...")
 
Line 9: Line 9:
 
</pre>
 
</pre>
 
==Parameters==
 
==Parameters==
{{bullet}} '''unamed parameter''': The side of the screen on which the content is located. Defaults to "both".
+
{{bullet}} '''side''': The side of the screen on which the content is located. Defaults to "both".

Revision as of 16:50, 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

side: The side of the screen on which the content is located. Defaults to "both".