Template:Clear/doc: Difference between revisions

From DynamicPageList3 Manual
Content added Content deleted
(Merge from Template:-/doc)
imported>FrozenPlum
m (fix, I think I inadvertently knocked off needed categories)
 
(4 intermediate revisions by 2 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>, which allows you to clear the left side, the right side or both.
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.


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>
<noinclude>
<!-- Template categories/interwikis here -->
[[tr:Şablon:Temizle/belge]]
[[Category:Templates]]
</noinclude>
[[Category:Formatting templates]]
{{doc/end}}
</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}}.