Template:Nowrap/doc

This is the nowrap template.

This template prevents word wraps (line breaks) in text with spaces in.

Example

 * - Assures that the unit appears on the same line as the number.

Handling interpreted characters
For text that includes an equals sign "=", precede the text with. For example:

Which renders:
 * 2 + 2 = 4

For text that includes a vertical bar "|", escape the bar(s) with  or. For instance like this:

Or like this:

Which renders:
 * &#124;2&#124; < 3

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 for technical reasons.