Difference between revisions of "Template:Clear"
Jump to navigation
Jump to search
(Created page with "<includeonly><div style="clear: {{ #if: {{{1|}}} | {{{1}}} | both }};"></div></includeonly> <noinclude> Inserts a <tt>clear: both</tt> block. Useful for getting below images i...") |
|||
Line 1: | Line 1: | ||
− | <includeonly><div style="clear: {{ #if: {{{1|}}} | {{{1}}} | both }};"></div></includeonly> | + | <includeonly><div style="clear: {{ #if: {{{1|}}} | {{{1}}} | both }};"></div></includeonly><noinclude> |
− | <noinclude> | ||
Inserts a <tt>clear: both</tt> block. Useful for getting below images in pages. | 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>. | 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>. | ||
</noinclude> | </noinclude> |
Latest revision as of 18:23, 13 February 2025
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}}.