Template:Clear

From OtherX
Revision as of 19:28, 14 January 2024 by OtherXAdmin (talk | contribs) (Created page with "<div class="clear-template clear-{{lc:{{{1|both}}}}}" style="clear:{{{1|both}}};"></div><noinclude>{{/doc}}</noinclude>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Template documentation
This documentation is transcluded from Template:Clear/doc. [edit] [history] [purge]

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>

{{#if:||==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.

<templatedata> { "params": { "1": { "label": "Placement", "description": "One of: left, right, both", "type": "line", "default": "both" } }, "description": "The clear template is used when the text needs to be moved below, for example, after an image or an infobox.", "format": "inline" } </templatedata>

{{#if:||}}