Template:Wbr/doc: Difference between revisions
Content deleted Content added
Caleb Cooper (talk | contribs) Created page with "{{Documentation subpage}} {{Commons Import}} <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see Wikipedia:Wikidata) --..." |
Caleb Cooper (talk | contribs) m Text replacement - "[[WP:" to "[[Wikipedia:WP:" |
||
Line 8:
to carefully control line-breaking where this is important.
This template can safely be [[Wikipedia:WP:SUBST|substituted]], though there is no particular reason to do so. For breaking up long words, use {{tlx|Soft hyphen}} instead.
==Usage==
Line 17:
===Controlling line-breaking in infoboxes ===<!--This section name is linked to from other template documentation.-->
This template can be used to cause an indentation after a linebreak, in [[Template:Plainlist|unbulleted lists]] inside [[Wikipedia:WP:Infobox|infoboxes]] and in [[Wikipedia:WP:Table|tables]] with constrained cell widths, by using <code><nowiki>{{wbr}}&nbsp;</nowiki></code> 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):
| |||