<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://moasspedia.org/w/index.php?action=history&amp;feed=atom&amp;title=Template%3AWbr%2Fdoc</id>
	<title>Template:Wbr/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://moasspedia.org/w/index.php?action=history&amp;feed=atom&amp;title=Template%3AWbr%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://moasspedia.org/w/index.php?title=Template:Wbr/doc&amp;action=history"/>
	<updated>2026-04-05T00:33:04Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.37.2</generator>
	<entry>
		<id>https://moasspedia.org/w/index.php?title=Template:Wbr/doc&amp;diff=39060&amp;oldid=prev</id>
		<title>Wikipedia&gt;Jonesey95: Reverted 1 edit by 176.118.62.89 (talk) to last revision by Wbm1058</title>
		<link rel="alternate" type="text/html" href="https://moasspedia.org/w/index.php?title=Template:Wbr/doc&amp;diff=39060&amp;oldid=prev"/>
		<updated>2022-02-02T18:48:21Z</updated>

		<summary type="html">&lt;p&gt;Reverted 1 edit by &lt;a href=&quot;/wiki/Special:Contributions/176.118.62.89&quot; title=&quot;Special:Contributions/176.118.62.89&quot;&gt;176.118.62.89&lt;/a&gt; (&lt;a href=&quot;/w/index.php?title=User_talk:176.118.62.89&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;User talk:176.118.62.89 (page does not exist)&quot;&gt;talk&lt;/a&gt;) to last revision by Wbm1058&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Documentation subpage}}&lt;br /&gt;
&amp;lt;!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --&amp;gt;&lt;br /&gt;
{{High-use}}&lt;br /&gt;
&amp;#039;&amp;#039;Wbr&amp;#039;&amp;#039; indicates a &amp;#039;&amp;#039;word break&amp;#039;&amp;#039; opportunity. This template includes the HTML tag [//www.w3.org/TR/html5/text-level-semantics.html#the-wbr-element {{tag|wbr|s}}], which is used to tell the browser of an optional, non-hyphenated line-break. It can be used with:&lt;br /&gt;
* {{tlx|nbsp}} or the equivalent &amp;lt;code&amp;gt;&amp;amp;amp;nbsp;&amp;lt;/code&amp;gt; (non-breaking space)&lt;br /&gt;
* {{tlx|nowrap}} or the equivalent &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;span style=&amp;quot;white-space: nowrap;&amp;quot;&amp;gt;...&amp;lt;/span&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;span class=&amp;quot;nowrap&amp;quot;&amp;gt;...&amp;lt;/span&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; (character string that will not break even at a normal space)&lt;br /&gt;
to carefully control line-breaking where this is important.&lt;br /&gt;
&lt;br /&gt;
This template can safely be [[WP:SUBST|substituted]], though there is no particular reason to do so. For breaking up long words, use {{tlx|Soft hyphen}} instead.&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
Use is simple; there are no parameters:&lt;br /&gt;
* {{tlx|wbr}}&lt;br /&gt;
or&lt;br /&gt;
* {{tlxs|wbr}}&lt;br /&gt;
&lt;br /&gt;
===Controlling line-breaking in infoboxes ===&amp;lt;!--This section name is linked to from other template documentation.--&amp;gt;&lt;br /&gt;
This template can be used to cause an indentation after a linebreak, in [[Template:Plainlist|unbulleted lists]] inside [[WP:Infobox|infoboxes]] and in [[WP:Table|tables]] with constrained cell widths, by using &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{wbr}}&amp;amp;amp;nbsp;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; between words in an entry, so that when they wrap they are not mistaken for separate entries. See example infobox to the side.&lt;br /&gt;
&lt;br /&gt;
Example infobox (rendered to the side of the example code):&lt;br /&gt;
{{Infobox film|&lt;br /&gt;
|name=Test Infobox II: The Revenge&lt;br /&gt;
|...&lt;br /&gt;
|starring={{Plainlist|&lt;br /&gt;
* Jane Smith&lt;br /&gt;
* {{nobr|Johannes-Friedrich}}{{wbr}}&amp;amp;nbsp;Zauberzunge{{wbr}}&amp;amp;nbsp;{{nobr|von der Hasenpfeffer}}&lt;br /&gt;
* John Garcia&lt;br /&gt;
}}&lt;br /&gt;
|...&lt;br /&gt;
|italic_title=no&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;html+handlebars&amp;quot;&amp;gt;{{Infobox film|&lt;br /&gt;
|name=Test Infobox II: The Revenge&lt;br /&gt;
|...&lt;br /&gt;
|starring={{Plainlist|&lt;br /&gt;
* Jane Smith&lt;br /&gt;
* {{nobr|Johannes-Friedrich}}{{wbr}}&amp;amp;nbsp;Zauberzunge{{wbr}}&amp;amp;nbsp;{{nobr|von der Hasenpfeffer}}&lt;br /&gt;
* John Garcia&lt;br /&gt;
}}&lt;br /&gt;
|...&lt;br /&gt;
}}&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Breaking up slashes ===&lt;br /&gt;
{{see|MOS:SLASH}}&lt;br /&gt;
When there are long words on both sides of a slash, this template may be used to induce a line break after the slash.&lt;br /&gt;
:installation/{{wbr}}execution&lt;br /&gt;
:&amp;lt;syntaxhighlight lang=&amp;quot;html+handlebars&amp;quot;&amp;gt;installation/{{wbr}}execution&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Technical details==&lt;br /&gt;
This template encapsulates the code &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;wbr /&amp;gt;&amp;amp;amp;#8203;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;, i.e. the HTML5 [[HTML element#wbr|line break opportunity element]] followed by the HTML character entity for the {{Unichar|200B|ZERO WIDTH SPACE|nlink=Zero-width space}} character.  This approach is superior to using either one or the other in isolation, for increased browser support. The {{tag|wbr|s}} element is compatible with all browsers except [[Internet Explorer]] inclusive of and {{em|since}} version 7 ({{as of|lc=y|2015|09}}). Meanwhile, the ZWS character is compatible with all browsers except Internet Explorer {{em|earlier than}} (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.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{Sandbox other||&lt;br /&gt;
&amp;lt;!-- Categories below this line, please; interwikis at Wikidata --&amp;gt;&lt;br /&gt;
[[Category:Line-handling templates]]&lt;br /&gt;
[[Category:Inline spacing templates]]&lt;br /&gt;
[[Category:Character templates]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Wikipedia&gt;Jonesey95</name></author>
	</entry>
</feed>