From Fedora Project Wiki

(Copied from http://en.wikipedia.org/wiki/Template:Nowrap)
 
m (Adjust documentation template link)
 
Line 1: Line 1:
<span style="white-space:nowrap;">{{{1}}}</span><noinclude>{{documentation}}<!--interwikis/categories go inside doc--></noinclude>
<span style="white-space:nowrap;">{{{1}}}</span><noinclude>{{tempdoc}}<!--interwikis/categories go inside doc--></noinclude>

Latest revision as of 14:26, 22 November 2010

{{{1}}}

Template documentation [edit]

This documentation is transcluded from Template:Nowrap/doc. It will not be transcluded on pages that use this template.


This is the {{nowrap}} template.

This template prevents word wraps (line breaks) in text and links that contain spaces.

For additional information, see wikipedia.org documentation at [1]. Before you use this template you might want to read up on Wikipedia:Line break handling.

Usage

Lots of text {{nowrap|10 kg (22 lb)}} more text.

It may render like this:

Lots of text 10 kg (22 lb)
more text.

Or like this:

Lots of text
10 kg (22 lb) more text.

But it will not render like this:

Lots of text 10 kg (22
lb) more text.