<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://mindpowe.red/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://mindpowe.red/wiki/index.php?action=history&amp;feed=atom&amp;title=Template%3ADocumentation_subpage%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://mindpowe.red/wiki/index.php?title=Template:Documentation_subpage/doc&amp;action=history"/>
	<updated>2026-04-08T09:08:43Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.34.2</generator>
	<entry>
		<id>https://mindpowe.red/wiki/index.php?title=Template:Documentation_subpage/doc&amp;diff=2922&amp;oldid=prev</id>
		<title>imported&gt;Funandtrvl: /* See also */ update</title>
		<link rel="alternate" type="text/html" href="https://mindpowe.red/wiki/index.php?title=Template:Documentation_subpage/doc&amp;diff=2922&amp;oldid=prev"/>
		<updated>2020-07-06T18:29:26Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;See also: &lt;/span&gt; update&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&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;
: {{tlx|Documentation subpage}}&lt;br /&gt;
: or&lt;br /&gt;
: {{tlx|Documentation subpage |&amp;amp;#91;&amp;amp;#91;{{var|Page where the documentation [[Wikipedia:Transclusion|transcluded]]}}&amp;amp;#93;&amp;amp;#93;}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;{{examples needed|s}}&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;
: {{tlx|Userbox documentation subpage}}&lt;br /&gt;
: or&lt;br /&gt;
: {{tlx|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/or {{para|text2}} can be used to set the text of, respectively, the template's first and second lines. If ''text1'' is set but not ''text2'', both lines' text will derive from ''text1'':&lt;br /&gt;
{{Hidden begin |showhide=left |title=With ''text1'' and ''text2''}}&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{Documentation subpage |text1='''''text1 appears here''''' |text2='''''text2 appears here'''''}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
{{Documentation subpage |[''page''] |text1='''''text1 appears here''''' |text2='''''text2 appears here''''' |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 ''text2'' only}}&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{Documentation subpage |text2='''''text2 appears here'''''}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
{{Documentation subpage |[''page''] |text2='''''text2 appears here''''' |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 ''text1'' only}}&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{Documentation subpage |text1='''''text1 appears here'''''}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
{{Documentation subpage |[''page''] |text1='''''text1 appears here''''' |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;''Namespace'' documentation pages&amp;quot; (usually [[:Category:Template documentation pages]]) is added, or [[:Category:Documentation subpages without corresponding pages]] if the main page doesn'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;{{tl|Documentation}}&amp;lt;/code&amp;gt;) will automatically note that the documentation is [[Wikipedia: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;
&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;
*{{tl|Userbox/categories}}&lt;br /&gt;
*{{tl|Userbox/citydoc}}}}&amp;lt;/includeonly&amp;gt;&lt;br /&gt;
*{{tl|Documentation/see also}}&lt;br /&gt;
*{{tl|Documentation subpage}}&lt;br /&gt;
*{{tl|User talk pages}}&lt;br /&gt;
*{{tl|Userbox documentation subpage}}&lt;br /&gt;
*{{tl|Userspace disclaimers}}&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:Template documentation| ]]&lt;br /&gt;
|Template:Userbox documentation subpage = [[Category:Template documentation| ]][[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>imported&gt;Funandtrvl</name></author>
		
	</entry>
</feed>