Template:Clear: Difference between revisions
Content deleted Content added
extracting documentation to Template:Clear/doc |
😲 |
||
Line 1: | Line 1: | ||
<div style="clear:{{{1|both}}};"></div>< |
<div style="clear:{{{1|both}}};"></div><no including e>{{documentation}}</noinclude> |
Revision as of 00:09, 29 May 2017
<no including e>
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
side | 1 | Which side’s floating images or templates to push content below (left, right or both).
| Line | optional |