Difference between revisions of "Template:Clear"

From Osamu Sato Wiki
Jump to navigation Jump to search
(Created page with "<includeonly><div style="clear: {{ #if: {{{1|}}} | {{{1}}} | both }};"></div></includeonly><noinclude> Inserts a <tt>clear: both</tt> block. Useful for getting below images in...")
 
 
Line 2: Line 2:
 
Inserts a <tt>clear: both</tt> block. Useful for getting below images in pages.
 
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>. This template is copied from [https://tcrf.net/ The Cutting Room Floor], which is allowed under the websites [https://creativecommons.org/licenses/by/3.0/# Attribution 3.0 Unported (CC BY 3.0)] license.
+
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>. This template is copied from [https://tcrf.net/ The Cutting Room Floor], which is allowed under the website's [https://creativecommons.org/licenses/by/3.0/# Attribution 3.0 Unported (CC BY 3.0)] license.
  
 
[[Category:Layout templates]]</noinclude>
 
[[Category:Layout templates]]</noinclude>

Latest revision as of 01:38, 19 March 2022

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}}. This template is copied from The Cutting Room Floor, which is allowed under the website's Attribution 3.0 Unported (CC BY 3.0) license.