Template:Clear: Difference between revisions
Content deleted Content added
m Changed protection level of Template:Clear: Enable access by template editors; NeilN is okay with this move ([Edit=Allow only template editors and admins] (indefinite) [Move=Allow only template editors and admins] (indefinite)) |
m 30 revisions imported from w:Template:Clear: blame User:Barkeep49 |
||
(43 intermediate revisions by 23 users not shown) | |||
Line 1: | Line 1: | ||
<div style="clear:{{{1|both}}};"></div><noinclude> |
<div style="clear:{{{1|both}}};"></div><noinclude>{{documentation}}</noinclude> |
||
{{documentation}} |
|||
</noinclude> |
Latest revision as of 20:00, 29 October 2021
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 |