Template:clear/doc

From Wiktionary
Jump to navigation Jump to search
Edit-paste.svg
This is a documentation subpage for Template:clear.
It contains usage information, categories and other content that are not part of the original template page.

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 the template used by the new VisualEditor.

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