Template:Clear: Difference between revisions

From Data Crystal
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 1: Line 1:
<includeonly><div style="clear: both"></div></includeonly><noinclude>'''Usage:'''
<includeonly><div style="clear: {{ #if: {{{1|}}} | {{{1}}} | both }};"></div></includeonly><noinclude>
{{clear}}
Inserts a <tt>clear: both</tt> block. Useful for getting below images in pages.
The template is being used you just don't know it!
 
<pre><nowiki>{{clear}}</nowiki></pre>
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:Templates]]
 
</noinclude>
[[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}}.