<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://skullgirlz.wiki/index.php?action=history&amp;feed=atom&amp;title=Template%3ADocumentation%2Fdoc</id>
	<title>Template:Documentation/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://skullgirlz.wiki/index.php?action=history&amp;feed=atom&amp;title=Template%3ADocumentation%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://skullgirlz.wiki/index.php?title=Template:Documentation/doc&amp;action=history"/>
	<updated>2026-07-01T02:56:55Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.17</generator>
	<entry>
		<id>https://skullgirlz.wiki/index.php?title=Template:Documentation/doc&amp;diff=17641&amp;oldid=prev</id>
		<title>JoshGroban: Created page with &quot;This template is used on template pages to contain documentation, instructions and information about how the template should be used.   Templates are a powerful tool, and allow for the display of lots of information in a consistent and manageable way. However, they can be confusing to new users and even experienced users can have difficulty making sense of the more complex ones. Templates should therefore be accompanied by documentation to improve usability, and to encou...&quot;</title>
		<link rel="alternate" type="text/html" href="https://skullgirlz.wiki/index.php?title=Template:Documentation/doc&amp;diff=17641&amp;oldid=prev"/>
		<updated>2026-01-27T19:21:20Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;This template is used on template pages to contain documentation, instructions and information about how the template should be used.   Templates are a powerful tool, and allow for the display of lots of information in a consistent and manageable way. However, they can be confusing to new users and even experienced users can have difficulty making sense of the more complex ones. Templates should therefore be accompanied by documentation to improve usability, and to encou...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This template is used on template pages to contain documentation, instructions and information about how the template should be used. &lt;br /&gt;
&lt;br /&gt;
Templates are a powerful tool, and allow for the display of lots of information in a consistent and manageable way. However, they can be confusing to new users and even experienced users can have difficulty making sense of the more complex ones. Templates should therefore be accompanied by documentation to improve usability, and to encourage others to experiment with templates and use them to their maximum potential.&lt;br /&gt;
&lt;br /&gt;
==What to include==&lt;br /&gt;
A template&amp;#039;s documentation should include a brief summary of what the template is for, and where it is intended to be used. This should be followed by a breakdown of any parameters and what values they accept. Finally, there should be at least one example of the template in use.&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
To include {{template|Documentation}} on a template page, place it at the bottom of the template page, directly after the last line of code, between &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;noinclude&amp;gt;...&amp;lt;/noinclude&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; tags:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
~last line of your template code~&amp;lt;noinclude&amp;gt;&lt;br /&gt;
{{Documentation}}&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The documentation can then be added to the /doc subpage of the template. For example, this documentation for {{template|Documentation}} is located at [[Template:Documentation/doc]].&lt;br /&gt;
&lt;br /&gt;
Optionally, should the location of the appropriate documentation be located elsewhere, it can be added to the &amp;lt;code&amp;gt;Documentation&amp;lt;/code&amp;gt; template as an optional parameter:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
~last line of your template code~&amp;lt;noinclude&amp;gt;&lt;br /&gt;
{{Documentation|Help:Color templates}}&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===TemplateStyles===&lt;br /&gt;
For templates that use TemplateStyles, link to the stylesheet by adding &amp;lt;code&amp;gt;|styles=&amp;lt;nowiki&amp;gt;[[&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;link&amp;#039;&amp;#039;]]&amp;lt;/code&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
~last line of your template code~&amp;lt;noinclude&amp;gt;&lt;br /&gt;
{{Documentation|styles=[[Template:Example/styles.css]]}}&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Lua===&lt;br /&gt;
For templates that use Lua modules, link to the module by adding &amp;lt;code&amp;gt;|lua=&amp;lt;nowiki&amp;gt;[[&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;link&amp;#039;&amp;#039;]]&amp;lt;/code&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
~last line of your template code~&amp;lt;noinclude&amp;gt;&lt;br /&gt;
{{Documentation|lua=[[Module:Example]]}}&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Archived templates===&lt;br /&gt;
For templates that are no longer used, you can add &amp;lt;code&amp;gt;|old=yes&amp;lt;/code&amp;gt; to include the {{template|OldTemplate}} template as well:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
~last line of your template code~&amp;lt;noinclude&amp;gt;&lt;br /&gt;
{{Documentation|old=yes}}&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;noinclude&amp;gt;[[Category:Documentation templates]]&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>JoshGroban</name></author>
	</entry>
</feed>