<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://theportalwiki.com/w/index.php?action=history&amp;feed=atom&amp;title=Template%3ADoc</id>
	<title>Template:Doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://theportalwiki.com/w/index.php?action=history&amp;feed=atom&amp;title=Template%3ADoc"/>
	<link rel="alternate" type="text/html" href="https://theportalwiki.com/w/index.php?title=Template:Doc&amp;action=history"/>
	<updated>2026-04-21T03:38:36Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.0</generator>
	<entry>
		<id>https://theportalwiki.com/w/index.php?title=Template:Doc&amp;diff=60528&amp;oldid=prev</id>
		<title>Arrran Weeviling: Created page with &quot;{{doc/start}} To use, create a sub-page from the template called &#039;&#039;&#039;doc&#039;&#039;&#039;, put {{tl|doc/start}} at the start of your documentation, and {{tl|doc/end}} at the end.  Go back to...&quot;</title>
		<link rel="alternate" type="text/html" href="https://theportalwiki.com/w/index.php?title=Template:Doc&amp;diff=60528&amp;oldid=prev"/>
		<updated>2012-09-09T08:16:25Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{doc/start}} To use, create a sub-page from the template called &amp;#039;&amp;#039;&amp;#039;doc&amp;#039;&amp;#039;&amp;#039;, put {{tl|doc/start}} at the start of your documentation, and {{tl|doc/end}} at the end.  Go back to...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{doc/start}}&lt;br /&gt;
To use, create a sub-page from the template called &amp;#039;&amp;#039;&amp;#039;doc&amp;#039;&amp;#039;&amp;#039;, put {{tl|doc/start}} at the start of your documentation, and {{tl|doc/end}} at the end.&lt;br /&gt;
&lt;br /&gt;
Go back to your main template page and put &amp;amp;lt;noinclude&amp;amp;gt;{{tl|/doc}}&amp;amp;lt;/noinclude&amp;amp;gt; on a newline after the end of the template. /doc pages will automatically be added to [[:Category:Documentation templates]].&lt;br /&gt;
&lt;br /&gt;
== Optional parameters ==&lt;br /&gt;
=== clear ===&lt;br /&gt;
If your main template page has floating content and you would like to stop it going over the documentation, put {{tl|doc/start|clear}} instead of {{tl|doc/start}} on your documentation page.&amp;lt;br /&amp;gt;&lt;br /&gt;
This is also useful for templates not using &amp;amp;lt;includeonly&amp;amp;gt;, as it will put some space between the template and the documentation box.&lt;br /&gt;
&lt;br /&gt;
=== nodoc=1 ===&lt;br /&gt;
If a template has no documentation and you don&amp;#039;t know how to use it, put {{tl|doc/start|nodoc{{=}}1}} (or if the template needs clear as well, {{tl|doc/start|clear|nodoc{{=}}1}}) instead of {{tl|doc/start}} on your documentation page.&amp;lt;br /&amp;gt;&lt;br /&gt;
The documentation&amp;#039;s background will become red to make it more noticeable, and the page will be added to [[:Category:Templates with no documentation]].&lt;br /&gt;
&lt;br /&gt;
=== baddoc=1 ===&lt;br /&gt;
Similar to nodoc, this is used to mark templates that &amp;#039;&amp;#039;&amp;#039;do&amp;#039;&amp;#039;&amp;#039; have documentation, but it isn&amp;#039;t very good. This can mean it doesn&amp;#039;t have enough examples, doesn&amp;#039;t explain all the functions properly, or doesn&amp;#039;t explain the point of the template properly.&amp;lt;br /&amp;gt;&lt;br /&gt;
The documentation&amp;#039;s background will become yellow to make it more noticeable, and the page will be added to [[:Category:Templates with bad documentation]].&lt;br /&gt;
&lt;br /&gt;
If both nodoc and baddoc are specified, baddoc will be ignored.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation templates|*]]&amp;lt;noinclude&amp;gt;&lt;br /&gt;
[[es:Plantilla:Doc]]&lt;br /&gt;
[[fr:Modèle:Doc]]&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Arrran Weeviling</name></author>
	</entry>
</feed>