Template:Clear
Jump to navigation
Jump to search
This template adds <div style="clear:both;"></div>; for technical XHTML details, see Template talk:Clear.
{{Clear}}: Makes content wait until existing content is completed in all columns. Often used to stop text from flowing next to unrelated images.
Usage
[edit source]{{Clear}} {{Clear|left}} {{Clear|right}}
The template should not be substituted, as the markup provided will be confusing to many editors, and this template provides documentation for itself, there is little justification for substitution.
Example without the {{Clear}} template
[edit source]![](http://upload.wikimedia.org/wikipedia/commons/thumb/c/c6/HeidelbergTun.jpg/200px-HeidelbergTun.jpg)
New section without template
[edit source]See how this section starts at the right of the image?
Example with the {{Clear}} template
[edit source]![](http://upload.wikimedia.org/wikipedia/commons/thumb/c/c6/HeidelbergTun.jpg/200px-HeidelbergTun.jpg)
{{Clear}}
New section with template
[edit source]See how this section appears below the image?
See also
[edit source]- delays content until left column is complete.
- delays content until right column is complete.
- The fine points of {{Clear}} vs. {{-}} are discussed in Template talk:-.
is similar, but technically different.