Template:Clear/doc

From RuneRealm Wiki

This is the current revision of this page, as edited by Alex (talk | contribs) at 23:14, 11 October 2024 (Created page with "{{Documentation}} The '''clear''' template is used when the text needs to be moved below, for example, after an image or an infobox. ==Usage== <pre>{{clear}}</pre> :substitutes: '''<nowiki><div class="clear-template clear-both" style="clear:both;"></div></nowiki>''' <pre>{{clear|left}}</pre> :substitutes: '''<nowiki><div class="clear-template clear-left" style="clear:left;"></div></nowiki>''' <pre>{{clear|right}}</pre> :substitutes: '''<nowiki><div class="clear-templa..."). The present address (URL) is a permanent link to this version.

(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.

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

Usage

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

Template data

Show/hide template's data

The following information is used by extensions and applications, such as VisualEditor, to help users implement this template onto pages. Please ensure that it is up-to-date.

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

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Placement1

One of: left, right, both

Default
both
Lineoptional