<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.sasgaming.net/index.php?action=history&amp;feed=atom&amp;title=Template%3APG%2FDocumentation_subpage%2Fdoc</id>
	<title>Template:PG/Documentation subpage/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.sasgaming.net/index.php?action=history&amp;feed=atom&amp;title=Template%3APG%2FDocumentation_subpage%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://wiki.sasgaming.net/index.php?title=Template:PG/Documentation_subpage/doc&amp;action=history"/>
	<updated>2026-04-08T11:14:59Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://wiki.sasgaming.net/index.php?title=Template:PG/Documentation_subpage/doc&amp;diff=88&amp;oldid=prev</id>
		<title>imported&gt;Trimoon: copy-over from latest version on http://templates.wikia.com/wiki/Template:Documentation_subpage/doc</title>
		<link rel="alternate" type="text/html" href="https://wiki.sasgaming.net/index.php?title=Template:PG/Documentation_subpage/doc&amp;diff=88&amp;oldid=prev"/>
		<updated>2016-04-10T16:00:07Z</updated>

		<summary type="html">&lt;p&gt;copy-over from latest version on http://templates.wikia.com/wiki/Template:Documentation_subpage/doc&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;noinclude&amp;gt;{{documentation subpage}}&amp;lt;/noinclude&amp;gt; __NOTOC__ __NOEDITSECTION__ __NOWYSIWYG__&lt;br /&gt;
=== Usage ===&lt;br /&gt;
 {{tl|documentation subpage}}&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;OR&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 {{tlx|documentation subpage|&amp;lt;nowiki&amp;gt;[[&amp;lt;/nowiki&amp;gt;&amp;lt;var&amp;gt;main page to link to&amp;lt;/var&amp;gt;&amp;lt;nowiki&amp;gt;]]&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
==== Userboxes ====&lt;br /&gt;
When used to document usage of a [[wikipedia:Wikipedia:Userboxes|userbox]], it may be preferred to have this template state &amp;quot;userbox&amp;quot;/&amp;quot;userbox page&amp;quot; instead of &amp;quot;{{lc:{{ns:Template}}}}&amp;quot;/&amp;quot;{{lc:{{ns:Template}}}} page&amp;quot; or &amp;quot;{{lc:{{ns:User}}}} template&amp;quot;/&amp;quot;{{lc:{{ns:User}}}} template page&amp;quot;. If this is preferred, use:&lt;br /&gt;
 {{tl|userbox documentation subpage}}&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;OR&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 {{tlx|userbox documentation subpage|&amp;lt;nowiki&amp;gt;[[&amp;lt;/nowiki&amp;gt;&amp;lt;var&amp;gt;main userbox page to link to&amp;lt;/var&amp;gt;&amp;lt;nowiki&amp;gt;]]&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
==== Customization of text ====&lt;br /&gt;
To manually change the text of the template, the &amp;quot;&amp;lt;code&amp;gt;text1=&amp;lt;var&amp;gt;your text here&amp;lt;/var&amp;gt;&amp;lt;/code&amp;gt;&amp;quot; and/or &amp;quot;&amp;lt;code&amp;gt;text2=&amp;lt;var&amp;gt;your other text here&amp;lt;/var&amp;gt;&amp;lt;/code&amp;gt;&amp;quot; parameters can be specified. &amp;quot;&amp;lt;code&amp;gt;text1=&amp;lt;/code&amp;gt;&amp;quot; changes the automatic text on the first line to your own word(s). &amp;quot;&amp;lt;code&amp;gt;text2=&amp;lt;/code&amp;gt;&amp;quot; changes the automatic text on the second line to your own word(s). If &amp;quot;&amp;lt;code&amp;gt;text1=&amp;lt;/code&amp;gt;&amp;quot; parameter is specified without the &amp;quot;&amp;lt;code&amp;gt;text2=&amp;lt;/code&amp;gt;&amp;quot; parameter, both the first and second line of text will be custom based on the text given in the &amp;quot;&amp;lt;code&amp;gt;text1=&amp;lt;/code&amp;gt;&amp;quot; parameter.&lt;br /&gt;
&lt;br /&gt;
Example usage:&lt;br /&gt;
 {{tlx|documentation subpage|text1&amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt;&amp;lt;var&amp;gt;custom first and second line text&amp;lt;/var&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
 {{tlx|documentation subpage|text2&amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt;&amp;lt;var&amp;gt;custom second line text only&amp;lt;/var&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
 {{tlx|documentation subpage|text1&amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt;&amp;lt;var&amp;gt;custom first line text&amp;lt;/var&amp;gt;|text2&amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt;&amp;lt;var&amp;gt;custom second line text&amp;lt;/var&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
=== How it is displayed ===&lt;br /&gt;
This template should be placed at the top of &amp;quot;/doc&amp;quot; pages. It changes output depending on where it is viewed:&lt;br /&gt;
* On a &amp;quot;/doc&amp;quot; page, it displays a box explaining template documentation and links to the template page.&lt;br /&gt;
* On other pages (ie, pages transcluding the &amp;quot;/doc&amp;quot; page), 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 [[m:Transclusion|transcluded]] from a subpage.&lt;br /&gt;
&lt;br /&gt;
=== Functions ===&lt;br /&gt;
In addition to the output message, the template categorizes pages to [[:Category:Template documentation]], [[: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 [[Project:Categories#Sort key|sort key]] to the page name without namespace (ie, &amp;quot;Foo&amp;quot; on &amp;quot;Template:Foo&amp;quot;, so it would be sorted in categories under &amp;#039;F&amp;#039;).&lt;br /&gt;
&lt;br /&gt;
=== See also ===&lt;br /&gt;
* [[wikipedia:Wikipedia:Template sandbox and test cases|Wikipedia:Template sandbox and test cases]] for how this template is used.&lt;br /&gt;
{{ Documentation/see also }}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;&lt;br /&gt;
&amp;lt;!-- categories and interwiki links --&amp;gt;&lt;br /&gt;
[[Category:Template documentation| {{PAGENAME}}]]&lt;br /&gt;
[[Category:Template namespace templates]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>imported&gt;Trimoon</name></author>
	</entry>
</feed>