More actions
(quality of life) |
m (add option to specific which side to clear) |
||
Line 1: | Line 1: | ||
<includeonly><div style="clear:both;"></div></includeonly><noinclude> | <includeonly><div style="clear:{{{clear|both}}};"></div></includeonly><noinclude> | ||
== Purpose == | == Purpose == | ||
This template forces a line break. | This template forces a line break. | ||
Line 5: | Line 5: | ||
<pre><nowiki> | <pre><nowiki> | ||
{{Br}} | {{Br}} | ||
{{Br|clear=left}} | |||
{{Br | |||
|clear=both by default, can also be left or right | |||
}} | |||
</nowiki></pre> | </nowiki></pre> | ||
Setting <code>clear=left</code> will force the left side to be "cleared" of text or other objects, while text and other objects will slow "flow" around the right side. | |||
Setting <code>clear=right</code> will do the opposite, forcing the right side to be cleared while letting text flow around the left side. | |||
Setting <code>clear=both</code> forces the next lines to have nothing to its left or its right. | |||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | </noinclude> |
Latest revision as of 21:06, 23 April 2018
Purpose
This template forces a line break.
Usage
{{Br}} {{Br|clear=left}} {{Br |clear=both by default, can also be left or right }}
Setting clear=left
will force the left side to be "cleared" of text or other objects, while text and other objects will slow "flow" around the right side.
Setting clear=right
will do the opposite, forcing the right side to be cleared while letting text flow around the left side.
Setting clear=both
forces the next lines to have nothing to its left or its right.