• Home
  • Random
  • Nearby
  • Log in
  • Settings
Donate Now If Wikipedia is useful to you, please give today.
  • About Wikipedia
  • Disclaimers
Wikipedia

Template:Break/sandbox

  • Template
  • Talk
  • Language
  • Watch
  • Edit
< Template:Break


This is the template sandbox page for Template:Break (diff).
See also the companion subpage for test cases.
Template documentation[view] [edit] [history] [purge]
Shortcuts
  • {{brTemplate:Br}}
  • {{brkTemplate:Brk}}
  • {{crlfTemplate:Crlf}}
WarningThis template is used on approximately 29,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them.
This template uses Lua:
  • Module:String (sandbox)

Replaces <br /> where this is unsuitable, for example the rare cases where it is necessary to duplicate <br /><br /> which will be "fixed" by bots.

Also avoids HTML mark-up in articles.

Usage

edit
  • {{break}} = one <br />
  • {{break|5}} = <br /><br /><br /><br /><br />

The parameter can be any integer.

{{br}}, {{brk}} and {{crlf}} are also redirects (shortcuts), and may be used instead.

See also

edit
  • {{Break lines}}
  • {{Clear}} (shortcuts: {{-}} and {{clr}})
  • {{Paragraph break}}
  • Help:Line-break handling
The above documentation is transcluded from Template:Break/doc. (edit | history)
Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:Break/sandbox&oldid=970788355"
Last edited on 2 August 2020, at 11:38

Languages

      This page is not available in other languages.

      Wikipedia
      • Wikimedia Foundation
      • Powered by MediaWiki
      • This page was last edited on 2 August 2020, at 11:38 (UTC).
      • Content is available under CC BY-SA 4.0 unless otherwise noted.
      • Privacy policy
      • About Wikipedia
      • Disclaimers
      • Contact Wikipedia
      • Code of Conduct
      • Developers
      • Statistics
      • Cookie statement
      • Terms of Use
      • Desktop