
<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://zoophilia.wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=76.89.68.96</id>
	<title>Zoophilia Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://zoophilia.wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=76.89.68.96"/>
	<link rel="alternate" type="text/html" href="https://zoophilia.wiki/index.php?title=Special:Contributions/76.89.68.96"/>
	<updated>2026-06-19T13:09:48Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://zoophilia.wiki/index.php?title=Template:When_on_basepage/doc&amp;diff=96923</id>
		<title>Template:When on basepage/doc</title>
		<link rel="alternate" type="text/html" href="https://zoophilia.wiki/index.php?title=Template:When_on_basepage/doc&amp;diff=96923"/>
		<updated>2011-05-18T00:54:17Z</updated>

		<summary type="html">&lt;p&gt;76.89.68.96: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
file:///C:/Users/Rafael/Desktop/Spacetime!.bmp&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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|basepage subpage}} meta-template.&lt;br /&gt;
&lt;br /&gt;
This template helps other templates detect if they are on a &#039;&#039;&#039;basepage&#039;&#039;&#039;, &#039;&#039;&#039;subpage&#039;&#039;&#039; or &#039;&#039;&#039;subsubpage&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
=== Usage ===&lt;br /&gt;
&lt;br /&gt;
This template takes one or more parameters, like this:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{basepage subpage&lt;br /&gt;
| Basepage text&lt;br /&gt;
| Subpage text&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If the template is on the page &amp;quot;User:Example&amp;quot;, it will return this:&lt;br /&gt;
&lt;br /&gt;
:{{basepage subpage&lt;br /&gt;
| Basepage text&lt;br /&gt;
| Subpage text&lt;br /&gt;
| page = User:Example&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
If the template is on &amp;quot;User:Example/test&amp;quot; or &amp;quot;User:Example/test/test&amp;quot; or any page lower than that, it will return this:&lt;br /&gt;
&lt;br /&gt;
:{{basepage subpage&lt;br /&gt;
| Basepage text&lt;br /&gt;
| Subpage text&lt;br /&gt;
| page = User:Example/test/test&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
This template can also detect &amp;quot;subsubpages&amp;quot;, like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{basepage subpage&lt;br /&gt;
| Basepage text&lt;br /&gt;
| Subpage text&lt;br /&gt;
| Subsubpage text&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If the template is on &amp;quot;User:Example/test/test&amp;quot; or any page lower than that, it will return this:&lt;br /&gt;
&lt;br /&gt;
:{{basepage subpage&lt;br /&gt;
| Basepage text&lt;br /&gt;
| Subpage text&lt;br /&gt;
| Subsubpage text&lt;br /&gt;
| page = User:Example/test/test&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
By using an empty parameter you can make it so the template doesn&#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;
{{basepage subpage&lt;br /&gt;
| Basepage text&lt;br /&gt;
| Subpage text&lt;br /&gt;
| &lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The code above will render nothing when on &amp;quot;User:Example/test/test&amp;quot; or lower, but will return this when on &amp;quot;User:Example/test&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
:{{basepage subpage&lt;br /&gt;
| Basepage text&lt;br /&gt;
| Subpage text&lt;br /&gt;
| &lt;br /&gt;
| page = User:Example/test&lt;br /&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 &#039;&#039;&#039;page&#039;&#039;&#039;. Like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{basepage subpage&lt;br /&gt;
| Basepage text&lt;br /&gt;
| Subpage text&lt;br /&gt;
| page = User:Example/test&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;
:{{basepage subpage&lt;br /&gt;
| Basepage text&lt;br /&gt;
| Subpage text&lt;br /&gt;
| page = User:Example/test&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;page&#039;&#039;&#039; parameter makes this template behave exactly as if on that page. Thus, if a subsubpagename like &amp;quot;User:Example/test/test&amp;quot; is fed, then it returns the subsubpage text if there is one, otherwise it returns the subpage text. &lt;br /&gt;
&lt;br /&gt;
The pagename doesn&#039;t have to be an existing page. &lt;br /&gt;
&lt;br /&gt;
If the 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 &#039;&#039;&#039;page&#039;&#039;&#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;
{{basepage subpage&lt;br /&gt;
| Basepage text&lt;br /&gt;
| Subpage text&lt;br /&gt;
| page = {{{page|}}}&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Technical details ===&lt;br /&gt;
&lt;br /&gt;
Templates have a problem to handle parameter data that contains equal signs &amp;quot;&amp;lt;code&amp;gt;=&amp;lt;/code&amp;gt;&amp;quot;. But that is easily solved by using numbered parameters. Like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{basepage subpage&lt;br /&gt;
| 1 = Basepage text&lt;br /&gt;
| 2 = Subpage text&lt;br /&gt;
| 3 = Subsubpage text&lt;br /&gt;
| page = {{{page|}}}&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This template detects subpages even when used in namespaces that doesn&#039;t have the MediaWiki [[meta:Link#Subpage feature|subpage feature]] enabled. Thus this template works the same in all namespaces.&lt;br /&gt;
&lt;br /&gt;
=== See also ===&lt;br /&gt;
&lt;br /&gt;
{{pagename 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:Wikipedia metatemplates]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>76.89.68.96</name></author>
	</entry>
</feed>