Difference between revisions of "Template:Clear"

From VideoLAN Wiki
Jump to navigation Jump to search
(New feature: template allows for specifying left or right as {{Clear|left}} and {{Clear|right}} with CSS)
m (Reduce code)
Line 1: Line 1:
{{#switch:{{{1|both}}}
+
{{#switch:{{{1}}}
 
|left=<span style="clear: left;"></span>
 
|left=<span style="clear: left;"></span>
 
|right=<span style="clear: right;"></span>
 
|right=<span style="clear: right;"></span>

Revision as of 08:10, 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.