Template:Clear/doc
Jump to navigation
Jump to search
This page contains the documentation for Template:Clear. It includes information about the template, such as usage and categories, and is not displayed when using the template itself.
This template is used to make the content following it display below any floating elements of the page, such as infoboxes or images. This can assist readability and aesthetics.
Parameters
- first unnamed parameter (optional) - can be "left", "right", or "both" (default), for which float sides to clear past.
- mode (optional) - if set to
div, the template will use a div element to clear rather than a line break element (default). Both elements can behave differently depending on the surrounding content and how MediaWiki parses it, but generally an empty div has no height while a line break does.