<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://moasspedia.org/w/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://moasspedia.org/w/index.php?action=history&amp;feed=atom&amp;title=Template%3AMlx%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://moasspedia.org/w/index.php?title=Template:Mlx/doc&amp;action=history"/>
	<updated>2026-04-08T04:08:22Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.37.2</generator>
	<entry>
		<id>https://moasspedia.org/w/index.php?title=Template:Mlx/doc&amp;diff=23947&amp;oldid=prev</id>
		<title>Wikipedia&gt;Vanisaac: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other</title>
		<link rel="alternate" type="text/html" href="https://moasspedia.org/w/index.php?title=Template:Mlx/doc&amp;diff=23947&amp;oldid=prev"/>
		<updated>2020-04-26T01:28:41Z</updated>

		<summary type="html">&lt;p&gt;clean up per &lt;a href=&quot;/w/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;/w/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>Wikipedia&gt;Vanisaac</name></author>
	</entry>
</feed>