Template:Clear/doc

From Encyclopedia
Jump to: navigation, search

Script error Script error

This template adds <div style="clear:both;"></div>, <div style="clear:left;"></div>, or <div style="clear:right;"></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

Script error

{{clear}}
{{clear|left}}
{{clear|right}}

Example without {{clear}}

  1. REDIRECT Template:Lorem ipsum

Script error

New section without template

See how this section starts at the right of the image?

Example that uses {{clear}}

  1. REDIRECT Template:Lorem ipsum

Script error
Template:Tnull

New section with template

See how this section appears below the image?


See also