<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.limswiki.org/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.limswiki.org/index.php?action=history&amp;feed=atom&amp;title=Template%3ADocumentation_subpage%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://www.limswiki.org/index.php?title=Template:Documentation_subpage/doc&amp;action=history"/>
	<updated>2026-04-04T12:38:00Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.36.1</generator>
	<entry>
		<id>https://www.limswiki.org/index.php?title=Template:Documentation_subpage/doc&amp;diff=16570&amp;oldid=prev</id>
		<title>Shawndouglas: Created as needed.</title>
		<link rel="alternate" type="text/html" href="https://www.limswiki.org/index.php?title=Template:Documentation_subpage/doc&amp;diff=16570&amp;oldid=prev"/>
		<updated>2014-11-22T16:56:29Z</updated>

		<summary type="html">&lt;p&gt;Created as needed.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Documentation subpage}} __NOTOC__&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 [[LIMSWiki: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;
: {{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;
{{float|left|&amp;amp;nbsp;produces...}} {{Documentation subpage |[''page''] |text1='''''text1 appears here''''' |text2='''''text2 appears here'''''}}&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;
{{float|left|&amp;amp;nbsp;produces...}} {{Documentation subpage |[''page''] |text2='''''text2 appears here'''''}}&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;
{{float|left|&amp;amp;nbsp;produces...}} {{Documentation subpage |[''page''] |text1='''''text1 appears here'''''}}&lt;br /&gt;
{{Hidden end}}&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 [[LIMSWiki: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;
&amp;lt;includeonly&amp;gt;{{#ifeq:{{SUBPAGENAME}}|sandbox |&lt;br /&gt;
| &amp;lt;!--Categories below here, please; interwikis to Wikidata.--&amp;gt;&lt;br /&gt;
[[Category:Template documentation| ]]&lt;br /&gt;
[[Category:Template namespace templates]]&lt;br /&gt;
&lt;br /&gt;
[[tn:Template:Documentation subpage]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Shawndouglas</name></author>
	</entry>
</feed>