<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.10bitworks.com/index.php?action=history&amp;feed=atom&amp;title=Template%3ADocumentation</id>
	<title>Template:Documentation - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.10bitworks.com/index.php?action=history&amp;feed=atom&amp;title=Template%3ADocumentation"/>
	<link rel="alternate" type="text/html" href="https://wiki.10bitworks.com/index.php?title=Template:Documentation&amp;action=history"/>
	<updated>2026-05-06T17:44:35Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.0</generator>
	<entry>
		<id>https://wiki.10bitworks.com/index.php?title=Template:Documentation&amp;diff=51&amp;oldid=prev</id>
		<title>Eric: Created page with &quot;{{Documentation subpage}} {{high-use}} {{Lua|Module:Documentation}} This template automatically displays a documentation {{#ifeq:{{FULLPAGENAME}}|Template:Documentation|box like you are seeing now|box}}, of which the content is transcluded from another page. It is intended for pages which are transcluded in other pages, i.e. templates, whether in the template namespace or not.  ;Usage :&lt;code&gt;&lt;nowiki&gt;&amp;lt;noinclude&amp;gt;{{documentation}}&amp;lt;/noinclud...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.10bitworks.com/index.php?title=Template:Documentation&amp;diff=51&amp;oldid=prev"/>
		<updated>2024-04-03T19:55:28Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Documentation subpage}} {{high-use}} {{Lua|Module:Documentation}} This template automatically displays a documentation {{#ifeq:{{FULLPAGENAME}}|Template:Documentation|box like you are seeing now|box}}, of which the content is transcluded from another page. It is intended for pages which are &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; in other pages, i.e. templates, whether in the template namespace or not.  ;Usage :&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;noinclude&amp;gt;{{documentation}}&amp;lt;/noinclud...&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;
{{high-use}}&lt;br /&gt;
{{Lua|Module:Documentation}}&lt;br /&gt;
This template automatically displays a documentation {{#ifeq:{{FULLPAGENAME}}|Template:Documentation|box like you are seeing now|box}}, of which the content is transcluded from another page. It is intended for pages which are [[mw:Help:Transclusion|transcluded]] in other pages, i.e. templates, whether in the template namespace or not.&lt;br /&gt;
&lt;br /&gt;
;Usage&lt;br /&gt;
:&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;amp;lt;noinclude&amp;amp;gt;{{documentation}}&amp;amp;lt;/noinclude&amp;amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
:&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;amp;lt;noinclude&amp;amp;gt;{{documentation|else:where}}&amp;amp;lt;/noinclude&amp;amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This code should be added at the bottom of the template code, with no extra space before &amp;quot;&amp;lt;code&amp;gt;&amp;amp;lt;noinclude&amp;amp;gt;&amp;lt;/code&amp;gt;&amp;quot; (which would cause extra space on pages where the template is used). The parameter can be used as shown above to transclude an arbitrary documentation page.&lt;br /&gt;
&lt;br /&gt;
Add categories and interwiki links to the documentation page inside includeonly tags.&lt;br /&gt;
&lt;br /&gt;
If the documentation page contains includeonly or noinclude tags as part of the documentation, replace the &amp;quot;&amp;lt;&amp;quot; with &amp;quot;&amp;amp;amp;lt;&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
An optional second parameter or named parameter &amp;lt;code&amp;gt;heading=&amp;lt;/code&amp;gt;&amp;amp;hellip; allows to change the text of the &amp;quot;documentation&amp;quot; heading. If this is set to blank, the entire heading line (including the first [edit] link) will also disappear.&lt;br /&gt;
&lt;br /&gt;
If the documentation page doesn&amp;#039;t exist, the &amp;quot;edit&amp;quot; link includes a [[mw:Manual:Creating pages with preloaded text|preload]] parameter so that clicking it will pre-fill the edit form with the basic documentation page format.&lt;br /&gt;
&lt;br /&gt;
==Purpose==&lt;br /&gt;
Transclusion of a documentation page makes it possible to protect the page of the template itself while allowing anyone to edit the template&amp;#039;s documentation and categories. Sometimes this also allows the use of &amp;lt;code&amp;gt;msgnw&amp;lt;/code&amp;gt; to show the raw content of a template.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
* {{tl|docsubst}} to substitute (instead of transclude) a /doc subpage&lt;br /&gt;
* {{special|prefixindex/Template:Documentation/|stripprefix|1|Subpages}}, not all languages on [[c:template:documentation|commons]] are already copied.&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;templatedata&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
	&amp;quot;description&amp;quot;: &amp;quot;Transclude documentation from a /doc subpage of the subject page or another page&amp;quot;,&lt;br /&gt;
	&amp;quot;params&amp;quot;: {&lt;br /&gt;
		&amp;quot;1&amp;quot;: {&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;wiki-page-name&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;Page with /doc subpage.&amp;quot;,&lt;br /&gt;
			&amp;quot;default&amp;quot;: &amp;quot;{{SUBJECTPAGENAME}}&amp;quot;&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;content&amp;quot;: {},&lt;br /&gt;
		&amp;quot;heading&amp;quot;: {},&lt;br /&gt;
		&amp;quot;link box&amp;quot;: {},&lt;br /&gt;
		&amp;quot;page&amp;quot;: {},&lt;br /&gt;
		&amp;quot;preload&amp;quot;: {}&lt;br /&gt;
	}&lt;br /&gt;
}&amp;lt;/templatedata&amp;gt;&lt;br /&gt;
&amp;lt;!-- &amp;lt;nowiki&amp;gt;		},&lt;br /&gt;
		&amp;quot;2&amp;quot;:&lt;br /&gt;
		{	&amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;,&lt;br /&gt;
			&amp;quot;aliases&amp;quot;: [&lt;br /&gt;
				&amp;quot;heading&amp;quot;&lt;br /&gt;
			],&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;Overwrite documentation heading.&amp;quot;,&lt;br /&gt;
			&amp;quot;default&amp;quot;: &amp;quot;Icon + \&amp;quot;Documentation\&amp;quot; blurb&amp;quot;&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;lang&amp;quot;:&lt;br /&gt;
		{	&amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;Overwrite MediaWiki:Lang&amp;quot;,&lt;br /&gt;
			&amp;quot;default&amp;quot;: &amp;quot;{{int:Lang}}&amp;quot;&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;content&amp;quot;:&lt;br /&gt;
		{	&amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;Bypass /doc transclusion&amp;quot;,&lt;br /&gt;
			&amp;quot;deprecated&amp;quot;: true&lt;br /&gt;
}	}	}&amp;lt;/templatedata&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt; --&amp;gt;&lt;br /&gt;
&amp;lt;includeonly&amp;gt;&lt;br /&gt;
__NOEDITSECTION__&lt;br /&gt;
{{#ifeq:{{SUBPAGENAME}}|sandbox||&lt;br /&gt;
&amp;lt;!-- Categories below this line, please; interwikis at Wikidata --&amp;gt;&lt;br /&gt;
[[Category:Template documentation| ]]&lt;br /&gt;
[[Category:Formatting templates]]&lt;br /&gt;
[[Category:Template namespace templates]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Eric</name></author>
	</entry>
</feed>