<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://idugov.com/w/index.php?action=history&amp;feed=atom&amp;title=Template%3ANamespace_detect%2Ftest1</id>
	<title>Template:Namespace detect/test1 - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://idugov.com/w/index.php?action=history&amp;feed=atom&amp;title=Template%3ANamespace_detect%2Ftest1"/>
	<link rel="alternate" type="text/html" href="https://idugov.com/w/index.php?title=Template:Namespace_detect/test1&amp;action=history"/>
	<updated>2026-08-07T18:02:45Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.1</generator>
	<entry>
		<id>https://idugov.com/w/index.php?title=Template:Namespace_detect/test1&amp;diff=30483&amp;oldid=prev</id>
		<title>Sanctaria: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://idugov.com/w/index.php?title=Template:Namespace_detect/test1&amp;diff=30483&amp;oldid=prev"/>
		<updated>2022-12-06T19:31:17Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&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&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 14:31, 6 December 2022&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;4&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff cache key idugovco_theixlpp_mw19678-mws9_:diff:1.41:old-30482:rev-30483 --&gt;
&lt;/table&gt;</summary>
		<author><name>Sanctaria</name></author>
	</entry>
	<entry>
		<id>https://idugov.com/w/index.php?title=Template:Namespace_detect/test1&amp;diff=30482&amp;oldid=prev</id>
		<title>en&gt;Davidgothberg: Oops. Mixed up the &quot;main&quot; and &quot;image&quot; switch cases. Fixed.</title>
		<link rel="alternate" type="text/html" href="https://idugov.com/w/index.php?title=Template:Namespace_detect/test1&amp;diff=30482&amp;oldid=prev"/>
		<updated>2008-10-07T05:55:10Z</updated>

		<summary type="html">&lt;p&gt;Oops. Mixed up the &amp;quot;main&amp;quot; and &amp;quot;image&amp;quot; switch cases. Fixed.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{#switch:&lt;br /&gt;
  {{lc:               &amp;lt;!--Lower case the result--&amp;gt;&lt;br /&gt;
    &amp;lt;!--If no or empty &amp;quot;demospace&amp;quot; parameter then detect namespace--&amp;gt;&lt;br /&gt;
    {{#if:{{{demospace|}}} &lt;br /&gt;
    | {{{demospace}}}&lt;br /&gt;
    | {{#ifeq:{{NAMESPACE}}|{{ns:0}}&lt;br /&gt;
      | main&lt;br /&gt;
      | {{#ifeq:{{NAMESPACE}}|{{TALKSPACE}}&lt;br /&gt;
        | talk&lt;br /&gt;
        | {{NAMESPACE}} &lt;br /&gt;
        }}&lt;br /&gt;
      }} &lt;br /&gt;
    }}&lt;br /&gt;
  }}&lt;br /&gt;
&amp;lt;!-- Only one of the lines below will be executed --&amp;gt;&lt;br /&gt;
&amp;lt;!-- Respecting empty parameters on purpose --&amp;gt;&lt;br /&gt;
| main      = {{{main| {{{other|}}} }}}&lt;br /&gt;
| talk      = {{{talk| {{{other|}}} }}}&lt;br /&gt;
| user      = {{{user| {{{other|}}} }}}&lt;br /&gt;
| wikipedia = {{{wikipedia| {{{other|}}} }}}&lt;br /&gt;
| file&lt;br /&gt;
| image     = {{{file| {{{image| {{{other|}}} }}} }}}&lt;br /&gt;
| mediawiki = {{{mediawiki| {{{other|}}} }}}&lt;br /&gt;
| template  = {{{template| {{{other|}}} }}}&lt;br /&gt;
| help      = {{{help| {{{other|}}} }}}&lt;br /&gt;
| category  = {{{category| {{{other|}}} }}}&lt;br /&gt;
| portal    = {{{portal| {{{other|}}} }}}&lt;br /&gt;
| other&lt;br /&gt;
| #default  = {{{other|}}}   &amp;lt;!--&amp;quot;demospace=other&amp;quot; or a new namespace--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
}}&amp;lt;!--End switch--&amp;gt;&amp;lt;noinclude&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== David's sandbox for {{tl|namespace detect}} ===&lt;br /&gt;
&lt;br /&gt;
Here David Göthberg is testing and showing new code versions. &amp;lt;u&amp;gt;Please do not edit this page.&amp;lt;/u&amp;gt; If you want to experiment do so in {{tl|namespace detect/sandbox}} or create your own subpage under {{tl|namespace detect}} or in your own user space.&lt;br /&gt;
&lt;br /&gt;
The area above is template code on this page, the area below are transclusions of this page and show how that code renders when used. If you anyway have updated the code above then you have to {{purge|purge this page}} to see the effect on the examples below.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{namespace detect/test1&lt;br /&gt;
| main  = Article text&lt;br /&gt;
| image = Image page text&lt;br /&gt;
| other = Other pages text&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
{{namespace detect/test1&lt;br /&gt;
| main  = Article text&lt;br /&gt;
| image = Image page text&lt;br /&gt;
| other = Other pages text&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{namespace detect/test1&lt;br /&gt;
| main  = Article text&lt;br /&gt;
| file  = File page text&lt;br /&gt;
| other = Other pages text&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
{{namespace detect/test1&lt;br /&gt;
| main  = Article text&lt;br /&gt;
| file  = File page text&lt;br /&gt;
| other = Other pages text&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{namespace detect/test1&lt;br /&gt;
| demospace = image&lt;br /&gt;
| main  = Article text&lt;br /&gt;
| image = Image page text&lt;br /&gt;
| other = Other pages text&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
{{namespace detect/test1&lt;br /&gt;
| demospace = image&lt;br /&gt;
| main  = Article text&lt;br /&gt;
| image = Image page text&lt;br /&gt;
| other = Other pages text&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{namespace detect/test1&lt;br /&gt;
| demospace = file&lt;br /&gt;
| main  = Article text&lt;br /&gt;
| file = File page text&lt;br /&gt;
| other = Other pages text&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
{{namespace detect/test1&lt;br /&gt;
| demospace = file&lt;br /&gt;
| main  = Article text&lt;br /&gt;
| file = File page text&lt;br /&gt;
| other = Other pages text&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{namespace detect/test1&lt;br /&gt;
| demospace = file&lt;br /&gt;
| main  = Article text&lt;br /&gt;
| image = Image page text&lt;br /&gt;
| other = Other pages text&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
{{namespace detect/test1&lt;br /&gt;
| demospace = file&lt;br /&gt;
| main  = Article text&lt;br /&gt;
| image = Image page text&lt;br /&gt;
| other = Other pages text&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{namespace detect/test1&lt;br /&gt;
| demospace = image&lt;br /&gt;
| main = Article text&lt;br /&gt;
| file = File page text&lt;br /&gt;
| other = Other pages text&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
{{namespace detect/test1&lt;br /&gt;
| demospace = image&lt;br /&gt;
| main = Article text&lt;br /&gt;
| file = File page text&lt;br /&gt;
| other = Other pages text&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>en&gt;Davidgothberg</name></author>
	</entry>
</feed>