<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.boobpedia.com/wiki/index.php?action=history&amp;feed=atom&amp;title=Template%3ANowrap%2Fdoc&amp;cf_cache_bust=W%2FJyFse4feFy4nXuOfFbGHPcg8Fk2BaPqMkaoljMIw6c%2FuANEsFWmY%2FyvrvrHpMpGcPWVp%2BlKmUTeSSctfJREQ%3D%3D.1781154385794</id>
	<title>Template:Nowrap/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.boobpedia.com/wiki/index.php?action=history&amp;feed=atom&amp;title=Template%3ANowrap%2Fdoc&amp;cf_cache_bust=W%2FJyFse4feFy4nXuOfFbGHPcg8Fk2BaPqMkaoljMIw6c%2FuANEsFWmY%2FyvrvrHpMpGcPWVp%2BlKmUTeSSctfJREQ%3D%3D.1781154385794"/>
	<link rel="alternate" type="text/html" href="https://www.boobpedia.com/wiki/index.php?title=Template:Nowrap/doc&amp;action=history"/>
	<updated>2026-06-11T05:06:25Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.40.1</generator>
	<entry>
		<id>https://www.boobpedia.com/wiki/index.php?title=Template:Nowrap/doc&amp;diff=53819&amp;oldid=prev</id>
		<title>Prophecy: New page: {{documentation subpage}} __NOTOC__ This is the {{tl|nowrap}} template.  This template prevents word wraps (line breaks) in text and links that contain spaces.&lt;!--  Before you use this tem...</title>
		<link rel="alternate" type="text/html" href="https://www.boobpedia.com/wiki/index.php?title=Template:Nowrap/doc&amp;diff=53819&amp;oldid=prev"/>
		<updated>2008-06-03T09:53:26Z</updated>

		<summary type="html">&lt;p&gt;New page: {{documentation subpage}} __NOTOC__ This is the {{tl|nowrap}} template.  This template prevents word wraps (line breaks) in text and links that contain spaces.&amp;lt;!--  Before you use this tem...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{documentation subpage}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
This is the {{tl|nowrap}} template.&lt;br /&gt;
&lt;br /&gt;
This template prevents word wraps (line breaks) in text and links that contain spaces.&amp;lt;!--&lt;br /&gt;
&lt;br /&gt;
Before you use this template you might want to read up on [[Wikipedia:Line break handling]].--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Usage ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Lots of text {{nowrap|10 kg (22 lb)}} more text.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It may render like this:&lt;br /&gt;
&lt;br /&gt;
:Lots of text 10 kg (22 lb)&lt;br /&gt;
:more text.&lt;br /&gt;
&lt;br /&gt;
Or like this:&lt;br /&gt;
:Lots of text&lt;br /&gt;
:10 kg (22 lb) more text.&lt;br /&gt;
&lt;br /&gt;
But it will &amp;#039;&amp;#039;not&amp;#039;&amp;#039; render like this:&lt;br /&gt;
:Lots of text 10 kg (22&lt;br /&gt;
:lb) more text. &lt;br /&gt;
&lt;br /&gt;
=== Handling interpreted characters ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--[[Help:Template|Templates]]--&amp;gt;Templates have problems to handle parameter data that contains equal signs &amp;quot;&amp;lt;code&amp;gt;=&amp;lt;/code&amp;gt;&amp;quot; or vertical bars &amp;quot;&amp;lt;code&amp;gt;|&amp;lt;/code&amp;gt;&amp;quot;.&amp;lt;!-- In such cases consider using {{tl|nowrap begin}} + {{tl|nowrap end}} instead.--&amp;gt; But there are also workarounds:&lt;br /&gt;
&lt;br /&gt;
For text that includes an equal sign &amp;quot;=&amp;quot;, precede the text with &amp;lt;code&amp;gt;1=&amp;lt;/code&amp;gt;. For example:&lt;br /&gt;
:&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{nowrap|&amp;lt;/nowiki&amp;gt;1=2 + 2 = 4}}&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Which renders this:&lt;br /&gt;
:{{nowrap|1=2 + 2 = 4}}&lt;br /&gt;
&lt;br /&gt;
For text that includes a vertical bar &amp;quot;|&amp;quot;, escape the bar(s) with &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;amp;amp;#124;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{!}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;. For instance like this:&lt;br /&gt;
:&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{nowrap|&amp;lt;/nowiki&amp;gt;&amp;amp;amp;#124;2&amp;amp;amp;#124; &amp;lt; 3}}&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Or like this:&lt;br /&gt;
:&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{nowrap|{{!}}2{{!}} &amp;lt; 3}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Which renders this: &lt;br /&gt;
:{{nowrap|&amp;amp;#124;2&amp;amp;#124; &amp;lt; 3}}&lt;br /&gt;
&lt;br /&gt;
=== Technical details ===&lt;br /&gt;
&lt;br /&gt;
The actual code that does the job is this HTML+CSS code:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;span style=&amp;quot;white-space:nowrap&amp;quot;&amp;gt;This text will not wrap&amp;lt;/span&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
{{tl|nobr}} and {{tl|nobreak}} redirect here.&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
=== See also ===&lt;br /&gt;
&lt;br /&gt;
* {{tl|nowraplinks}} - Prevents wraps inside links and only allows wraps between the links and in normal text. Very useful for link lists and easy to use.&lt;br /&gt;
* {{tl|nowrap begin}} - Prevents wraps in both text and links. For the trickier wrapping cases when you need full control, for instance in very complex link lists.&lt;br /&gt;
* [[Wikipedia:Line break handling]] - The how-to guide detailing how to handle word wraps (line breaks) on Wikipedia. &lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&amp;lt;includeonly&amp;gt;&lt;br /&gt;
&amp;lt;!--{{pp-template|small=yes}}--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ADD CATEGORIES BELOW THIS LINE --&amp;gt;&lt;br /&gt;
[[Category:Boobpedia formatting templates|{{PAGENAME}}]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ADD INTERWIKIS BELOW THIS LINE --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Prophecy</name></author>
	</entry>
</feed>