Template:Clear: Difference between revisions
Content added Content deleted
No edit summary |
m (Protected "Template:Clear": much used + important template ([Edit=Allow only logged in users] (indefinite) [Move=Allow only logged in users] (indefinite) [Delete=Allow only administrators] (indefinite) [Protect=Allow only administrators] (indefinite))) |
||
(34 intermediate revisions by 16 users not shown) | |||
Line 1: | Line 1: | ||
<div style="clear:{{{1|both}}};"></div><noinclude> |
<div style="clear:{{{1|both}}};"></div><noinclude> |
||
{{documentation}} |
|||
==Usage== |
|||
<pre>{{clear}}</pre> |
|||
This template adds a break, pushing following content to the next line below nearby floating images or templates. |
|||
==See also== |
|||
* {{tl|clearleft}} delays content until left column is complete. |
|||
* {{tl|clearright}} delays content until right column is complete. |
|||
* {{tl|-}} is similar, but technically different. |
|||
*: ''The finer points of {{Tl|clear}} vs. {{Tl|-}} are discussed in [[w:Template talk:-#- versus clear|w:Template talk:-]] and [[w:Template talk:Clear]].'' |
|||
[[Category:Typing-aid templates|{{PAGENAME}}]] |
|||
[[Category:Formatting templates|{{PAGENAME}}]] |
|||
<templatedata> |
|||
{ |
|||
"params": { |
|||
"1": { |
|||
"description": "either <tt>left</tt> or <tt>right</tt>, to replace the default <tt>both</tt>", |
|||
"type": "string", |
|||
"default": "both" |
|||
} |
|||
}, |
|||
"description": "Adds a break, pushing following content to the next line below nearby floating images or templates", |
|||
"format": "inline" |
|||
} |
|||
</templatedata> |
|||
</noinclude> |
</noinclude> |