Difference between revisions of "Template:Clear"
Jump to navigation
Jump to search
Arcangelus (talk | contribs) m (Added documentation) |
|||
Line 1: | Line 1: | ||
− | |||
− | |||
− | |||
<div style="clear:{{{1|both}}};"></div><noinclude> | <div style="clear:{{{1|both}}};"></div><noinclude> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |
Latest revision as of 18:44, 4 March 2025
This template makes content wait until existing content is completed in all columns. It is often used to prevent text from flowing next to unrelated images.
Usage[edit]
- {{clear}} — adds <div style="clear:both;"></div>
- {{clear|left}} — adds <div style="clear:left;"></div>
- {{clear|right}} — adds <div style="clear:right;"></div>
For technical details, see the discussion in the talk page of the wikipedia equivalent.
Examples[edit]
The above documentation is transcluded from Template:Clear/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |