<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://wiki.event-b.org/index.php?action=history&amp;feed=atom&amp;title=Template%3ANowrap</id>
	<title>Template:Nowrap - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.event-b.org/index.php?action=history&amp;feed=atom&amp;title=Template%3ANowrap"/>
	<link rel="alternate" type="text/html" href="https://wiki.event-b.org/index.php?title=Template:Nowrap&amp;action=history"/>
	<updated>2026-04-28T01:00:49Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.42.1</generator>
	<entry>
		<id>https://wiki.event-b.org/index.php?title=Template:Nowrap&amp;diff=13215&amp;oldid=prev</id>
		<title>imported&gt;Mathieu at 16:49, 18 September 2008</title>
		<link rel="alternate" type="text/html" href="https://wiki.event-b.org/index.php?title=Template:Nowrap&amp;diff=13215&amp;oldid=prev"/>
		<updated>2008-09-18T16:49:48Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en-GB&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 16:49, 18 September 2008&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l54&quot;&gt;Line 54:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 54:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;nowiki&amp;gt;{{nobr}}&amp;lt;/nowiki&amp;gt; and &amp;lt;nowiki&amp;gt;{{nobreak}}&amp;lt;/nowiki&amp;gt; redirect here.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;nowiki&amp;gt;{{nobr}}&amp;lt;/nowiki&amp;gt; and &amp;lt;nowiki&amp;gt;{{nobreak}}&amp;lt;/nowiki&amp;gt; redirect here.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:Typesetting templates]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/noinclude&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/noinclude&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>imported&gt;Mathieu</name></author>
	</entry>
	<entry>
		<id>https://wiki.event-b.org/index.php?title=Template:Nowrap&amp;diff=13214&amp;oldid=prev</id>
		<title>imported&gt;Mathieu: New page: &lt;span style=&quot;white-space:nowrap;&quot;&gt;{{{1}}}&lt;/span&gt;&lt;noinclude&gt; __NOTOC__ This is the &lt;nowiki&gt;{{nowrap}}&lt;/nowiki&gt; template.  This template prevents word wraps (line breaks) in text and links t...</title>
		<link rel="alternate" type="text/html" href="https://wiki.event-b.org/index.php?title=Template:Nowrap&amp;diff=13214&amp;oldid=prev"/>
		<updated>2008-09-18T16:49:24Z</updated>

		<summary type="html">&lt;p&gt;New page: &amp;lt;span style=&amp;quot;white-space:nowrap;&amp;quot;&amp;gt;{{{1}}}&amp;lt;/span&amp;gt;&amp;lt;noinclude&amp;gt; __NOTOC__ This is the &amp;lt;nowiki&amp;gt;{{nowrap}}&amp;lt;/nowiki&amp;gt; template.  This template prevents word wraps (line breaks) in text and links t...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;span style=&amp;quot;white-space:nowrap;&amp;quot;&amp;gt;{{{1}}}&amp;lt;/span&amp;gt;&amp;lt;noinclude&amp;gt;&lt;br /&gt;
__NOTOC__&lt;br /&gt;
This is the &amp;lt;nowiki&amp;gt;{{nowrap}}&amp;lt;/nowiki&amp;gt; template.&lt;br /&gt;
&lt;br /&gt;
This template prevents word wraps (line breaks) in text and links that contain spaces. &lt;br /&gt;
&lt;br /&gt;
Before you use this template you might want to read up on [[Wikipedia:Line break handling]].&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;
[[Help:Template|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;. In such cases consider using &amp;lt;nowiki&amp;gt;{{nowrap begin}}&amp;lt;/nowiki&amp;gt; + &amp;lt;nowiki&amp;gt;{{nowrap end}}&amp;lt;/nowiki&amp;gt; instead. 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;
&amp;lt;nowiki&amp;gt;{{nobr}}&amp;lt;/nowiki&amp;gt; and &amp;lt;nowiki&amp;gt;{{nobreak}}&amp;lt;/nowiki&amp;gt; redirect here.&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>imported&gt;Mathieu</name></author>
	</entry>
</feed>