Difference between revisions of "Template:Clear2/doc"

From blackwiki
Jump to navigation Jump to search
imported>Redrose64
m (Reverted edits by 223.24.170.94 (talk) to last version by Great Brightstar)
Line 5: Line 5:
 
This template uses the same CSS property as {{tlx|clear}}, but has additional <code>float</code> property to place on the left or right side of the page.  This can insert an invisible breakpoint to indicate that a floating element should be placed at its position, thus can be used to stop element from flowing next to upper element to produce an useless blank between the element and the side of page.
 
This template uses the same CSS property as {{tlx|clear}}, but has additional <code>float</code> property to place on the left or right side of the page.  This can insert an invisible breakpoint to indicate that a floating element should be placed at its position, thus can be used to stop element from flowing next to upper element to produce an useless blank between the element and the side of page.
  
 +
==Usage==
 +
<nowiki>{{clear2}}</nowiki>
 
  <nowiki>{{clear2|left}}</nowiki>
 
  <nowiki>{{clear2|left}}</nowiki>
 
  <nowiki>{{clear2|right}}</nowiki>
 
  <nowiki>{{clear2|right}}</nowiki>
 +
 +
== See also ==
 +
* {{tl|Float}}
 +
* {{tl|Stack}}
 +
 +
<includeonly>{{sandbox other||
 +
<!-- Categories below this line, please; interwikis at Wikidata -->
 +
[[Category:Line-handling templates]]
 +
[[Category:Wikipedia XHTML tag-replacing templates]]
 +
}}</includeonly>

Revision as of 10:38, 2 December 2019

This template uses the same CSS property as {{clear}}, but has additional float property to place on the left or right side of the page. This can insert an invisible breakpoint to indicate that a floating element should be placed at its position, thus can be used to stop element from flowing next to upper element to produce an useless blank between the element and the side of page.

Usage

{{clear2}}
{{clear2|left}}
{{clear2|right}}

See also