<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="nb">
	<id>https://www.genealogi.no/wiki/index.php?action=history&amp;feed=atom&amp;title=Mal%3ASp%2Fdoc</id>
	<title>Mal:Sp/doc - Sideversjonshistorikk</title>
	<link rel="self" type="application/atom+xml" href="https://www.genealogi.no/wiki/index.php?action=history&amp;feed=atom&amp;title=Mal%3ASp%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://www.genealogi.no/wiki/index.php?title=Mal:Sp/doc&amp;action=history"/>
	<updated>2026-04-23T10:07:34Z</updated>
	<subtitle>Versjonshistorikk for denne siden på wikien</subtitle>
	<generator>MediaWiki 1.41.1</generator>
	<entry>
		<id>https://www.genealogi.no/wiki/index.php?title=Mal:Sp/doc&amp;diff=18774&amp;oldid=prev</id>
		<title>Davidwhowden på 6. sep. 2015 kl. 03:01</title>
		<link rel="alternate" type="text/html" href="https://www.genealogi.no/wiki/index.php?title=Mal:Sp/doc&amp;diff=18774&amp;oldid=prev"/>
		<updated>2015-09-06T03:01:15Z</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;nb&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Eldre sideversjon&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Sideversjonen fra 6. sep. 2015 kl. 03:01&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-l44&quot;&gt;Linje 44:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Linje 44:&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;includeonly&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;includeonly&amp;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;!-- CATEGORIES BELOW THIS LINE, PLEASE: --&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;!-- CATEGORIES BELOW THIS LINE, PLEASE: --&amp;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;&amp;lt;/includeonly&amp;gt;&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;[[Kategori:Formateringsmaler]]&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;[[Kategori:Formateringsmaler]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&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: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/includeonly&amp;gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key genealogi_wiki2024:diff:1.41:old-18773:rev-18774:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Davidwhowden</name></author>
	</entry>
	<entry>
		<id>https://www.genealogi.no/wiki/index.php?title=Mal:Sp/doc&amp;diff=18773&amp;oldid=prev</id>
		<title>Davidwhowden på 6. sep. 2015 kl. 02:58</title>
		<link rel="alternate" type="text/html" href="https://www.genealogi.no/wiki/index.php?title=Mal:Sp/doc&amp;diff=18773&amp;oldid=prev"/>
		<updated>2015-09-06T02:58:35Z</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;nb&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Eldre sideversjon&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Sideversjonen fra 6. sep. 2015 kl. 02:58&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-l44&quot;&gt;Linje 44:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Linje 44:&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;includeonly&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;includeonly&amp;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;!-- CATEGORIES BELOW THIS LINE, PLEASE: --&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;!-- CATEGORIES BELOW THIS LINE, PLEASE: --&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&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: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Category&lt;/del&gt;:&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Inline spacing templates]]&lt;/del&gt;&lt;/div&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;Kategori&lt;/ins&gt;:&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Formateringsmaler&lt;/ins&gt;]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&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: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:Typing-aid templates&lt;/del&gt;]]&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&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;/includeonly&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;/includeonly&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key genealogi_wiki2024:diff:1.41:old-18771:rev-18773:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Davidwhowden</name></author>
	</entry>
	<entry>
		<id>https://www.genealogi.no/wiki/index.php?title=Mal:Sp/doc&amp;diff=18771&amp;oldid=prev</id>
		<title>Davidwhowden: Beskyttet «Mal:Sp/doc» (‎[edit=sysop] (ubestemt) ‎[move=sysop] (ubestemt))</title>
		<link rel="alternate" type="text/html" href="https://www.genealogi.no/wiki/index.php?title=Mal:Sp/doc&amp;diff=18771&amp;oldid=prev"/>
		<updated>2015-09-06T02:52:30Z</updated>

		<summary type="html">&lt;p&gt;Beskyttet «&lt;a href=&quot;/wiki/index.php/Mal:Sp/doc&quot; title=&quot;Mal:Sp/doc&quot;&gt;Mal:Sp/doc&lt;/a&gt;» (‎[edit=sysop] (ubestemt) ‎[move=sysop] (ubestemt))&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;nb&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Eldre sideversjon&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Sideversjonen fra 6. sep. 2015 kl. 02:52&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;4&quot; class=&quot;diff-notice&quot; lang=&quot;nb&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(Ingen forskjell)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff cache key genealogi_wiki2024:diff:1.41:old-18770:rev-18771 --&gt;
&lt;/table&gt;</summary>
		<author><name>Davidwhowden</name></author>
	</entry>
	<entry>
		<id>https://www.genealogi.no/wiki/index.php?title=Mal:Sp/doc&amp;diff=18770&amp;oldid=prev</id>
		<title>Davidwhowden: Ny side: {{Documentation subpage}} &lt;!-- PLEASE ADD CATEGORIES WHERE INDICATED AT THE BOTTOM OF THIS PAGE --&gt;  ===Usage=== {{tlx|sp}} will insert a single, ordinary space character.  ====Anywhere ...</title>
		<link rel="alternate" type="text/html" href="https://www.genealogi.no/wiki/index.php?title=Mal:Sp/doc&amp;diff=18770&amp;oldid=prev"/>
		<updated>2015-09-06T02:52:13Z</updated>

		<summary type="html">&lt;p&gt;Ny side: {{Documentation subpage}} &amp;lt;!-- PLEASE ADD CATEGORIES WHERE INDICATED AT THE BOTTOM OF THIS PAGE --&amp;gt;  ===Usage=== {{tlx|sp}} will insert a single, ordinary space character.  ====Anywhere ...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Ny side&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Documentation subpage}}&lt;br /&gt;
&amp;lt;!-- PLEASE ADD CATEGORIES WHERE INDICATED AT THE BOTTOM OF THIS PAGE --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Usage===&lt;br /&gt;
{{tlx|sp}} will insert a single, ordinary space character.&lt;br /&gt;
&lt;br /&gt;
====Anywhere you need a regular space====&lt;br /&gt;
You can use {{tl|sp}} anywhere you need a regular, breaking space. If you need a non-breaking space or multiple spaces in a row, use {{tl|space}}.&lt;br /&gt;
&lt;br /&gt;
====Inserting a space inside a parser function====&lt;br /&gt;
Sometimes when using [[Help:parser functions|parser functions]], you need to insert a space at the beginning or end of an optional message. {{tl|sp}} can be used for that purpose. In the following examples, look closely at the spacing between words and punctuation to see the subtle differences.&lt;br /&gt;
&lt;br /&gt;
;Example&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;I like green{{#if:{{{blue|}}}|and blue}}.&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
The above example works fine if &amp;#039;blue&amp;#039; does not have a value (&amp;#039;&amp;lt;tt&amp;gt;I like green.&amp;lt;/tt&amp;gt;&amp;#039;).&lt;br /&gt;
&lt;br /&gt;
However, if &amp;#039;blue&amp;#039; is set to true (&amp;lt;code&amp;gt;|blue=true&amp;lt;/code&amp;gt;), then the message is incorrectly run together (&amp;#039;&amp;lt;tt&amp;gt;I like greenand blue.&amp;lt;/tt&amp;gt;&amp;#039;).&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;I like green {{#if:{{{blue|}}}|and blue}}.&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
Adding the space between &amp;#039;green&amp;#039; and &amp;#039;&amp;amp;#123;&amp;amp;#123;#if&amp;#039; avoids running the &amp;#039;&amp;lt;tt&amp;gt;green and&amp;lt;/tt&amp;gt;&amp;#039; together, but now there will be an extra space if &amp;#039;blue&amp;#039; is not set (&amp;#039;&amp;lt;tt&amp;gt;I like green .&amp;lt;/tt&amp;gt;&amp;#039;).&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;I like green{{#if:{{{blue|}}}| and blue}}.&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
Adding the space between the pipe (&amp;#039;&amp;amp;#124;&amp;#039;) and the word &amp;#039;and&amp;#039; doesn&amp;#039;t work. Any leading or trailing spaces from a parser function output are stripped, so this produces exactly the same output as the first example when &amp;#039;blue&amp;#039; is true (&amp;#039;&amp;lt;tt&amp;gt;I like greenand blue.&amp;lt;/tt&amp;gt;&amp;#039;).&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;I like green{{#if:{{{blue|}}}|{{sp}}and blue}}.&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
This one works! By inserting the {{tl|sp}} in the parser function output, the space is not stripped, and the correct output is given whether blue is set to true (&amp;#039;&amp;lt;tt&amp;gt;I like green and blue.&amp;lt;/tt&amp;gt;&amp;#039;) or not set at all (&amp;#039;&amp;lt;tt&amp;gt;I like green.&amp;lt;/tt&amp;gt;&amp;#039;).&lt;br /&gt;
&lt;br /&gt;
====Disabling default substitution====&lt;br /&gt;
Suppose you have a template, {{tl|Example}}, that uses [[WP:substitution|substitution]], like this:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;{{{{{subst|subst:}}}#if{{{condition|}}}|message}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
When the template is [[WP:Transclusion|transcluded]] and saved, the result would be interpreted as:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;{{subst:#if{{{condition|}}}|message}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You could override the substitution by setting the &amp;#039;subst&amp;#039; attribute to {{tl|sp}}:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;{{Example| subst={{sp}} }}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
Now the result would be interpreted as:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;{{ #if{{{condition|}}}|message}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
The extra blank space preceding the &amp;#039;#if&amp;#039; would not affect the template at all (except to suppress the default substitution).&lt;br /&gt;
&lt;br /&gt;
===See also===&lt;br /&gt;
* {{tlx|space}}: A similar template that is often more useful except when working with parser functions&lt;br /&gt;
* {{tlx|fdw-iw}}: A template that uses {{tl|sp}} with parser functions&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;&lt;br /&gt;
&amp;lt;!-- CATEGORIES BELOW THIS LINE, PLEASE: --&amp;gt;&lt;br /&gt;
[[Category:Inline spacing templates]]&lt;br /&gt;
[[Category:Typing-aid templates]]&lt;br /&gt;
&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Davidwhowden</name></author>
	</entry>
</feed>