Template:Wbr/doc

Wbr indicates a word break opportunity. This template includes the HTML tag [//www.w3.org/TR/html5/text-level-semantics.html#the-wbr-element ], which is used to tell the browser of an optional, non-hyphenated line-break. It can be used with: to carefully control line-breaking where this is important.
 * or the equivalent  (non-breaking space)
 * or the equivalent  or   (character string that will not break even at a normal space)

This template can safely be substituted, though there is no particular reason to do so. For breaking up long words, use instead.

Usage
Use is simple; there are no parameters: or

Controlling line-breaking in infoboxes
This template can be used to cause an indentation after a linebreak, in unbulleted lists inside infoboxes and in tables with constrained cell widths, by using  between words in an entry, so that when they wrap they are not mistaken for separate entries. See example infobox to the side.

Example infobox (rendered to the side of the example code):

Breaking up slashes
When there are long words on both sides of a slash, this template may be used to induce a line break after the slash.
 * installation/execution

Technical details
This template encapsulates the code, i.e. the HTML5 line break opportunity element followed by the HTML character entity for the  character. This approach is superior to using either one or the other in isolation, for increased browser support. The element is compatible with all browsers except Internet Explorer inclusive of and  version 7. Meanwhile, the ZWS character is compatible with all browsers except Internet Explorer (but not inclusive of) version 7. Thus, between the two approaches, the dual use of which has no ill effects, this template works in all browsers still likely to be in use, including Internet Explorer regardless of version.