Template:Clear: Difference between revisions

From Meta, a Wikimedia project coordination wiki
m Reverted changes by 180.244.234.224 (talk) to last version by Tegel
Tags: Replaced Rollback
m 30 revisions imported from w:Template:Clear: blame User:Barkeep49
 
(13 intermediate revisions by 8 users not shown)
(No difference)

Latest revision as of 20:00, 29 October 2021

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