Difference between revisions of "Template:Clear"
From RRU Knowledge Base
Jessietail (talk | contribs) |
Jessietail (talk | contribs) |
||
Line 1: | Line 1: | ||
<div style="clear:{{{1|both | <includeonly><div style="clear: {{ #if: {{{1|}}} | {{{1}}} | both }};"></div></includeonly> | ||
<noinclude> | |||
{{ | == Usage instructions == | ||
This template inserts a <tt>clear: both</tt> block. Useful for getting below images in pages.<br> 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:Utility templates]]</noinclude> | [[Category:Utility templates]]</noinclude> |
Revision as of 06:27, 19 August 2017
Usage instructions
This template 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}}.