<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://meta.wikioasis.org/wiki/Template:Documentation_subpage/doc?action=history&amp;feed=atom</id>
	<title>Template:Documentation subpage/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://meta.wikioasis.org/wiki/Template:Documentation_subpage/doc?action=history&amp;feed=atom"/>
	<link rel="alternate" type="text/html" href="https://meta.wikioasis.org/wiki/Template:Documentation_subpage/doc?action=history"/>
	<updated>2026-05-24T16:57:51Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://meta.wikioasis.org/wiki/Template:Documentation_subpage/doc?diff=5036&amp;oldid=prev</id>
		<title>DarkMatterMan4500: Created page with &quot;{{Documentation subpage}} This template displays a message that the current page is a documentation subpage.  == Usage == : {{Template link expanded|Documentation subpage}} : or : {{Template link expanded|Documentation subpage |&amp;#91;&amp;#91;Page where the documentation transcluded&amp;#93;&amp;#93;}}  ===Text customization=== The parameters |text1= and |text2= can be used to set the text of, respectively, the template&#039;s first and second lines. If &#039;&#039;text1&#039;&#039;...&quot;</title>
		<link rel="alternate" type="text/html" href="https://meta.wikioasis.org/wiki/Template:Documentation_subpage/doc?diff=5036&amp;oldid=prev"/>
		<updated>2026-05-18T11:36:37Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Documentation subpage}} This template displays a message that the current page is a documentation subpage.  == Usage == : {{Template link expanded|Documentation subpage}} : or : {{Template link expanded|Documentation subpage |[[Page where the documentation &lt;a href=&quot;https://www.mediawiki.org/wiki/Help:Transclusion&quot; class=&quot;extiw&quot; title=&quot;mw:Help:Transclusion&quot;&gt;transcluded&lt;/a&gt;]]}}  ===Text customization=== The parameters |text1= and |text2= can be used to set the text of, respectively, the template&amp;#039;s first and second lines. If &amp;#039;&amp;#039;text1&amp;#039;&amp;#039;...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Documentation subpage}}&lt;br /&gt;
This template displays a message that the current page is a documentation subpage.&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
: {{Template link expanded|Documentation subpage}}&lt;br /&gt;
: or&lt;br /&gt;
: {{Template link expanded|Documentation subpage |&amp;amp;#91;&amp;amp;#91;Page where the documentation [[mw:Help:Transclusion|transcluded]]&amp;amp;#93;&amp;amp;#93;}}&lt;br /&gt;
&lt;br /&gt;
===Text customization===&lt;br /&gt;
The parameters |text1= and |text2= can be used to set the text of, respectively, the template&amp;#039;s first and second lines. If &amp;#039;&amp;#039;text1&amp;#039;&amp;#039; is set but not &amp;#039;&amp;#039;text2&amp;#039;&amp;#039;, both lines&amp;#039; text will derive from &amp;#039;&amp;#039;text1&amp;#039;&amp;#039;:&lt;br /&gt;
With &amp;#039;&amp;#039;text1&amp;#039;&amp;#039; and &amp;#039;&amp;#039;text2&amp;#039;&amp;#039;:&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{Documentation subpage |text1=&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;text1 appears here&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039; |text2=&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;text2 appears here&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
{{Documentation subpage |[&amp;#039;&amp;#039;page&amp;#039;&amp;#039;] |text1=&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;text1 appears here&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039; |text2=&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;text2 appears here&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039; |override={{lc:{{SUBPAGENAME}}&amp;lt;!-- Hack to allow example to appear, even when viewed from [[Template:Documentation subpage]] --&amp;gt;}}}}&lt;br /&gt;
With &amp;#039;&amp;#039;text2&amp;#039;&amp;#039; only:&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{Documentation subpage |text2=&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;text2 appears here&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
{{Documentation subpage |[&amp;#039;&amp;#039;page&amp;#039;&amp;#039;] |text2=&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;text2 appears here&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039; |override={{lc:{{SUBPAGENAME}}&amp;lt;!-- Hack to allow example to appear, even when viewed from [[Template:Documentation subpage]] --&amp;gt;}}}}&lt;br /&gt;
With &amp;#039;&amp;#039;text1&amp;#039;&amp;#039; only:&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{Documentation subpage |text1=&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;text1 appears here&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
{{Documentation subpage |[&amp;#039;&amp;#039;page&amp;#039;&amp;#039;] |text1=&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;text1 appears here&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039; |override={{lc:{{SUBPAGENAME}}&amp;lt;!-- Hack to allow example to appear, even when viewed from [[Template:Documentation subpage]] --&amp;gt;}}}}&lt;br /&gt;
&lt;br /&gt;
===Other parameters===&lt;br /&gt;
|inhibit=yes will prevent this template from generating any categories. (By default, &amp;quot;&amp;#039;&amp;#039;Namespace&amp;#039;&amp;#039; documentation pages&amp;quot; (usually [[:Category:Template documentation pages]]) is added, or [[:Category:Documentation subpages without corresponding pages]] if the main page doesn&amp;#039;t exist.)&lt;br /&gt;
&lt;br /&gt;
== Display ==&lt;br /&gt;
This template should normally be placed at the top of /doc pages. It changes output depending on where it is viewed:&lt;br /&gt;
* On a /doc page, it displays a box explaining template documentation and links to the template page.&lt;br /&gt;
* On other pages&amp;amp;nbsp;– i.e. pages transcluding the /doc page&amp;amp;nbsp;– the template will not show. The template page itself (which contains &amp;lt;code&amp;gt;{{Template link|Documentation}}&amp;lt;/code&amp;gt;) will automatically note that the documentation is [[mw:Help:Transclusion|transcluded]] from a subpage.&lt;br /&gt;
&lt;br /&gt;
== Functions ==&lt;br /&gt;
In addition to its message, the template adds pages to [[:Category:Template documentation pages]], [[:Category:User documentation pages]], or similar (named after the subject space), but only for documentation pages in namespaces with the subpage feature. It defaults the [[m:Help:Categories#Sort order|sort key]] to the page name without namespace: Template:Foo, for example, would be sorted as &amp;quot;Foo&amp;quot;, i.e. under &amp;quot;F&amp;quot;.&lt;br /&gt;
&amp;lt;includeonly&amp;gt;[[Category:Notice templates]]&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>DarkMatterMan4500</name></author>
	</entry>
</feed>