Difference between revisions of "Template:Clear"
From TLoZ: ALTTP Hacking Resources
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly><div style="clear:both"></div></includeonly><noinclude>Inserts a <tt>clear: both</tt> block. Useful for getting below images in pages.[[Category:Templates]]</noinclude> | + | <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:Templates]]</noinclude> |
Latest revision as of 02:50, 21 December 2016
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}}.