Template:Clear: Difference between revisions

From Data Crystal
Jump to navigation Jump to search
(Blanked the page)
No edit summary
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly><div style="clear: {{ #if: {{{1|}}} | {{{1}}} | both }};"></div></includeonly><noinclude>
Inserts a <tt>clear: both</tt> block. Useful for getting below images in pages.


You can set the first parameter to ''left'' or ''right'' to only have it clear that side, e.g. <tt><nowiki>{{clear|left}}</nowiki></tt>.
[[Category:Layout templates]]</noinclude>

Latest revision as of 04:17, 24 January 2024

Inserts a clear: both block. Useful for getting below images in pages.

You can set the first parameter to left or right to only have it clear that side, e.g. {{clear|left}}.