Template:Clear/doc: Difference between revisions
Content added Content deleted
mNo edit summary |
imported>FrozenPlum m (fix, I think I inadvertently knocked off needed categories) |
||
(6 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{Documentation subpage}} |
|||
{{doc/start}} |
|||
<!-- Documentation here --> |
|||
This template adds <code><div style="clear:both;"></div></code> |
This template adds <code><div style="clear:both;"></div></code>, which allows you to clear the left side, the right side or both. |
||
==Usage== |
|||
{{tl|Clear}}: Makes content wait until existing content is completed in all columns. |
{{tl|Clear}}: Makes content wait until existing content is completed in all columns. Often used to stop text from flowing next to unrelated images. |
||
{{doc/end}} |
|||
To clear the left, simply put {{tlx|Clear|left}}. To clear the right, put {{tlx|Clear|right}}. To clear both sides, put {{tl|Clear}}. |
|||
<includeonly> |
|||
<!-- Template categories/interwikis here --> |
|||
[[Category:Templates]] |
|||
[[Category:Formatting templates]] |
|||
</includeonly> |
Latest revision as of 22:40, 29 March 2022
[purge]
This is the documentation page, it should be transcluded into the main template page. See Template:Documentation for more informationThis template adds <div style="clear:both;"></div>
, which allows you to clear the left side, the right side or both.
Usage
{{Clear}}
: Makes content wait until existing content is completed in all columns. Often used to stop text from flowing next to unrelated images.
To clear the left, simply put {{Clear|left}}
. To clear the right, put {{Clear|right}}
. To clear both sides, put {{Clear}}
.