Template:Clear/doc: Difference between revisions

From DynamicPageList3 Manual
Content added Content deleted
imported>FrozenPlum
m (7 revisions imported: Imported from help.fandom.com, Extension:DPL3 pages, which are for the obsolete version of DPL3 extension for MediaWiki 1.33, to adapt to forked (newer) extension version.)
imported>FrozenPlum
m (fix, I think I inadvertently knocked off needed categories)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{Documentation header}}
{{Documentation subpage}}
<!-- Documentation here -->
{{Template shortcut|-}}


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.


Line 10: Line 11:
<includeonly>
<includeonly>
<!-- Template categories/interwikis here -->
<!-- Template categories/interwikis here -->
[[Category:Templates]]
[[Category:Formatting templates]]
[[Category:Formatting templates]]
</includeonly>
[[tr:Şablon:Temizle]]
</includeonly><noinclude>
<!-- Documentation categories/interwikis here -->
[[tr:Şablon:Temizle/belge]]
</noinclude>

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