<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.thegoonshow.co.uk/wiki/index.php?action=history&amp;feed=atom&amp;title=Template%3AMlx%2Fdoc</id>
	<title>Template:Mlx/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.thegoonshow.co.uk/wiki/index.php?action=history&amp;feed=atom&amp;title=Template%3AMlx%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://www.thegoonshow.co.uk/wiki/index.php?title=Template:Mlx/doc&amp;action=history"/>
	<updated>2026-05-14T04:47:51Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.38.2</generator>
	<entry>
		<id>https://www.thegoonshow.co.uk/wiki/index.php?title=Template:Mlx/doc&amp;diff=9125&amp;oldid=prev</id>
		<title>Kurt: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://www.thegoonshow.co.uk/wiki/index.php?title=Template:Mlx/doc&amp;diff=9125&amp;oldid=prev"/>
		<updated>2022-07-27T00:27:13Z</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;tr class=&quot;diff-title&quot; lang=&quot;en&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 19:27, 26 July 2022&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&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;/table&gt;</summary>
		<author><name>Kurt</name></author>
	</entry>
	<entry>
		<id>https://www.thegoonshow.co.uk/wiki/index.php?title=Template:Mlx/doc&amp;diff=9124&amp;oldid=prev</id>
		<title>en&gt;Vanisaac: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other</title>
		<link rel="alternate" type="text/html" href="https://www.thegoonshow.co.uk/wiki/index.php?title=Template:Mlx/doc&amp;diff=9124&amp;oldid=prev"/>
		<updated>2020-04-26T01:28:41Z</updated>

		<summary type="html">&lt;p&gt;clean up per &lt;a href=&quot;/wiki/index.php?title=WP:CAT&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;WP:CAT (page does not exist)&quot;&gt;WP:CAT#T&lt;/a&gt; and &lt;a href=&quot;/wiki/index.php?title=WP:AWBREQ&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;WP:AWBREQ (page does not exist)&quot;&gt;WP:AWBREQ&lt;/a&gt; add template:Sandbox other&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Documentation subpage}}&lt;br /&gt;
{{lua|Module:Separated entries}}&lt;br /&gt;
&lt;br /&gt;
{{lt|mlx}} is used to display a module name as a link surrounded by braces with the {{((}}#invoke{{))}} [[WP:PF|parser function]], thus showing the module name as code rather than actually invoking it. Its primary use is in instruction and documentation where it is used to refer to a module by name without invoking it. It is also supports the definition of a function and parameters.&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Code&lt;br /&gt;
! Result&lt;br /&gt;
! Notes&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{mlx|Example}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
| {{mlx|Example}}&lt;br /&gt;
| Usage without function name. This does not produce a usable invocation.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{mlx|Example|hello}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
| {{mlx|Example|hello}}&lt;br /&gt;
| Usage with a function name.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{mlx|Example|count_fruits|4=bananas=5|5=apples=10}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
| {{mlx|Example|count_fruits|4=bananas=5|5=apples=10}}&lt;br /&gt;
| Usage with a function name and parameters.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{mlx|Example|count_fruits|bananas{{=}}5|apples{{=}}10}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
| {{mlx|Example|count_fruits|bananas{{=}}5|apples{{=}}10}}&lt;br /&gt;
| Usage with a function name and parameters, using {{((}}={{))}}.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== TemplateData ==&lt;br /&gt;
{{TemplateData header}}&lt;br /&gt;
&amp;lt;templatedata&amp;gt;{&lt;br /&gt;
&amp;quot;description&amp;quot;: &amp;quot;This template displays a module name as a link surrounded by braces with the {{#invoke}} parser function, thus showing how the module name would be used in code. Its primary use is in instruction and documentation.&amp;quot;,&lt;br /&gt;
&amp;quot;params&amp;quot;: {&lt;br /&gt;
  &amp;quot;1&amp;quot;: {&lt;br /&gt;
    &amp;quot;label&amp;quot;: &amp;quot;module name&amp;quot;,&lt;br /&gt;
    &amp;quot;description&amp;quot;: &amp;quot;the module name without the namespace prefix “Module:”, which is added automatically&amp;quot;,&lt;br /&gt;
    &amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;,&lt;br /&gt;
    &amp;quot;required&amp;quot;: true&lt;br /&gt;
  },&lt;br /&gt;
  &amp;quot;2&amp;quot;: {&lt;br /&gt;
    &amp;quot;label&amp;quot;: &amp;quot;function name&amp;quot;,&lt;br /&gt;
    &amp;quot;description&amp;quot;: &amp;quot;the function name within the module to call&amp;quot;,&lt;br /&gt;
    &amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;,&lt;br /&gt;
    &amp;quot;required&amp;quot;: true&lt;br /&gt;
  },&lt;br /&gt;
  &amp;quot;3&amp;quot;: {&lt;br /&gt;
    &amp;quot;label&amp;quot;: &amp;quot;parameter 1&amp;quot;,&lt;br /&gt;
    &amp;quot;description&amp;quot;: &amp;quot;the name (and value) of the first parameter, use {{=}} to add an equal sign&amp;quot;,&lt;br /&gt;
    &amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;&lt;br /&gt;
  },&lt;br /&gt;
  &amp;quot;4&amp;quot;: {&lt;br /&gt;
    &amp;quot;label&amp;quot;: &amp;quot;parameter 2&amp;quot;,&lt;br /&gt;
    &amp;quot;description&amp;quot;: &amp;quot;the name (and value) of the second parameter, use {{=}} to add an equal sign&amp;quot;,&lt;br /&gt;
    &amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;&lt;br /&gt;
  },&lt;br /&gt;
  &amp;quot;5&amp;quot;: {&lt;br /&gt;
    &amp;quot;label&amp;quot;: &amp;quot;parameter 3&amp;quot;,&lt;br /&gt;
    &amp;quot;description&amp;quot;: &amp;quot;the name (and value) of the third parameter, use {{=}} to add an equal sign&amp;quot;,&lt;br /&gt;
    &amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;&lt;br /&gt;
  }&lt;br /&gt;
}}&amp;lt;/templatedata&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* {{tl|ml}} - Similar function but not surrounded in {{tag|code}} tags.&lt;br /&gt;
* {{tl|tlx}} - A version of this template for templates instead of modules.&lt;br /&gt;
&lt;br /&gt;
{{Template:Template-linking templates}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{Sandbox other||&lt;br /&gt;
[[Category:Internal module-link templates]]&lt;br /&gt;
&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>en&gt;Vanisaac</name></author>
	</entry>
</feed>