Template talk:Wbr

{{info|1=

This is a replacement for the deprecated HTML tag or the zero-width space &amp;#8203; which is not supported in all web browsers (most notably the Internet Explorer). It is used as a potential word-break in long strings and character-sequences like formulas or SMILES strings.

Compatibility
N.B.: The template was partially changed, so these results can be irrelevant.


 * Mozilla 1.7: works fine
 * Firefox 1.0.6: works fine
 * MS Internet Explorer 6.0.2900: renders as a space of 1 pixel
 * Netscape Communicator 4.75: renders as a space

}}

Outdated
I guess this template is outdated. Not working in IE8 - renders as a space. Jack who built the house (talk) 15:51, 14 July 2011 (UTC)
 * Actually it was a wiki engine issue, it removes all empty tags. I replaced space with &amp;#32;. Now it works fine: ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss. Jack who built the house (talk) 16:22, 14 July 2011 (UTC)
 * Ah sorry, &amp;#32; is no good replace. Decision found is display:inline-block + &amp;#8203; : display:inline-block helps to produce a break, and &amp;#8203; (zero-width space) will appear if the text is copied, and produce a break if, for some reason, inline-block has failed. Actually, could've put even &amp;nbsp; here (despite its opposite function). May be I should, because I'm not sure what will &amp;#8203; look like in older browsers and text editors (after being copypasted). Notepad renders it as a space. Jack who built the house (talk) 16:55, 14 July 2011 (UTC)

Suggest using for controlling line breaks?
The section suggests a lot of manual control to create a list with pseudo-hanging indents, where the "indentation" is merely nbsp;s. A better method to achieve the same effect, but better-looking, and less "futzy", is to use indented plainlist:

Should this be recommended instead? &emsp;—&#8239;sbb&#8239;(talk) 02:53, 24 August 2021 (UTC)

causing unintended line breaks
Just in case  (and this template wbr) causes unintended and unexpected line-breaks for someone, using (only)   might be a solution. See Template_talk:R. --Matthiaspaul (talk) 14:07, 1 September 2021 (UTC)

transclusion count not accurate?
According to recent discussions, this template is being used on about 53,000 pages. However, the transclusion count tool shows only 1,530 transclusions. Is the tool no longer accurate? Or did we change most of those pages to not rely on this template? Ixfd64 (talk) 18:48, 1 September 2021 (UTC)