Template:Clear

From NPOWiki
Revision as of 08:52, 21 October 2025 by Bobogoobo (talk | contribs) (create)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


Documentation [edit]

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.

The above documentation is transcluded from Template:Clear/doc.