<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="hu">
	<id>https://wiki.trashforum.org/index.php?action=history&amp;feed=atom&amp;title=Modul%3ASeparated_entries%2Fdoc</id>
	<title>Modul:Separated entries/doc - Laptörténet</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.trashforum.org/index.php?action=history&amp;feed=atom&amp;title=Modul%3ASeparated_entries%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://wiki.trashforum.org/index.php?title=Modul:Separated_entries/doc&amp;action=history"/>
	<updated>2026-05-07T00:13:52Z</updated>
	<subtitle>Az oldal laptörténete a wikiben</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>https://wiki.trashforum.org/index.php?title=Modul:Separated_entries/doc&amp;diff=961&amp;oldid=prev</id>
		<title>BarathéGábor: Új oldal, tartalma: „{{Module other|{{Module rating|p}}}} {{High-use|approximately 2050000}} {{Lua|Module:Arguments|Module:TableTools|Module:Separated entries}} &lt;!-- Please, place template categories where indicated at the bottom of this page. --&gt; == Usage == Module:Separated entries serves as a template front-end to &lt;code&gt;mw.text.listToText&lt;/code&gt;. It takes any number of positional parameters…”</title>
		<link rel="alternate" type="text/html" href="https://wiki.trashforum.org/index.php?title=Modul:Separated_entries/doc&amp;diff=961&amp;oldid=prev"/>
		<updated>2025-01-21T04:34:08Z</updated>

		<summary type="html">&lt;p&gt;Új oldal, tartalma: „{{Module other|{{Module rating|p}}}} {{High-use|approximately 2050000}} {{Lua|Module:Arguments|Module:TableTools|Module:Separated entries}} &amp;lt;!-- Please, place template categories where indicated at the bottom of this page. --&amp;gt; == Usage == &lt;a href=&quot;/Modul:Separated_entries&quot; title=&quot;Modul:Separated entries&quot;&gt;Module:Separated entries&lt;/a&gt; serves as a template front-end to &amp;lt;code&amp;gt;&lt;a href=&quot;https://www.mediawiki.org/wiki/Extension:Scribunto/Lua_reference_manual#mw.text.listToText&quot; class=&quot;extiw&quot; title=&quot;mw:Extension:Scribunto/Lua reference manual&quot;&gt;mw.text.listToText&lt;/a&gt;&amp;lt;/code&amp;gt;. It takes &lt;a href=&quot;/index.php?title=Variadic_function&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Variadic function (a lap nem létezik)&quot;&gt;any number&lt;/a&gt; of positional parameters…”&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Új lap&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Module other|{{Module rating|p}}}}&lt;br /&gt;
{{High-use|approximately 2050000}}&lt;br /&gt;
{{Lua|Module:Arguments|Module:TableTools|Module:Separated entries}}&lt;br /&gt;
&amp;lt;!-- Please, place template categories where indicated at the bottom of this page. --&amp;gt;&lt;br /&gt;
== Usage ==&lt;br /&gt;
[[Module:Separated entries]] serves as a template front-end to &amp;lt;code&amp;gt;[[mw:Extension:Scribunto/Lua reference manual#mw.text.listToText|mw.text.listToText]]&amp;lt;/code&amp;gt;. It takes [[Variadic function|any number]] of positional parameters and [[Concatenation|pieces them together]] with {{Para|separator}}. {{Para|conjunction}} can be optionally defined if a different separator is desired between the last and second last items. The starting positional parameter can be specified using {{Para|start}}. Leading and trailing whitespace is stripped. To add deliberate leading and trailing whitespace, use the HTML entity &amp;lt;code&amp;gt;&amp;amp;amp;#32;&amp;lt;/code&amp;gt; for a space and &amp;lt;code&amp;gt;&amp;amp;amp;#10;&amp;lt;/code&amp;gt; for a &amp;quot;newline&amp;quot;. Separated entries does not raise any errors by design.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot;&amp;gt;{{#invoke:separated entries|main|separator=...}}&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For more complex cases – such as selecting the parameters to list, or preprocessing them, or omitting the last parameters – {{mfl|params|list_values}} is available. The following two examples with “ + ” as delimiter and “ ... ” as conjunction produce a similar result:&lt;br /&gt;
&lt;br /&gt;
# &amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot; inline&amp;gt;{{#invoke:separated entries|main|separator=&amp;amp;#32;+&amp;amp;#32;|conjunction=&amp;amp;#32;...&amp;amp;#32;}}&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
# &amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot; inline&amp;gt;{{#invoke:params|sequential|squeezing|trimming_values|setting|i/l| + | ... |list_values}}&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* {{Template link|Enum}}&lt;br /&gt;
* {{Template link|Br separated entries}}&lt;br /&gt;
* {{mfl|params|list_values}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{Sandbox other||&lt;br /&gt;
&amp;lt;!-- Template categories below this line, please. --&amp;gt;&lt;br /&gt;
[[Category:Template metamodules]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>BarathéGábor</name></author>
	</entry>
</feed>