Template:Clear

From Meta Wiki
Jump to: navigation, search
Documentation icon.png Template documentation[edit] [purge]
This documentation is transcluded from Template:Clear/doc.
See also: rsw:Template:Clear

The clear template is used when the text needs to be moved below, for example, after an image or an infobox.

Usage

The CSS from this template has been moved to MediaWiki:Common.css and replaced with classes. Each class corresponds to a certain style, e.g. clear-both adds clear:both;, clear-right adds clear:right;, etc.

{{clear}}
substitutes: <div class="clear-both"></div>
{{clear|left}}
substitutes: <div class="clear-left"></div>
{{clear|right}}
substitutes: <div class="clear-right;"></div>