Template:Clear View history

imported>Kentsmith9
(Modified to include left, right, or both)
imported>Wottem
m (1 revision imported)
 
(6 intermediate revisions by 3 users 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:TYPE;"></div></nowiki>'' formatting to prevent the extra line break that comes with ''<nowiki><br style="clear: both" /></nowiki>''.
<div style="clear:{{{1|both}}};"></div><noinclude>{{Documentation}}</noinclude>
 
The TYPE variable is controlled with the second parameter as follows:
* '''<nowiki>{{</nowiki>clear|left<nowiki>}}</nowiki>''' - Only the left column must be complete before subsequent content is displayed
* '''<nowiki>{{</nowiki>clear|right<nowiki>}}</nowiki>''' - Only the right column must be complete before subsequent content is displayed
* '''<nowiki>{{</nowiki>clear<nowiki>}}</nowiki>''' or '''<nowiki>{{</nowiki>clear|both<nowiki>}}</nowiki>''' - Both left and right columns must be complete before subsequent content is displayed
 
 
The following content after the line will appear on the actual page.
----
 
</noinclude><div style="clear:{{{1|both}}};"></div>

Latest revision as of 23:48, 2 July 2022