Template:Clear: Difference between revisions

From TestWiki
Content added Content deleted
(change <div style="clear:both;"/> to <div style="clear:both;"></div>, the former adds Category:Pages using invalid self-closed HTML tags)
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)))
 
(37 intermediate revisions by 18 users not shown)
Line 1: Line 1:
<div style="clear: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": {},
"description": "Adds a break, pushing following content to the next line below nearby floating images or templates",
"format": "inline"
}
</templatedata>
</noinclude>
</noinclude>

Latest revision as of 18:20, 19 February 2021