<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://fanverse.click/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://fanverse.click/index.php?action=history&amp;feed=atom&amp;title=Template%3AMlx%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://fanverse.click/index.php?title=Template:Mlx/doc&amp;action=history"/>
	<updated>2026-05-09T22:26:41Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.0</generator>
	<entry>
		<id>https://fanverse.click/index.php?title=Template:Mlx/doc&amp;diff=371&amp;oldid=prev</id>
		<title>Mob: Created page with &quot;{{Documentation subpage}} {{tsh|mlx}}{{lua|Module:Separated entries}}  {{lt|module link expanded}} (often abbreviated &lt;nowiki&gt;{{mlx}}&lt;/nowiki&gt;) is used to display a module name as a link surrounded by braces with the {{((}}#invoke{{))}} 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 t...&quot;</title>
		<link rel="alternate" type="text/html" href="https://fanverse.click/index.php?title=Template:Mlx/doc&amp;diff=371&amp;oldid=prev"/>
		<updated>2024-01-07T07:08:07Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Documentation subpage}} {{tsh|mlx}}{{lua|Module:Separated entries}}  {{lt|module link expanded}} (often abbreviated &amp;lt;nowiki&amp;gt;{{mlx}}&amp;lt;/nowiki&amp;gt;) is used to display a module name as a link surrounded by braces with the {{((}}#invoke{{))}} &lt;a href=&quot;/index.php?title=WP:PF&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;WP:PF (page does not exist)&quot;&gt;parser function&lt;/a&gt;, 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 t...&amp;quot;&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;
{{tsh|mlx}}{{lua|Module:Separated entries}}&lt;br /&gt;
&lt;br /&gt;
{{lt|module link expanded}} (often abbreviated &amp;lt;nowiki&amp;gt;{{mlx}}&amp;lt;/nowiki&amp;gt;) 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;
| {{tji|mlx|Example}}&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;
| {{tji|mlx|Example|hello}}&lt;br /&gt;
| {{mlx|Example|hello}}&lt;br /&gt;
| Usage with a function name.&lt;br /&gt;
|-&lt;br /&gt;
| {{tji|mlx|Example|count_fruits|4{{=}}bananas{{=}}5|5{{=}}apples{{=}}10}}&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;
| {{tji|mlx|Example|count_fruits|bananas&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;{{=}}&amp;lt;nowiki&amp;gt;}}5&amp;lt;/nowiki&amp;gt;|apples&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;{{=}}&amp;lt;nowiki&amp;gt;}}5&amp;lt;/nowiki&amp;gt;10}}&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|mfl}} – similar to {{tl|ml}} but creates a link to the function&amp;#039;s documentation&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>Mob</name></author>
	</entry>
</feed>