Difference between revisions of "Template:Clear"

From VideoLAN Wiki
Jump to navigation Jump to search
 
m (Bug fix)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<br style="clear: both"/>
+
{{#switch:{{{1}}}
 +
|left=<div style="clear: left;"></div>
 +
|right=<div style="clear: right;"></div>
 +
|#default=<div style="clear: both;"></div>
 +
}}<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>

Latest revision as of 08:17, 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.