Template:Clear/doc: Difference between revisions

From VNDev Wiki
Created page with "{{#ifeq:{{FULLPAGENAME}}|Template:Clear|{{Template shortcut|-||Clr}}}} == Description == This template makes content wait until existing content is completed in all columns. It is often used to prevent text from flowing next to unrelated images. == Usage == {| | {{tlx|clear}} || — adds <code><div style="clear:both;"></div></code> |- | {{tlx|clear|left}} || — adds <code><div style="clear:left;"></div></code> |- | {{tlx|clear|right}} || — ad..."
 
mNo edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#ifeq:{{FULLPAGENAME}}|Template:Clear|{{Template shortcut|-||Clr}}}}
{{documentation subpage}}


== Description ==
== Description ==
Line 12: Line 12:
| {{tlx|clear|right}} || — adds <code>&lt;div style="clear:right;"&gt;&lt;/div&gt;</code>
| {{tlx|clear|right}} || — adds <code>&lt;div style="clear:right;"&gt;&lt;/div&gt;</code>
|}
|}
<includeonly>[[Category:Formatting templates]]</includeonly>

Latest revision as of 14:10, 23 June 2022

Description

This template makes content wait until existing content is completed in all columns. It is often used to prevent text from flowing next to unrelated images.

Usage

{{clear}} — adds <div style="clear:both;"></div>
{{clear|left}} — adds <div style="clear:left;"></div>
{{clear|right}} — adds <div style="clear:right;"></div>