Template:Clear: Difference between revisions

From VideoLAN Wiki
Jump to navigation Jump to search
No edit summary
New feature: template allows for specifying left or right as {{Clear|left}} and {{Clear|right}} with CSS
Line 1: Line 1:
<br style="clear: both"/><noinclude>
{{#switch:{{{1|both}}}
Use <nowiki>{{clear}}</nowiki> to leave a gap for things at the side of the page - like the wikipedia box - to finish.
|left=<span style="clear: left;"></span>
|right=<span style="clear: right;"></span>
|#default=<span style="clear: both;"></span>
}}<noinclude>
Use <nowiki>{{clear}}</nowiki> to leave a gap for things at the side of the page - like the wikipedia box - to finish.<br />
For clearing on the left, use <nowiki>{{clear|left}}</nowiki> and for clearing on the right use <nowiki>{{clear|right}}</nowiki>. By default both are cleared.
 
[[Category:Templates]]
</noinclude>
</noinclude>

Revision as of 08:08, 11 February 2019

Use {{clear}} to leave a gap for things at the side of the page - like the wikipedia box - to finish.
For clearing on the left, use {{clear|left}} and for clearing on the right use {{clear|right}}. By default both are cleared.