Template:Clear/doc

From Miranda NG
< Template:Clear
Revision as of 10:13, 4 October 2015 by Goraf (talk | contribs) (Template:Clear/doc)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This is a documentation subpage for Template:Clear .
It contains usage information, categories and other content that is not part of the original template page.

This template adds <div style="clear:both;"></div>, <div style="clear:left;"></div>, or <div style="clear:right;"></div>.

{{clear}}: Makes content wait until existing content is completed in all columns. Often used to stop text from flowing next to unrelated images.

Usage

The markup provided will be confusing to many editors, and as this template provides documentation for itself, there is little justification for substitution.

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

Example without {{clear}}

PluginUpdater 01.png

Template:Lorem

New section without template

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

Example that uses {{clear}}

PluginUpdater 01.png

Template:Lorem
{{clear}}

New section with template

See how this section appears below the image?