Jump to content

Template:clear/doc

From Wiktionary
Documentation for Template:clear. [edit]
This page contains usage information, categories, interwiki links, and other content describing the template.

This template adds <div style="clear:both;"></div>; into the page so that any additional content can be pushed downwards. This template is often used to stop text from appearing next to unrelated images.

Usage

[change]
{{clear
| 1 = The column to clear. Can be "right", "left" or "both" (default)
}}

TemplateData

[change]
This is the TemplateData documentation for this template used by VisualEditor and other tools.

TemplateData for clear

Template for pushing text downwards until the current text in the column is finished.

Template parameters

ParameterDescriptionTypeStatus
Column to clear1

The column to clear. Can be "right", left" or "both".

Default
both
Lineoptional