Template:Clear View history

(Updated doc)
m (1 revision)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>'''Documentation:''' 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 ''<nowiki><div style="clear:both;"></div></nowiki>'' formatting to prevent the extra line break that comes with ''<nowiki><br style="clear: both" /></nowiki>''. The following content after the line will appear on the actual page.
<div style="clear:{{{1|both}}};"></div><noinclude>{{doc}}</noinclude>
----
 
</noinclude><div style="clear:both;"></div>

Latest revision as of 00:52, 18 June 2014

Documentation icon Template documentation[view] [edit] [history] [purge]

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.

The above documentation is transcluded from Template:Clear/doc.
Please add categories to the /doc subpage.
Subpages of this template.