Jump to content

Template:Clear/doc

From Meta, a Wikimedia project coordination wiki
{{br}} redirects to this template as an alias.
For the language indicator of Breton, see {{bre}}.

This template adds

<div style="clear:both;"></div> or
<div style="clear:left;"></div> or
<div style="clear:right;"></div>

as a break, pushing following content to the next line below nearby floating images or templates.

Usage

[edit]
{{clear}}
{{clear|left}}
{{clear|right}}

See also

[edit]
  • {{clearleft}} delays content until left column is complete.
  • {{clearright}} delays content until right column is complete.
  • {{-}} is similar, but has visible line break.
  • {{clear2}} can be used for floating elements.

TemplateData

[edit]

Adds a break, pushing following content to the next line below nearby floating images or templates.

Template parameters

ParameterDescriptionTypeStatus
side1

Which side’s floating images or templates to push content below (left, right or both).

Suggested values
left right both
Default
both
Lineoptional