Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Nowrap/doc: Difference between revisions

Template page
Proton One (talk | contribs)
Created page with "; Description : {{tl|Nowrap}} or {{tl|nowrap}} stops wrapping of specific text (which can be inside of a link). Use this template '''sparingly'''. It prevents word wraps (line breaks) that might otherwise happen at spaces, hyphens ("-"), or, in some browsers, parentheses. The size of the nowrapped text becomes the minimum width of that paragraph and that can negatively influence the ability of the page to adapt to smaller screen..."
 
Proton One (talk | contribs)
mNo edit summary
 
Line 24: Line 24:
; Sample
; Sample
{| class=wikitable
{| class=wikitable
|"<code>They held {{tlc|Nowrap|10 kg (22 lb)}} in total.</code>"
|"<code>They held {{tl|Nowrap|10 kg (22 lb)}} in total.</code>"
<br/> May render like this:
<br/> May render like this:
:They held {{Nowrap|10 kg (22 lb)}} <br/>in total.
:They held {{Nowrap|10 kg (22 lb)}} <br/>in total.
Line 32: Line 32:
:They held 10 kg (22 <br/>lb) in total.
:They held 10 kg (22 <br/>lb) in total.


| "<code>He encountered {{tlc|Nowrap|a tiger}} in the woods.</code>"
| "<code>He encountered {{tl|Nowrap|a tiger}} in the woods.</code>"
<br/> May render like this:
<br/> May render like this:
:He encountered a&nbsp;tiger <br/>in the woods.
:He encountered a&nbsp;tiger <br/>in the woods.