Template:Clear/doc: Difference between revisions

From DynamicPageList3 Manual
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>&lt;div style="clear:both;"&gt;&lt;/div&gt;</code>
This template adds <code>&lt;div style="clear:both;"&gt;&lt;/div&gt;</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. Often used to stop text from flowing next to unrelated images.
{{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

This is the documentation page, it should be transcluded into the main template page. See Template:Documentation for more information

This 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}}.