Template:Clear: Difference between revisions
Jump to navigation
Jump to search
m 1 revision imported |
mNo edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
<div style="clear: both;"></div><noinclude> | <div class="clear-template clear-{{lc:{{{1|both}}}}}" style="clear:{{#if:{{{1|}}}|{{{1}}}|both}};"></div><noinclude>{{/doc}}</noinclude> | ||
Latest revision as of 16:57, 17 February 2020
Template documentation
This documentation is transcluded from Template:Clear/doc. [edit] [purge]
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>
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.
|
||||||||||