<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.rosssurnameproject.net/wiki/index.php?action=history&amp;feed=atom&amp;title=Module%3ASeparated_entries%2Fdoc</id>
	<title>Module:Separated entries/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.rosssurnameproject.net/wiki/index.php?action=history&amp;feed=atom&amp;title=Module%3ASeparated_entries%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://www.rosssurnameproject.net/wiki/index.php?title=Module:Separated_entries/doc&amp;action=history"/>
	<updated>2026-10-20T04:50:15Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.3</generator>
	<entry>
		<id>https://www.rosssurnameproject.net/wiki/index.php?title=Module:Separated_entries/doc&amp;diff=4402&amp;oldid=prev</id>
		<title>Redheadkelly: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://www.rosssurnameproject.net/wiki/index.php?title=Module:Separated_entries/doc&amp;diff=4402&amp;oldid=prev"/>
		<updated>2025-03-24T22:18:56Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Module other|{{Module rating|p}}{{used in system}}{{Lua|Module:Arguments|Module:TableTools}}|{{high-use}}{{Lua|Module:Separated entries}}}}&lt;br /&gt;
&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]] and {{tl|Separate entries}} serve 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;. They take [[Variadic function|any number]] of positional parameters and [[Concatenation|piece 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>Redheadkelly</name></author>
	</entry>
</feed>