Page semi-protected

Template:Clear: Difference between revisions

From Wikidata
Jump to navigation Jump to search
Content deleted Content added
m Fixed punctutation.
move onlyinclude to noinclude
 
(40 intermediate revisions by 27 users not shown)
Line 1: Line 1:
<div style="clear: both"></div><noinclude>
<div style="clear:{{{1|both}}};"></div><noinclude>{{documentation}}</noinclude>
This template adds <tt>&lt;div style="clear: both"&gt;&lt;/div&gt;</tt>;
for technical XHTML details see [[Template talk:{{PAGENAME}}]].
[[Category:Wikipedia special effects templates|{{PAGENAME}}]] </noinclude>

Latest revision as of 18:59, 14 April 2018

Documentation icon Template documentation[view · edit · history · purge ]

Usage

This template can be used to clear the HTML-Properties. For example, {{clear}} results in <div style="clear:both;"></div>.

You can use the parameter 1 to clear only a specific aspect. Possible values are:

  • both (default)
  • right
  • left
  • none (same as without template, so do not use)