Template:Clear: Difference between revisions

From Wikipedia of the Dark Brotherhood, an online Star Wars Club
No edit summary
 
(Adding context and instructions how to use this template. Would like to include examples but no idea the work around with <noinclude>)
 
Line 1: Line 1:
<div style="clear:both"></div><noinclude>[[Category:Utility templates|{{PAGENAME}}]]</noinclude>
<noinclude>
==  Description  ==
<br>
This template makes content wait until existing content is completed in all columns. It is often used to prevent text from flowing next to unrelated images or infoboxes.
 
==  Usage  ==
<br>
* <code><nowiki>{{clear}}</nowiki></code> — adds <code><nowiki><div style="clear:both;"></div></nowiki></code>
* <code><nowiki>{{clear|left}}</nowiki></code> — adds <code><nowiki><div style="clear:left;"></div></nowiki></code>
* <code><nowiki>{{clear|right}}</nowiki></code> — adds <code><nowiki><div style="clear:right;"></div></nowiki></code>
 
 
 
[[Category:Utility templates]]
</noinclude>

Latest revision as of 01:56, 26 December 2021

Description


This template makes content wait until existing content is completed in all columns. It is often used to prevent text from flowing next to unrelated images or infoboxes.

Usage


  • {{clear}} — adds <div style="clear:both;"></div>
  • {{clear|left}} — adds <div style="clear:left;"></div>
  • {{clear|right}} — adds <div style="clear:right;"></div>