Template:Clear

From NPOWiki
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.