Template:Clear

Permanently protected template
From Meta, a Wikimedia project coordination wiki
This is an archived version of this page, as edited by Billinghurst (talk | contribs) at 11:20, 23 March 2019 (Protected "Template:Clear": Highly transcluded template ([Edit=Allow only autoconfirmed users] (indefinite) [Move=Allow only autoconfirmed users] (indefinite))). It may differ significantly from the current version.
Template documentation
{{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

{{clear}}
{{clear|left}}
{{clear|right}}

See also

  • {{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

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

Template parameters[Edit template data]

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