Difference between revisions of "Template:Clear"

From Idlescape Wiki
Jump to navigation Jump to search
(A template for preventing overflowing text, for bulleted lists in tables, and other misc.)
 
m (+cat)
 
Line 8: Line 8:
 
* &#123;&#123;[[Template:clear|clear|right]]&#125;&#125; — adds <code>&lt;div style="clear:right;"&gt;&lt;/div&gt;</code> Delays content until just the right column is complete.
 
* &#123;&#123;[[Template:clear|clear|right]]&#125;&#125; — adds <code>&lt;div style="clear:right;"&gt;&lt;/div&gt;</code> Delays content until just the right column is complete.
  
For more information, see [https://en.wikipedia.org/wiki/Template:Clear Wikipedia:Template:Clear]</noinclude>
+
For more information, see [https://en.wikipedia.org/wiki/Template:Clear Wikipedia:Template:Clear]
 +
[[Category:Template]]</noinclude>

Latest revision as of 05:01, 1 October 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. It is also useful for starting a bulleted list in a table, as well as other miscellaneous uses.

Usage

  • {{clear}} — adds <div style="clear:both;"></div>
  • {{clear|left}} — adds <div style="clear:left;"></div> Delays content until just the left column is complete.
  • {{clear|right}} — adds <div style="clear:right;"></div> Delays content until just the right column is complete.

For more information, see Wikipedia:Template:Clear