<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="nl">
	<id>https://informatiestandaarden.test-nictiz.nl/index.php?action=history&amp;feed=atom&amp;title=Sjabloon%3ANowrap_begin%2Fdoc</id>
	<title>Sjabloon:Nowrap begin/doc - Bewerkingsoverzicht</title>
	<link rel="self" type="application/atom+xml" href="https://informatiestandaarden.test-nictiz.nl/index.php?action=history&amp;feed=atom&amp;title=Sjabloon%3ANowrap_begin%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://informatiestandaarden.test-nictiz.nl/index.php?title=Sjabloon:Nowrap_begin/doc&amp;action=history"/>
	<updated>2026-04-28T08:15:36Z</updated>
	<subtitle>Bewerkingsoverzicht voor deze pagina op de wiki</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>https://informatiestandaarden.test-nictiz.nl/index.php?title=Sjabloon:Nowrap_begin/doc&amp;diff=1444&amp;oldid=prev</id>
		<title>Ahenket: Nieuwe pagina aangemaakt met &#039;{{Documentation subpage}} {{high-use|400+}} &lt;!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --&gt;  This is the {{tl|nowrap begin}} template. This...&#039;</title>
		<link rel="alternate" type="text/html" href="https://informatiestandaarden.test-nictiz.nl/index.php?title=Sjabloon:Nowrap_begin/doc&amp;diff=1444&amp;oldid=prev"/>
		<updated>2013-07-17T18:19:29Z</updated>

		<summary type="html">&lt;p&gt;Nieuwe pagina aangemaakt met &amp;#039;{{Documentation subpage}} {{high-use|400+}} &amp;lt;!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --&amp;gt;  This is the {{tl|nowrap begin}} template. This...&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Nieuwe pagina&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Documentation subpage}}&lt;br /&gt;
{{high-use|400+}}&lt;br /&gt;
&amp;lt;!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This is the {{tl|nowrap begin}} template. This template prevents word wraps (line breaks) in text and links with spaces in. It is designed to handle the really tricky wrapping cases where you need full control. It works similarly to {{tl|nowrap}} and {{tl|nowraplinks}}. This template takes no parameters, instead it works in pair with {{tl|nowrap end}}.&lt;br /&gt;
&lt;br /&gt;
{{tmbox|text=&amp;#039;&amp;#039;&amp;#039;Note:&amp;#039;&amp;#039;&amp;#039; The use of these templates in {{tl|navbox}} and similar templates is deprecated; see [[Template:Navbox/doc#See also]]. Use [[WP:HLIST|class hlist]] and occasionally {{tl|allow wrap}}. The nowrap behaviour implemented by the {{tld|nowrap}} set has been made ambient and hlist provides a more appropriate structure and improves accessibility.}}&lt;br /&gt;
&lt;br /&gt;
=== Helper templates ===&lt;br /&gt;
This template has a number of helper templates which allows you to tell the web browser exactly where line breaks may occur:&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note!&amp;#039;&amp;#039;&amp;#039; These helper templates may only be used in sections surrounded by {{tl|nowrap begin}} and {{tl|nowrap end}} or they may cause weird behaviour of your page.&lt;br /&gt;
&lt;br /&gt;
* {{tl|wrap}}{{spaced ndash}}Marks where a wrap may occur.&lt;br /&gt;
* {{tl|·wrap}} or {{tl|·w}}{{spaced ndash}}Looks like this: &amp;quot; &amp;#039;&amp;#039;&amp;#039;·&amp;#039;&amp;#039;&amp;#039; &amp;quot;. For dotted lists. Renders a bold middot surrounded by spaces and then marks that a wrap may occur &amp;#039;&amp;#039;after&amp;#039;&amp;#039; the middot.&lt;br /&gt;
* {{tl|•wrap}} or {{tl|•w}}{{spaced ndash}}Looks like this: &amp;quot; • &amp;quot;. For dotted lists that use small font and thus need a bigger dot. Renders a bullet surrounded by spaces and then marks that a wrap may occur &amp;#039;&amp;#039;after&amp;#039;&amp;#039; the bullet.&lt;br /&gt;
* {{tl|–wrap}} or {{tl|–w}}{{spaced ndash}}Looks like this: &amp;quot;&amp;amp;nbsp;– &amp;quot;. For dashed lists. Renders an [[en dash]] surrounded by spaces and then marks that a wrap may occur &amp;#039;&amp;#039;after&amp;#039;&amp;#039; the en dash.&lt;br /&gt;
* {{tl|!wrap}} or {{tl|!w}}{{spaced ndash}}Looks like this: &amp;quot; &amp;amp;#124; &amp;quot;. For pipe separated lists. Renders a pipe surrounded by spaces and then marks that a wrap may occur &amp;#039;&amp;#039;after&amp;#039;&amp;#039; the pipe. The pipe used is not a real pipe but the code &amp;lt;code&amp;gt;&amp;amp;amp;#124;&amp;lt;/code&amp;gt; so should work within wiki tables etc.&lt;br /&gt;
&lt;br /&gt;
=== Usage ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
{{nowrap begin}}&lt;br /&gt;
&lt;br /&gt;
[[Salt]] and{{wrap}} [[Pepper]] and{{wrap}} [[Curry]]&lt;br /&gt;
and{{wrap}} [[Saffron]].{{wrap}}&lt;br /&gt;
[[Salt]] and{{wrap}} [[Pepper]] and{{wrap}} [[Curry]]&lt;br /&gt;
and{{wrap}} [[Saffron]].&lt;br /&gt;
&lt;br /&gt;
{{nowrap end}}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It will render something like this:&lt;br /&gt;
&lt;br /&gt;
:[[Salt]] and [[Black pepper|Pepper]] and [[Curry]] and&lt;br /&gt;
:[[Saffron]]. [[Salt]] and [[Black pepper|Pepper]] and&lt;br /&gt;
:[[Curry]] and [[Saffron]].&lt;br /&gt;
&lt;br /&gt;
But it will &amp;#039;&amp;#039;not&amp;#039;&amp;#039; render like this:&lt;br /&gt;
&lt;br /&gt;
:[[Salt]] and [[Black pepper|Pepper]] and [[Curry]]&lt;br /&gt;
:and [[Saffron]]. [[Salt]] and [[Black pepper|Pepper]]&lt;br /&gt;
:and [[Curry]] and [[Saffron]].&lt;br /&gt;
&lt;br /&gt;
To make your code readable and easy to edit, you can put each wrappable &amp;quot;line&amp;quot; on its own line. And let&amp;#039;s use some dots too. Like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
{{nowrap begin}}&lt;br /&gt;
&lt;br /&gt;
[[Salt]] and [[Pepper]]{{·wrap}}&lt;br /&gt;
[[Pepper]] and [[Curry]]{{·wrap}}&lt;br /&gt;
[[Curry]] and [[Saffron]]{{·wrap}}&lt;br /&gt;
[[Saffron]] and [[Salt]]&lt;br /&gt;
&lt;br /&gt;
{{nowrap end}}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It will render something like this:&lt;br /&gt;
&lt;br /&gt;
:[[Salt]] and [[Black pepper|Pepper]] &amp;#039;&amp;#039;&amp;#039;·&amp;#039;&amp;#039;&amp;#039; [[Black pepper|Pepper]] and [[Curry]] &amp;#039;&amp;#039;&amp;#039;·&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
:[[Curry]] and [[Saffron]] &amp;#039;&amp;#039;&amp;#039;·&amp;#039;&amp;#039;&amp;#039; [[Saffron]] and [[Salt]]&lt;br /&gt;
&lt;br /&gt;
But it will &amp;#039;&amp;#039;not&amp;#039;&amp;#039; render like this:&lt;br /&gt;
&lt;br /&gt;
:[[Salt]] and [[Black pepper|Pepper]] &amp;#039;&amp;#039;&amp;#039;·&amp;#039;&amp;#039;&amp;#039; [[Black pepper|Pepper]]&lt;br /&gt;
:and [[Curry]] &amp;#039;&amp;#039;&amp;#039;·&amp;#039;&amp;#039;&amp;#039; [[Curry]] and [[Saffron]]&lt;br /&gt;
:&amp;#039;&amp;#039;&amp;#039;·&amp;#039;&amp;#039;&amp;#039; [[Saffron]] and [[Salt]]&lt;br /&gt;
&lt;br /&gt;
=== Examples ===&lt;br /&gt;
Here are the above examples in actual running code in a table. Try dragging the width of your web browser window so it becomes smaller and smaller and watch how the line wrapping behaves:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
{{nowrap begin}}&lt;br /&gt;
[[Salt]] and{{wrap}} [[Black pepper|Pepper]] and{{wrap}} [[Curry]]&lt;br /&gt;
and{{wrap}} [[Saffron]].{{wrap}}&lt;br /&gt;
[[Salt]] and{{wrap}} [[Black pepper|Pepper]] and{{wrap}} [[Curry]]&lt;br /&gt;
and{{wrap}} [[Saffron]].&lt;br /&gt;
{{nowrap end}}&lt;br /&gt;
|&lt;br /&gt;
{{nowrap begin}}&lt;br /&gt;
[[Salt]] and [[Black pepper|Pepper]]{{·wrap}}&lt;br /&gt;
[[Black pepper|Pepper]] and [[Curry]]{{·wrap}}&lt;br /&gt;
[[Curry]] and [[Saffron]]{{·wrap}}&lt;br /&gt;
[[Saffron]] and [[Salt]]&lt;br /&gt;
{{nowrap end}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
An example demonstrating all the helper templates:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
{{nowrap begin}}&lt;br /&gt;
[[Salt]]{{wrap}} [[Black pepper|Pepper]]{{wrap}} [[Curry]]{{·wrap}} [[Saffron]]{{·wrap}} [[Salt]]{{•wrap}} [[Black pepper|Pepper]]{{•wrap}} [[Curry]]{{–wrap}} [[Saffron]]{{–wrap}} [[Salt]]{{!wrap}} [[Black pepper|Pepper]]{{!wrap}} [[Curry]]{{·wrap}} [[Saffron]]{{·wrap}} [[Salt]]&lt;br /&gt;
{{nowrap end}}&lt;br /&gt;
|&lt;br /&gt;
{{nowrap begin}}&lt;br /&gt;
[[Salt]]{{wrap}} [[Black pepper|Pepper]]{{wrap}} [[Curry]]{{·wrap}} [[Saffron]]{{·wrap}} [[Salt]]{{•wrap}} [[Black pepper|Pepper]]{{•wrap}} [[Curry]]{{–wrap}} [[Saffron]]{{–wrap}} [[Salt]]{{!wrap}} [[Black pepper|Pepper]]{{!wrap}} [[Curry]]{{·wrap}} [[Saffron]]{{·wrap}} [[Salt]]&lt;br /&gt;
{{nowrap end}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Technical details ===&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; Text and links &amp;lt;/span&amp;gt; &amp;lt;span style=&amp;quot;white-space:nowrap;&amp;quot;&amp;gt; More text and links &amp;lt;/span&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It means that wraps may only happen in the unprotected space between the &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; and the &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;span ...&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;. That&amp;#039;s what {{tl|nowrap begin}} and its helper templates are packaging in an easy to use way.&lt;br /&gt;
&lt;br /&gt;
{{tl|·wrap}} and the other helper templates should not have any spaces or newlines before them or they will render two spaces before the dot. They tolerate anything from no to several spaces and even a newline after them and they will still only render one space after the dot. If a wrap occurs then the wrap will come after the dot, even if there are spaces before the helper template.&lt;br /&gt;
&lt;br /&gt;
The {{tl|·wrap}} causes problems if inside sections of bolded and/or italicised text. Do end the bold text before the {{tl|·wrap}} and continue the bold text after it to avoid the problems. {{tl|•wrap}} and the other helper templates only have this problem if the section is bolded and italicised at the same time.&lt;br /&gt;
&lt;br /&gt;
=== See also ===&lt;br /&gt;
* {{tl|nowrap end}}{{spaced ndash}}The other end of this template.&lt;br /&gt;
* {{tl|nowrap}}{{spaced ndash}}A template with similar purpose.&lt;br /&gt;
* {{tl|nowraplinks}}{{spaced ndash}}Prevents wraps inside links and only allows wraps between the links and in normal text. Very useful for link lists and usually easier to use than this template.&lt;br /&gt;
* {{tn|·}} and {{tn|•}}{{spaced ndash}}If you need dots/bullets when not using &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{nowrap begin}}+{{nowrap end}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;.&lt;br /&gt;
* [[Wikipedia:Line break handling]]{{spaced ndash}}The how-to guide detailing how to handle word wraps (line breaks) on Wikipedia.&lt;br /&gt;
&lt;br /&gt;
* {{tn|allow wrap}}, a template which enables wrapping for a span of text in circumstances where nowrap is already in effect.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;&lt;br /&gt;
&amp;lt;!-- ADD CATEGORIES AND INTERWIKIS BELOW THIS LINE --&amp;gt;&lt;br /&gt;
[[Category:Wikipedia formatting and function templates]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ahenket</name></author>
	</entry>
</feed>