<?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%3ATalkspace_detect%2Fdoc</id>
	<title>Sjabloon:Talkspace detect/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%3ATalkspace_detect%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://informatiestandaarden.test-nictiz.nl/index.php?title=Sjabloon:Talkspace_detect/doc&amp;action=history"/>
	<updated>2026-04-28T10:59:02Z</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:Talkspace_detect/doc&amp;diff=2697&amp;oldid=prev</id>
		<title>Ahenket: Nieuwe pagina aangemaakt met &#039;{{Documentation subpage}} &lt;!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --&gt;  This is the {{tl|talkspace detect}} meta-template.  It helps oth...&#039;</title>
		<link rel="alternate" type="text/html" href="https://informatiestandaarden.test-nictiz.nl/index.php?title=Sjabloon:Talkspace_detect/doc&amp;diff=2697&amp;oldid=prev"/>
		<updated>2013-07-19T05:55:45Z</updated>

		<summary type="html">&lt;p&gt;Nieuwe pagina aangemaakt met &amp;#039;{{Documentation subpage}} &amp;lt;!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --&amp;gt;  This is the {{tl|talkspace detect}} meta-template.  It helps oth...&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;
&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|talkspace detect}} meta-template.&lt;br /&gt;
&lt;br /&gt;
It helps other templates detect what type of page they are on.  It detects and groups all the different [[Wikipedia:Namespace|talkspaces]] used on Wikipedia into several types:&lt;br /&gt;
&lt;br /&gt;
:&amp;#039;&amp;#039;&amp;#039;main&amp;#039;&amp;#039;&amp;#039; = Defines the output if the template is located on main/article talkspace; aka &amp;#039;&amp;#039;Talk:&amp;#039;&amp;#039;.&lt;br /&gt;
:&amp;#039;&amp;#039;&amp;#039;user&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;wikipedia&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;file&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;mediawiki&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;template&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;help&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;category&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;portal&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;book&amp;#039;&amp;#039;&amp;#039; = Defines the output if the template is located on the specified talkspaces; aka &amp;#039;&amp;#039;User talk:&amp;#039;&amp;#039;, &amp;#039;&amp;#039;Wikipedia talk:&amp;#039;&amp;#039;, &amp;#039;&amp;#039;File talk:&amp;#039;&amp;#039;, etc.&lt;br /&gt;
:&amp;#039;&amp;#039;&amp;#039;default&amp;#039;&amp;#039;&amp;#039; = Defines the output if the template is located on any talkspaces that were not defined as a parameter to this meta-template.&lt;br /&gt;
:&amp;#039;&amp;#039;&amp;#039;other&amp;#039;&amp;#039;&amp;#039; = Defines the output if the template is located on any subject space (not the associated talkspace).&lt;br /&gt;
&lt;br /&gt;
=== Usage ===&lt;br /&gt;
&lt;br /&gt;
This template takes one or more parameters named after the different page types as listed above. Like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{talkspace detect&lt;br /&gt;
| main    = Article talk page text&lt;br /&gt;
| user    = User talk page text&lt;br /&gt;
| default = Text for all other talkspaces&lt;br /&gt;
| other   = Text for all subject spaces&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
By using an empty parameter you can make it so this template doesn&amp;#039;t render anything for some specific page type. Like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{talkspace detect&lt;br /&gt;
| main    = &lt;br /&gt;
| default = Text for all other talkspaces&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== The &amp;quot;page&amp;quot; parameter ===&lt;br /&gt;
&lt;br /&gt;
For testing and demonstration purposes this template can take a parameter named &amp;#039;&amp;#039;&amp;#039;page&amp;#039;&amp;#039;&amp;#039;. Like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{talkspace detect&lt;br /&gt;
| user = User talk text.&lt;br /&gt;
| default = Any talk page text.&lt;br /&gt;
| page = User talk:Example&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
No matter on what kind of page the code above is used it will return this:&lt;br /&gt;
&lt;br /&gt;
:{{talkspace detect&lt;br /&gt;
| user = User talk text.&lt;br /&gt;
| default = Any talk page text.&lt;br /&gt;
| page = User talk:Example&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The &amp;#039;&amp;#039;&amp;#039;page&amp;#039;&amp;#039;&amp;#039; parameter makes this template behave exactly as if on that page. The pagename doesn&amp;#039;t have to be an existing page. &lt;br /&gt;
&lt;br /&gt;
If the &amp;#039;&amp;#039;&amp;#039;page&amp;#039;&amp;#039;&amp;#039; parameter is empty or undefined, the name of the current page determines the result.&lt;br /&gt;
&lt;br /&gt;
You can make it so your template also understands the &amp;#039;&amp;#039;&amp;#039;page&amp;#039;&amp;#039;&amp;#039; parameter. That means you can demonstrate the different appearances of your template in the documentation for your template. Then do like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{talkspace detect&lt;br /&gt;
| user = User talk text.&lt;br /&gt;
| default = Any talk page text.&lt;br /&gt;
| page = {{{page|}}}&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== See also ===&lt;br /&gt;
&lt;br /&gt;
{{namespace detect see also}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;&lt;br /&gt;
&amp;lt;!-- CATEGORIES AND INTERWIKIS HERE, THANKS --&amp;gt;&lt;br /&gt;
[[Category:Namespace manipulation templates]]&lt;br /&gt;
&lt;br /&gt;
[[zh:Template:Talkspace detect]]&lt;br /&gt;
&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ahenket</name></author>
	</entry>
</feed>