<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.anneartist.uk/index.php?action=history&amp;feed=atom&amp;title=Template%3ADoc%2Fdoc</id>
	<title>Template:Doc/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.anneartist.uk/index.php?action=history&amp;feed=atom&amp;title=Template%3ADoc%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://wiki.anneartist.uk/index.php?title=Template:Doc/doc&amp;action=history"/>
	<updated>2026-04-19T17:50:04Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.42.3</generator>
	<entry>
		<id>https://wiki.anneartist.uk/index.php?title=Template:Doc/doc&amp;diff=58&amp;oldid=prev</id>
		<title>Mollie: 1 revision imported: All the templates from Cuntel Wiki</title>
		<link rel="alternate" type="text/html" href="https://wiki.anneartist.uk/index.php?title=Template:Doc/doc&amp;diff=58&amp;oldid=prev"/>
		<updated>2019-01-23T04:55:20Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported: All the templates from Cuntel Wiki&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;includeonly&amp;gt;{{Doc}}&amp;lt;/includeonly&amp;gt;&lt;br /&gt;
{{Alert|text=&amp;#039;&amp;#039;&amp;#039;This template is not designed for transclusion into pages.&amp;#039;&amp;#039;&amp;#039;}}&lt;br /&gt;
&lt;br /&gt;
This template is specifically designed to be used on other templates.&lt;br /&gt;
&lt;br /&gt;
==What it does==&lt;br /&gt;
Every sufficiently complex template will require documentation.  The custom is to place this on a subpage called &amp;quot;doc&amp;quot;, eg the documentation for Template:Foo is at Template:Foo/doc.&lt;br /&gt;
&lt;br /&gt;
By clever use of the &amp;amp;lt;noinclude&amp;amp;gt; and &amp;amp;lt;includeonly&amp;amp;gt; tags, the &amp;#039;&amp;#039;documentation&amp;#039;&amp;#039; is made to appear when the &amp;#039;&amp;#039;template page&amp;#039;&amp;#039; is viewed.  This is convenient when trying to find out how a template works, but confusing and inconvenient when trying to edit the template documentation, since the &amp;quot;Edit&amp;quot; lynkke at the top of the page will, of course, edit the &amp;#039;&amp;#039;template page&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
This template will show two edit lynkkes;  one for the &amp;#039;&amp;#039;template page&amp;#039;&amp;#039; and one for the &amp;#039;&amp;#039;documentation&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
At the &amp;#039;&amp;#039;&amp;#039;top&amp;#039;&amp;#039;&amp;#039; of every &amp;#039;&amp;#039;&amp;#039;template documentation&amp;#039;&amp;#039;&amp;#039; page, include the line:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&amp;lt;includeonly&amp;gt;{{Doc}}&amp;lt;/includeonly&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On the &amp;#039;&amp;#039;&amp;#039;template page&amp;#039;&amp;#039;&amp;#039; for Template:Foo, rather than writing:&lt;br /&gt;
 &amp;#039;&amp;#039;content&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Instead write:&lt;br /&gt;
 &amp;amp;lt;includeonly&amp;amp;gt;&amp;#039;&amp;#039;content&amp;#039;&amp;#039;&amp;amp;lt;/includeonly&amp;amp;gt;&amp;amp;lt;noinclude&amp;amp;gt;&amp;lt;nowiki&amp;gt;{{Foo/doc}}&amp;lt;/nowiki&amp;gt;&amp;amp;lt;/noinclude&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;noinclude&amp;gt;&lt;br /&gt;
[[Category:Documentation templates]]&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mollie</name></author>
	</entry>
</feed>