Kentsmith9 (بحث | مشارکتها) (Modified to include left, right, or both) |
Kentsmith9 (بحث | مشارکتها) (added template) |
||
خط ۶: | خط ۶: | ||
* '''<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 | * '''<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 | ||
{{TemplateNotDisplayed}} | |||
</noinclude><div style="clear:{{{1|both}}};"></div> | </noinclude><div style="clear:{{{1|both}}};"></div> |
نسخهٔ ۲۸ آوریل ۲۰۱۳، ساعت ۰۳:۳۹
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 <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