Template:Clear: Difference between revisions

From VideoLAN Wiki
Jump to navigation Jump to search
m Reduce code
m Bug fix
 
Line 1: Line 1:
{{#switch:{{{1}}}
{{#switch:{{{1}}}
|left=<span style="clear: left;"></span>
|left=<div style="clear: left;"></div>
|right=<span style="clear: right;"></span>
|right=<div style="clear: right;"></div>
|#default=<span style="clear: both;"></span>
|#default=<div style="clear: both;"></div>
}}<noinclude>
}}<noinclude>
Use <nowiki>{{clear}}</nowiki> to leave a gap for things at the side of the page - like the wikipedia box - to finish.<br />
Use <nowiki>{{clear}}</nowiki> to leave a gap for things at the side of the page - like the wikipedia box - to finish.<br />

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.