• Home
  • Random
  • Recent changes
  • Special pages
  • Settings
  • About MOASSpedia
  • Disclaimers
MOASSpedia
  • 216.73.216.154
  • Talk
  • Watchlist
  • Contributions
  • Log in

Template:Clear2

Template Discussion
  • Language
  • Watch
  • History
  • Edit
    • Page information
    • Permanent link
    • What links here
Template documentation[view] [edit] [history] [purge]
This template should not be substituted. The markup provided will be confusing to many editors, and as this template provides documentation for itself, there is little justification for substitution.
Shortcuts
  • {{Br2}}
  • {{Clr2}}

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, so this template can insert an invisible breakpoint to indicate that a floating element should be placed at its position.

This template makes element placed under the upper element to make existing content is completed in the maximum width of columns, and make it possible 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}}

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this TemplateData.

TemplateData for Clear2

Makes element placed under the upper element to make existing content is completed in the maximum width of columns. Can be used to stop element from flowing next to upper element, so content will not appear a large blank area at the side of page.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Side1

Which side to clear on; can be “left”, “right” or “both” (or “none”, but that’s equivalent to not using the template at all). “both” has exactly the same affect as using Template:Clear, so this template becomes interesting only if the value is “left” or “right”.

Lineoptional

See also

  • {{Float}}
  • {{Stack}}
The above documentation is transcluded from Template:Clear2/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://moasspedia.org/w/index.php?title=Template:Clear2&oldid=9056"
Categories:
  • Templates using TemplateData
  • Line-handling templates
  • Wikipedia XHTML tag-replacing templates
Last edited on 11 December 2017, at 06:12

MOASSpedia

Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
  • This page was last edited on 11 December 2017, at 06:12.
  • Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
  • Privacy policy
  • About MOASSpedia
  • Disclaimers
  • Desktop