Template:Wbr/doc

This template 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.
 * ns or the equivalent  (non-breaking space)
 * nowrap or the equivalent  (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.

Usage
Use is simple; there are no parameters:
 * wbr

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 confused for separate entries.

Technical details
This template encapsulates the code, i.e. the HTML5 Word Break Opportunity element, followed by the HTML character entity for the Unicode Zero Width Space 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 since version 7 (as of September 2015). Meanwhile, the ZWS character is compatible with all browsers except Internet Explorer earlier than (but not inclusive of) ver. 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.

Credits
This template and its documentation are derived from Template:wbr at Wikipedia.