Template:Clear/doc: Difference between revisions
Content added Content deleted
(Merge from Template:-/doc) |
|||
Line 1: | Line 1: | ||
{{Documentation header}} |
|||
{{doc/start}} |
|||
{{Template shortcut|-}} |
|||
This template adds <code><div style="clear:both;"></div></code>, which allows you to clear the left side, the right side or both. |
This template adds <code><div style="clear:both;"></div></code>, which allows you to clear the left side, the right side or both. |
||
Line 7: | Line 8: | ||
To clear the left, simply put {{tlx|Clear|left}}. To clear the right, put {{tlx|Clear|right}}. To clear both sides, put {{tl|Clear}}. |
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:Formatting templates]] |
|||
⚫ | |||
<!-- Documentation categories/interwikis here --> |
|||
[[tr:Şablon:Temizle/belge]] |
[[tr:Şablon:Temizle/belge]] |
||
</noinclude> |
</noinclude> |
||
{{doc/end}} |
Revision as of 02:17, 12 May 2021
Template:Documentation header Template:Template shortcut
This template adds <div style="clear:both;"></div>
, which allows you to clear the left side, the right side or both.
{{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}}
.