Template:Nowrap/doc

This is the nowrap template.

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

Before you use this template you might want to read up on Wikipedia:Line break handling.

Usage
Lots of text 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.

Technical details
The actual code that does the job is this HTML+CSS code:



Spaces at the beginning or end of your text will fall outside the no-wrap tag in the rendered text due to Wikimedia rendering mechanisms.