Welcome to Data Crystal's new home! Data Crystal is now part of the TCRF family (sort of).
The wiki has recently moved; please report any issues in Discord. Pardon the dust.

Template:Clear: Difference between revisions

From Data Crystal
Jump to navigation Jump to search
(Replacing page with '<div style="clear: both"></div>')
No edit summary
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<div style="clear: both"></div>
<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: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}}.