Template:Clear: Difference between revisions
Jump to navigation
Jump to search
VivaRomania (talk | contribs) This may come in handy down the road. |
VivaRomania (talk | contribs) mNo edit summary |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly><div style="clear: {{ #if: {{{1|}}} | {{{1}}} | both }};"></div></includeonly><noinclude> | <includeonly><div style="clear: {{ #if: {{{1|}}} | {{{1}}} | both }};"></div></includeonly><noinclude> | ||
{{Doc begin}} | |||
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>. | ||
[[Category:Layout templates]]</noinclude> | |||