Template:Clear/doc View history

(Added Category)
 
(3 intermediate revisions by 2 users not shown)
Line 11: Line 11:
<includeonly>
<includeonly>
<!-- ADD CATEGORIES BELOW THIS LINE -->
<!-- ADD CATEGORIES BELOW THIS LINE -->
[[Category:Page Formatting Template]]
[[Category:Page formatting templates]]


<!-- ADD INTERWIKIS BELOW THIS LINE -->
<!-- ADD INTERWIKIS BELOW THIS LINE -->
</includeonly>
</includeonly>

Latest revision as of 07:00, 10 August 2022

This is a documentation subpage for Template:Clear.
It contains usage information, categories and other content that is not part of the original template page.

This template makes content wait until existing content (typically tables and images) is fully displayed in all columns before letting subsequent content be displayed. It uses the <div style="clear:TYPE;"></div> formatting to prevent the extra line break that comes with <br style="clear: both" />.

The TYPE variable is controlled with the second parameter as follows:

  • {{clear|left}} - Only the left column must be complete before subsequent content is displayed
  • {{clear|right}} - Only the right column must be complete before subsequent content is displayed
  • {{clear}} or {{clear|both}} - Both left and right columns must be complete before subsequent content is displayed

This template does not generate visible text in the Wiki page.