Template talk:Wbr

Latest comment: 3 years ago by Ixfd64 in topic transclusion count not accurate?

Outdated

edit

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)Reply

Actually it was a wiki engine issue, it removes all empty tags. I replaced space with  . Now it works fine: ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss​ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss. Jack who built the house (talk) 16:22, 14 July 2011 (UTC)Reply
Ah sorry,   is no good replace. Decision found is display:inline-block + ​ : display:inline-block helps to produce a break, and ​ (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   here (despite its opposite function). May be I should, because I'm not sure what will ​ 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)Reply

Suggest using {{indented plainlist}} for controlling line breaks?

edit

The section Template:Wbr § Controlling line-breaking in infoboxes 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}}:

Test Infobox II: The Revenge
Starring
  • Jane Smith
  • Johannes-Friedrich Zauberzunge von der Hasenpfeffer
  • Jean-Jacques Francois Jacques-Jean
  • John Garcia
{{Infobox film
|name=Test Infobox II: The Revenge
|starring={{indented plainlist|
* Jane Smith
* {{nobr|Johannes-Friedrich}} Zauberzunge {{nobr|von der Hasenpfeffer}}
* {{nobr|Jean-Jacques}} Francois {{nobr|Jacques-Jean}}
* John Garcia
}}
}}

Should this be recommended instead?  — sbb (talk) 02:53, 24 August 2021 (UTC)Reply

< wbr /> causing unintended line breaks

edit

Just in case <wbr/> (and this template {{wbr}}) causes unintended and unexpected line-breaks for someone, using (only) &zwsp; might be a solution. See Template_talk:R#Line_breaks. --Matthiaspaul (talk) 14:07, 1 September 2021 (UTC)Reply

transclusion count not accurate?

edit

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)Reply