Template:Clear: Difference between revisions
Jump to navigation
Jump to search
m (Add category) |
m (Recategorize) |
||
Line 1: | Line 1: | ||
<div style="clear:{{{1|both}}};" class={{{class|}}}></div><noinclude> | <div style="clear:{{{1|both}}};" class={{{class|}}}></div><noinclude> | ||
{{documentation}} | {{documentation}} | ||
[[Category: | [[Category:Formatting templates]] | ||
</noinclude> | </noinclude> |
Latest revision as of 01:52, 2 March 2025

Shortcut {{clr}} |
Description
The {{clear}} 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
{{clear}}
— equivalent to<div style="clear:both;"></div>
{{clear|left}}
— equivalent to<div style="clear:left;"></div>
{{clear|right}}
— equivalent to<div style="clear:right;"></div>
Parameters
Parameter | Description | Type | Status | Notes |
---|---|---|---|---|
1 |
Clear | String | Optional | Can be 'right' or 'left' so content is delayed until just the right or left column is complete. The default clears both columns. |