<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.ely.fyi/index.php?action=history&amp;feed=atom&amp;title=Module%3ADocumentation%2Fdoc</id>
	<title>Module:Documentation/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.ely.fyi/index.php?action=history&amp;feed=atom&amp;title=Module%3ADocumentation%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://wiki.ely.fyi/index.php?title=Module:Documentation/doc&amp;action=history"/>
	<updated>2026-09-07T03:26:08Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://wiki.ely.fyi/index.php?title=Module:Documentation/doc&amp;diff=1456&amp;oldid=prev</id>
		<title>Reki: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://wiki.ely.fyi/index.php?title=Module:Documentation/doc&amp;diff=1456&amp;oldid=prev"/>
		<updated>2026-08-17T23:15:20Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 23:15, 17 August 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;4&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff cache key my_wiki:diff:1.41:old-1455:rev-1456 --&gt;
&lt;/table&gt;</summary>
		<author><name>Reki</name></author>
	</entry>
	<entry>
		<id>https://wiki.ely.fyi/index.php?title=Module:Documentation/doc&amp;diff=1455&amp;oldid=prev</id>
		<title>Wikipedia&gt;Andrybak: page Module:Documentation/doc is not used in system messages — Undid revision 1366340973 by 2600 etc (talk)</title>
		<link rel="alternate" type="text/html" href="https://wiki.ely.fyi/index.php?title=Module:Documentation/doc&amp;diff=1455&amp;oldid=prev"/>
		<updated>2026-07-27T15:36:22Z</updated>

		<summary type="html">&lt;p&gt;page &lt;a href=&quot;/page/Module:Documentation/doc&quot; title=&quot;Module:Documentation/doc&quot;&gt;Module:Documentation/doc&lt;/a&gt; is not used in system messages — Undid revision &lt;a href=&quot;/page/Special:Diff/1366340973&quot; title=&quot;Special:Diff/1366340973&quot;&gt;1366340973&lt;/a&gt; by &lt;a href=&quot;/page/Special:Contributions/2600_etc&quot; title=&quot;Special:Contributions/2600 etc&quot;&gt;2600 etc&lt;/a&gt; (&lt;a href=&quot;/index.php?title=User_talk:2600_etc&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;User talk:2600 etc (page does not exist)&quot;&gt;talk&lt;/a&gt;)&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Used in system|in [[MediaWiki:Scribunto-doc-page-show]], in [[MediaWiki:Scribunto-doc-page-does-not-exist]]}}&lt;br /&gt;
{{Module rating|protected}}&lt;br /&gt;
{{Lua|Module:Documentation/config|Module:Arguments|Module:Message box|Module:Module wikitext|Module:Protection banner}}&lt;br /&gt;
{{Uses TemplateStyles|Module:Documentation/styles.css}}&lt;br /&gt;
{{Infobox Lua&lt;br /&gt;
| title = Documentation&lt;br /&gt;
| description = Displays a green box containing documentation for [[Help:Template|templates]], [[Wikipedia:Lua|Lua modules]], or other pages.&lt;br /&gt;
| status = stable&lt;br /&gt;
| dependencies =&lt;br /&gt;
* [[Module:Documentation/config]]&lt;br /&gt;
* [[Module:Arguments]]&lt;br /&gt;
* [[Module:Message box]]&lt;br /&gt;
* [[Module:Module wikitext]]&lt;br /&gt;
* [[Module:Protection banner]]&lt;br /&gt;
}}&lt;br /&gt;
This module displays a green box containing documentation for [[Help:Template|templates]], [[Wikipedia:Lua|Lua modules]], or other pages. The {{tl|documentation}} template invokes it.&lt;br /&gt;
&lt;br /&gt;
== Normal usage ==&lt;br /&gt;
&lt;br /&gt;
For most uses, you should use the {{tl|documentation}} template; please see that template&amp;#039;s page for its usage instructions and parameters.&lt;br /&gt;
&lt;br /&gt;
== Use in other modules ==&lt;br /&gt;
&lt;br /&gt;
To use this module from another Lua module, first load it with &amp;lt;code&amp;gt;require&amp;lt;/code&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
local documentation = require(&amp;#039;Module:Documentation&amp;#039;).main&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then you can simply call it using a table of arguments.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
documentation{content = &amp;#039;Some documentation&amp;#039;, [&amp;#039;link box&amp;#039;] = &amp;#039;My custom link box&amp;#039;}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Please refer to the [[Template:Documentation/doc|template documentation]] for usage instructions and a list of parameters.&lt;br /&gt;
&lt;br /&gt;
== Porting to other wikis ==&lt;br /&gt;
&lt;br /&gt;
The module has a configuration file at [[Module:Documentation/config]] which is intended to allow easy translation and porting to other wikis. Please see the code comments in the config page for instructions. Also, links to Wikipedia within config strings, i.e. &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;[[Wikipedia:Template documentation|documentation]]&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; will point to non-existent Wikipedia pages if config is on another wiki. Either modify, remove it, or add the interwiki prefix like so: &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;[[w:Wikipedia:Template documentation|documentation]]&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
If you have any questions, or you need a feature which is not currently implemented, please leave a message at &amp;lt;span class=&amp;quot;plainlinks&amp;quot;&amp;gt;[https://en.wikipedia.org/wiki/Template_talk:Documentation Template talk:Documentation]&amp;lt;/span&amp;gt;&amp;lt;!-- this link uses external link syntax because it is intended to direct users from third-party wikis to the Wikipedia template talk page; in this situation, an internal link would unhelpfully just point to their local template talk page, and the existence of any given interwiki prefix cannot be assumed --&amp;gt; to get the attention of a developer.&lt;br /&gt;
&lt;br /&gt;
The messages that need to be customized to display a documentation template/module at the top of module pages are [[MediaWiki:Scribunto-doc-page-show]] and [[MediaWiki:Scribunto-doc-page-does-not-exist]].&amp;lt;noinclude&amp;gt;&lt;br /&gt;
[[Category:Module documentation pages]]&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Wikipedia&gt;Andrybak</name></author>
	</entry>
</feed>