<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://theblockheads.wiki/index.php?action=history&amp;feed=atom&amp;title=Module%3AStatic%2Fdoc</id>
	<title>Module:Static/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://theblockheads.wiki/index.php?action=history&amp;feed=atom&amp;title=Module%3AStatic%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://theblockheads.wiki/index.php?title=Module:Static/doc&amp;action=history"/>
	<updated>2026-04-13T01:33:17Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.0</generator>
	<entry>
		<id>https://theblockheads.wiki/index.php?title=Module:Static/doc&amp;diff=25041&amp;oldid=prev</id>
		<title>FloofyPlasma: Created page with &quot;{{documentation header}} &lt;!-- Documentation here --&gt; {{lua}} {{shortcut|doc}}  For templates, insert &lt;code&gt;&lt;nowiki&gt;{{subst:docc}}&lt;/nowiki&gt;&lt;/code&gt; at the end of the template, then save the page; this will place &lt;code&gt;{&lt;nowiki/&gt;{documentation}}&lt;/code&gt; and a comment advising editors where to place categories and interwiki links. For other types of pages, the documentation template should already be there.  Click &quot;create&quot; at the top of the page and the documentation page wil...&quot;</title>
		<link rel="alternate" type="text/html" href="https://theblockheads.wiki/index.php?title=Module:Static/doc&amp;diff=25041&amp;oldid=prev"/>
		<updated>2024-08-06T19:53:19Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{documentation header}} &amp;lt;!-- Documentation here --&amp;gt; {{lua}} {{shortcut|doc}}  For templates, insert &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{subst:docc}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; at the end of the template, then save the page; this will place &amp;lt;code&amp;gt;{&amp;lt;nowiki/&amp;gt;{documentation}}&amp;lt;/code&amp;gt; and a comment advising editors where to place categories and interwiki links. For other types of pages, the documentation template should already be there.  Click &amp;quot;create&amp;quot; at the top of the page and the documentation page wil...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{documentation header}}&lt;br /&gt;
&amp;lt;!-- Documentation here --&amp;gt;&lt;br /&gt;
{{lua}}&lt;br /&gt;
{{shortcut|doc}}&lt;br /&gt;
&lt;br /&gt;
For templates, insert &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{subst:docc}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; at the end of the template, then save the page; this will place &amp;lt;code&amp;gt;{&amp;lt;nowiki/&amp;gt;{documentation}}&amp;lt;/code&amp;gt; and a comment advising editors where to place categories and interwiki links. For other types of pages, the documentation template should already be there.&lt;br /&gt;
&lt;br /&gt;
Click &amp;quot;create&amp;quot; at the top of the page and the documentation page will be opened with some [[Template:Documentation/preload|pre-formatting]].&lt;br /&gt;
&lt;br /&gt;
Documentation pages will automatically be added to [[:Category:Documentation pages]].&lt;br /&gt;
&lt;br /&gt;
== Optional parameters ==&lt;br /&gt;
This parameters can either be added to the &amp;lt;code&amp;gt;{&amp;lt;nowiki/&amp;gt;{subst:docc}}&amp;lt;/code&amp;gt; template when creating the page, or added to the &amp;lt;code&amp;gt;{&amp;lt;nowiki/&amp;gt;{documentation}}&amp;lt;/code&amp;gt; template afterwards.&lt;br /&gt;
&lt;br /&gt;
=== type ===&lt;br /&gt;
Sets the &amp;quot;type&amp;quot; of documentation this is, e.g. template, module, message, etc. This will be used as part of some messages the template might display, as well as categorisation.&lt;br /&gt;
&lt;br /&gt;
The type is automatic based on the namespace, so it shouldn&amp;#039;t generally need to be set.&lt;br /&gt;
&lt;br /&gt;
=== page ===&lt;br /&gt;
The page where the documentation should be. This defaults to a subpage of the current page called &amp;quot;doc&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
=== content ===&lt;br /&gt;
Allows documentation content to be specified directly, rather than on a separate sub-page. Useful for small page-specific sub-page templates, e.g. [[Explosion/table]].&lt;br /&gt;
&lt;br /&gt;
=== nodoc ===&lt;br /&gt;
If a template has no documentation and you don&amp;#039;t know how to use it, add nodoc=1 to the documentation template on the documentation page. The documentation&amp;#039;s background will become red to make it more noticeable, and the page will be added to a category depending on the type of page.&lt;br /&gt;
* [[:Category:Templates with no documentation]]&lt;br /&gt;
* [[:Category:Modules with no documentation]]&lt;br /&gt;
&lt;br /&gt;
This is automatically set if the documentation page doesn&amp;#039;t exist or is empty, so this generally isn&amp;#039;t necessary to set.&lt;br /&gt;
&lt;br /&gt;
=== baddoc ===&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. The documentation&amp;#039;s background will become yellow to make it more noticeable, and the page will be added to a category depending on the type of page.&lt;br /&gt;
* [[:Category:Templates with bad documentation]]&lt;br /&gt;
* [[:Category:Modules with bad documentation]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;&lt;br /&gt;
&amp;lt;!-- Template categories/interwikis here --&amp;gt;&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
This template doc should use a table, since that would make it easier to read.&lt;br /&gt;
&lt;br /&gt;
Don&amp;#039;t worry though, I will fix it. --&amp;lt;b style=&amp;quot;color:#00e; background: #fba; border-radius: 0.2em; box-shadow: 0 0 0 0.2em #fb6&amp;quot;&amp;gt;Simanelix&amp;lt;/b&amp;gt; &amp;lt;sup&amp;gt;([[User_talk:Simanelix|T]]|[[Special:Contributions/Simanelix|C]])&amp;lt;/sup&amp;gt; 23:50, 8 March 2024 (UTC)&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
[[Category:Documentation templates|*]]&lt;/div&gt;</summary>
		<author><name>FloofyPlasma</name></author>
	</entry>
</feed>