Difference between revisions of "Template:Clear"

From RRU Knowledge Base
Line 1: Line 1:
<div style="clear:{{{1|both}}};"></div><noinclude>
<includeonly><div style="clear: {{ #if: {{{1|}}} | {{{1}}} | both }};"></div></includeonly>
stole from [http://dwarffortresswiki.org/index.php/Template:Clear dfwiki] need to remember how to use it
<noinclude>
{{todo|oh my god I'm an idiot I forgot we had this template on the old wiki too}}
== 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}}.