<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://www.grandtheftwiki.com/Template:Doc/doc/history?feed=atom</id>
	<title>Template:Doc/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.grandtheftwiki.com/Template:Doc/doc/history?feed=atom"/>
	<link rel="alternate" type="text/html" href="https://www.grandtheftwiki.com/Template:Doc/doc/history"/>
	<updated>2026-06-07T09:12:37Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.2</generator>
	<entry>
		<id>https://www.grandtheftwiki.com/index.php?title=Template:Doc/doc&amp;diff=188118&amp;oldid=prev</id>
		<title>Gboyers: moved Template:Documentation/doc to Template:Doc/doc</title>
		<link rel="alternate" type="text/html" href="https://www.grandtheftwiki.com/index.php?title=Template:Doc/doc&amp;diff=188118&amp;oldid=prev"/>
		<updated>2009-06-30T16:02:30Z</updated>

		<summary type="html">&lt;p&gt;moved &lt;a href=&quot;/Template:Documentation/doc&quot; class=&quot;mw-redirect&quot; title=&quot;Template:Documentation/doc&quot;&gt;Template:Documentation/doc&lt;/a&gt; to &lt;a href=&quot;/Template:Doc/doc&quot; title=&quot;Template:Doc/doc&quot;&gt;Template:Doc/doc&lt;/a&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en-GB&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 16:02, 30 June 2009&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en-GB&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Gboyers</name></author>
	</entry>
	<entry>
		<id>https://www.grandtheftwiki.com/index.php?title=Template:Doc/doc&amp;diff=188117&amp;oldid=prev</id>
		<title>Gboyers: Created page with &#039;This template automatically displays a documentation box like you are seeing now, of which the content is transcluded from another page. It is intended for pages which are [[Wiki...&#039;</title>
		<link rel="alternate" type="text/html" href="https://www.grandtheftwiki.com/index.php?title=Template:Doc/doc&amp;diff=188117&amp;oldid=prev"/>
		<updated>2009-06-14T22:36:19Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;#039;This template automatically displays a documentation box like you are seeing now, of which the content is transcluded from another page. It is intended for pages which are [[Wiki...&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This template automatically displays a documentation box like you are seeing now, of which the content is transcluded from another page. It is intended for pages which are [[Wikipedia: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;
&lt;br /&gt;
=== Normal /doc ===&lt;br /&gt;
 &amp;amp;lt;noinclude&amp;amp;gt;&amp;amp;#123;&amp;amp;#123;{{{template-name|Documentation}}}&amp;amp;#125;&amp;amp;#125;&amp;amp;lt;/noinclude&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Any /doc page ===&lt;br /&gt;
 &amp;amp;lt;noinclude&amp;amp;gt;&amp;amp;#123;&amp;amp;#123;{{{template-name|Documentation}}}|Template:any page/doc&amp;amp;#125;&amp;amp;#125;&amp;amp;lt;/noinclude&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== In-line content ===&lt;br /&gt;
 &amp;amp;lt;noinclude&amp;amp;gt;&amp;amp;#123;&amp;amp;#123;{{{template-name|Documentation}}}|content=This is documentation.&amp;amp;#125;&amp;amp;#125;&amp;amp;lt;/noinclude&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== In-line content with [view][edit] links ===&lt;br /&gt;
&lt;br /&gt;
 &amp;amp;lt;noinclude&amp;amp;gt;&amp;amp;#123;&amp;amp;#123;{{{template-name|Documentation}}}&lt;br /&gt;
 |1 = Template:any page/doc&lt;br /&gt;
 |content =&amp;amp;#123;&amp;amp;#123;Template:any page/doc|parameters}}&lt;br /&gt;
 }}&amp;amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Best practice ===&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;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;
Categories and interwiki links that apply to the template itself should be added to the documentation page, inside &amp;lt;code&amp;gt;&amp;amp;lt;includeonly&amp;gt; &amp;amp;lt;/includeonly&amp;gt;&amp;lt;/code&amp;gt; tags.  For more complex cases, see [[Wikipedia:Template documentation#Categories and interwiki links]].&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;
=== Customizing display ===&lt;br /&gt;
&lt;br /&gt;
Overrides exist to customize the output in special cases:&lt;br /&gt;
* &amp;lt;code&amp;gt;{&amp;amp;#123;documentation| &amp;#039;&amp;#039;&amp;#039;heading&amp;#039;&amp;#039;&amp;#039; = ...}}&amp;lt;/code&amp;gt; − 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;
== Functions ==&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;
== Rationale ==&lt;br /&gt;
&lt;br /&gt;
Use of this template allows templates to be [[Wikipedia:Protection policy|protected]] where necessary, while allowing anyone to edit the documentation, categories, and interwiki links.&lt;/div&gt;</summary>
		<author><name>Gboyers</name></author>
	</entry>
</feed>