Template:Clear

From Meta, a Wikimedia project coordination wiki
Jump to navigation Jump to search
Template documentation[view] [edit] [history] [purge]

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]

TemplateData

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

Template parameters

ParameterDescriptionTypeStatus
side1

either <tt>left</tt> or <tt>right</tt>, to replace the default <tt>both</tt>.

Example
{{Clear|left}}
Stringoptional