Template:Clear: Difference between revisions
From Destinypedia, the Destiny wiki
(Created page with "<div style="clear:both"></div><noinclude> Do '''''NOT''''' use this template JUST to start a new paragraph. {{PAGENAME}}</noinclude>") |
m (Protected "Template:Clear" ([Edit=Allow only Destinypedia staff] (indefinite) [Move=Allow only Destinypedia staff] (indefinite))) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<div style="clear:both"></div><noinclude> | {{#if:{{{toc|}}}|__TOC__}}<div style="clear:{{{1|both}}}"></div><noinclude> | ||
Used to push any content that follows the template below floating elements. Usage below: | |||
[[Category:Utility templates | *<code><nowiki>{{clear|left}}</nowiki></code> pushes subsequent content below left-floated elements | ||
*<code><nowiki>{{clear|right}}</nowiki></code> pushes subsequent content below right-floated elements | |||
*<code><nowiki>{{clear}}</nowiki></code> pushes subsequent content below both left and right floated elements | |||
*<code><nowiki>{{clear|toc=1}}</nowiki></code> places the table of contents before the clear so that it's not pushed down | |||
[[Category:Utility templates]]</noinclude> |
Latest revision as of 13:41, June 4, 2022
Used to push any content that follows the template below floating elements. Usage below:
{{clear|left}}
pushes subsequent content below left-floated elements{{clear|right}}
pushes subsequent content below right-floated elements{{clear}}
pushes subsequent content below both left and right floated elements{{clear|toc=1}}
places the table of contents before the clear so that it's not pushed down