<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.fallenchungus.wiki/index.php?action=history&amp;feed=atom&amp;title=Template%3ADocumentation_subpage%2Fdoc</id>
	<title>Template:Documentation subpage/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.fallenchungus.wiki/index.php?action=history&amp;feed=atom&amp;title=Template%3ADocumentation_subpage%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://www.fallenchungus.wiki/index.php?title=Template:Documentation_subpage/doc&amp;action=history"/>
	<updated>2026-04-18T17:03:21Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.3</generator>
	<entry>
		<id>https://www.fallenchungus.wiki/index.php?title=Template:Documentation_subpage/doc&amp;diff=1905&amp;oldid=prev</id>
		<title>CapybaraKiller: 1 revision imported: To get boxes working.</title>
		<link rel="alternate" type="text/html" href="https://www.fallenchungus.wiki/index.php?title=Template:Documentation_subpage/doc&amp;diff=1905&amp;oldid=prev"/>
		<updated>2025-05-25T16:47:55Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported: To get boxes working.&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 09:47, 25 May 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&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;/table&gt;</summary>
		<author><name>CapybaraKiller</name></author>
	</entry>
	<entry>
		<id>https://www.fallenchungus.wiki/index.php?title=Template:Documentation_subpage/doc&amp;diff=1904&amp;oldid=prev</id>
		<title>wikipedia&gt;Musiconeologist: /* top */Further tweak to read more naturally in the search results</title>
		<link rel="alternate" type="text/html" href="https://www.fallenchungus.wiki/index.php?title=Template:Documentation_subpage/doc&amp;diff=1904&amp;oldid=prev"/>
		<updated>2025-03-15T09:19:50Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;top: &lt;/span&gt;Further tweak to read more naturally in the search results&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Short description|For use on the subpage itself}}&lt;br /&gt;
{{tsh|doc sub}}&lt;br /&gt;
{{Documentation subpage}}&lt;br /&gt;
{{Distinguish|Template:Documentation}}&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;{{var|Page where the documentation is [[Help:Transclusion|transcluded]]}}&amp;amp;#93;&amp;amp;#93;}}&lt;br /&gt;
&lt;br /&gt;
===Userbox documentation===&lt;br /&gt;
To set this template to use &amp;quot;userbox&amp;quot; and &amp;quot;userbox page&amp;quot; rather than &amp;quot;{{lc:{{ns:Template}}}}&amp;quot; and &amp;quot;{{lc:{{ns:Template}}}} page&amp;quot; or &amp;quot;{{lc:{{ns:User}}}} template&amp;quot; and &amp;quot;{{lc:{{ns:User}}}} template page&amp;quot;, use:&lt;br /&gt;
: {{Template link expanded|Userbox documentation subpage}}&lt;br /&gt;
: or&lt;br /&gt;
: {{Template link expanded|Userbox documentation subpage |&amp;amp;#91;&amp;amp;#91;{{var|userbox page}}&amp;amp;#93;&amp;amp;#93;}}&lt;br /&gt;
&lt;br /&gt;
===Text customization===&lt;br /&gt;
The parameters {{para|text1}} and {{para|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;
{{Hidden begin |showhide=left |title=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;
{{Hidden end}}&lt;br /&gt;
{{Hidden begin |showhide=left |title=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;
{{Hidden end}}&lt;br /&gt;
{{Hidden begin |showhide=left |title=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;
{{Hidden end}}&lt;br /&gt;
&lt;br /&gt;
===Other parameters===&lt;br /&gt;
{{para|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;
** As a workaround if the documentation page&amp;#039;s name doesn&amp;#039;t end with &amp;#039;/doc&amp;#039;, use {{para|override}} to specify the doc subpage&amp;#039;s name. For example, if the documentation were at &amp;quot;Template:Example/Documentation&amp;quot;, use {{para|override|documentation}} (must be lower-case to work)&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 [[Help:Transclusion|transcluded]] from a subpage.&lt;br /&gt;
&lt;br /&gt;
== Module documentation ==&lt;br /&gt;
This template is automatically shown on /doc subpages in the [[Wikipedia:Namespace|module namespace]]. This is done automatically via [[MediaWiki:Scribunto-doc-page-header]]. This [[MediaWiki talk:Scribunto-doc-page-header#Category:Module documentation pages|fails to add the doc page]] to [[:Category:Module documentation pages]] so some module doc pages transclude the template manually or add the category directly to fix this.&lt;br /&gt;
&lt;br /&gt;
== Automatic categorization ==&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;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{#switch:{{FULLPAGENAME}}&lt;br /&gt;
|Template:Userbox documentation subpage=&lt;br /&gt;
*{{Template link|Userbox/categories}}&lt;br /&gt;
*{{Template link|Userbox/citydoc}}}}&amp;lt;/includeonly&amp;gt;&lt;br /&gt;
*{{Template link|Documentation/see also}}&lt;br /&gt;
*{{Template link|Documentation subpage}}&lt;br /&gt;
*{{Template link|Userspace disclaimers}}&lt;br /&gt;
*{{Template link|Userbox documentation subpage}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{Sandbox other||&amp;lt;!-- Make sure only the template page is categorised. No subpages, and not after transclusion. This /doc page is reused, btw.&lt;br /&gt;
 --&amp;gt;{{#switch:{{FULLPAGENAME}}&lt;br /&gt;
|Template:Documentation subpage         = [[Category:Documentation templates| ]]&lt;br /&gt;
|Template:Userbox documentation subpage = [[Category:Documentation templates| ]][[Category:Userboxes|Δ]]&lt;br /&gt;
}}&lt;br /&gt;
[[Category:Documentation header templates]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>wikipedia&gt;Musiconeologist</name></author>
	</entry>
</feed>