Jump to content
Toggle menu
  • 799 articles
  • 4.8K files
  • 4 users
  • 64.6K edits
2b2t Uncensored
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Clear: Difference between revisions

Template page
imported>Lady Aleena
removing line breaks
templatewiki>MacFan4000
m 1 revision imported: Basic templates
Line 1: Line 1:
<br style="clear: {{{1|both}}}" /><noinclude>{{Documentation}}</noinclude>
<div style="clear:{{{1|both}}};"></div><noinclude>
{{documentation}}
</noinclude>

Revision as of 14:28, 1 February 2018

Template documentation[view] [edit] [history] [purge]
Description
This template is a shorthand for <br style="clear: both;" />.
It moves any content following the template below any objects floating to the left and/or right (TOCs, infoboxes, images, etc.).
Syntax
{{clear}} clears both right and left content.
{{clear}} clears only left floating objects.
{{clear}} clears only right floating objects.
{{clear}} will not clear text after floating objects.
Other options
inherit and initial
See also
{{-}} and {{clr}} clear both like this template. They do not have options.
{{clrl}} clears left.
{{clrr}} clears right.