<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://compusofia.com/w/index.php?action=history&amp;feed=atom&amp;title=Template%3AListToText%2Fdoc</id>
	<title>Template:ListToText/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://compusofia.com/w/index.php?action=history&amp;feed=atom&amp;title=Template%3AListToText%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://compusofia.com/w/index.php?title=Template:ListToText/doc&amp;action=history"/>
	<updated>2026-04-19T04:54:50Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://compusofia.com/w/index.php?title=Template:ListToText/doc&amp;diff=2777&amp;oldid=prev</id>
		<title>Majestix: 1 revision imported: Initial Setup</title>
		<link rel="alternate" type="text/html" href="https://compusofia.com/w/index.php?title=Template:ListToText/doc&amp;diff=2777&amp;oldid=prev"/>
		<updated>2026-04-12T07:51:36Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported: Initial Setup&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 09:51, 12 April 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;4&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;!-- diff cache key wikiNonStop:diff:1.41:old-2776:rev-2777 --&gt;
&lt;/table&gt;</summary>
		<author><name>Majestix</name></author>
	</entry>
	<entry>
		<id>https://compusofia.com/w/index.php?title=Template:ListToText/doc&amp;diff=2776&amp;oldid=prev</id>
		<title>en&gt;HyperNervie at 15:55, 24 November 2025</title>
		<link rel="alternate" type="text/html" href="https://compusofia.com/w/index.php?title=Template:ListToText/doc&amp;diff=2776&amp;oldid=prev"/>
		<updated>2025-11-24T15:55:31Z</updated>

		<summary type="html">&lt;p&gt;&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:ListToText}}&lt;br /&gt;
{{Template shortcut|ltt}}&lt;br /&gt;
&amp;lt;!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata --&amp;gt;&lt;br /&gt;
== Usage ==&lt;br /&gt;
&lt;br /&gt;
This template concatenates a sequence of items with separators in page language. When there are at least two items, the last two items are instead joined with a conjunction word in page language.&lt;br /&gt;
&lt;br /&gt;
This is useful in translateable pages: if the items are not to be translated, rather than making each item a &amp;amp;lt;tvar&amp;amp;gt;, it&amp;#039;s better to list the items with this template and make the whole transclusion a &amp;amp;lt;tvar&amp;amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
&lt;br /&gt;
* (Unnamed arguments): The items.&lt;br /&gt;
* {{param|sep}}: The separator. By default it&amp;#039;s &amp;lt;code&amp;gt;{{((}}[[Template:Int|int]]|comma-separator}}&amp;lt;/code&amp;gt;. (In your interface language it&amp;#039;s &amp;lt;code&amp;gt;{{int:comma-separator}}&amp;lt;/code&amp;gt;.)&lt;br /&gt;
* {{param|conj}}: The conjunction word. By default it&amp;#039;s &amp;lt;code&amp;gt;{{((}}[[Template:Int|int]]|and}}{{((}}[[Template:Int|int]]|word-separator}}&amp;lt;/code&amp;gt;. (In your interface language it&amp;#039;s &amp;lt;code&amp;gt;{{int:and}}{{int:word-separator}}&amp;lt;/code&amp;gt;.)&lt;br /&gt;
* {{param|noconj}}: If true (see [[Module:Yesno]] to learn what is considered as true), still use the separator to join the last two items.&lt;br /&gt;
* {{param|fmt}}: An optional format string with &amp;quot;$1&amp;quot; substring. If given, each item is converted to this string with &amp;quot;$1&amp;quot; replaced with the item. HTML tags are supported. Templates, magic words and extension tags &amp;#039;&amp;#039;can&amp;#039;&amp;#039; be parsed but you need to escape them in proper ways. See below to learn more.&lt;br /&gt;
&lt;br /&gt;
(TemplateData to be added)&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
&lt;br /&gt;
* A transclusion with no items given yields nothing: &amp;lt;code&amp;gt;{{((}}ltt}}&amp;lt;/code&amp;gt; → {{ltt}}&lt;br /&gt;
* One item: &amp;lt;code&amp;gt;{{((}}ltt|1}}&amp;lt;/code&amp;gt; →&amp;lt;br/&amp;gt;{{ltt|1}}&lt;br /&gt;
* Two items: &amp;lt;code&amp;gt;{{((}}ltt|1|2}}&amp;lt;/code&amp;gt; →&amp;lt;br/&amp;gt;{{ltt|1|2}}&lt;br /&gt;
* Even more items: &amp;lt;code&amp;gt;{{((}}ltt|1|2|3|4}}&amp;lt;/code&amp;gt; →&amp;lt;br/&amp;gt;{{ltt|1|2|3|4}}&lt;br /&gt;
* Different separator &amp;amp; no conjunction word: &amp;lt;code&amp;gt;{{((}}ltt|sep=&amp;amp;amp;nbsp;{{((}}!}}&amp;amp;amp;nbsp;|noconj=1|1|2|3|4}}&amp;lt;/code&amp;gt; →&amp;lt;br/&amp;gt;{{ltt|sep=&amp;amp;nbsp;{{!}}&amp;amp;nbsp;|noconj=1|1|2|3|4}}&lt;br /&gt;
* Format string: &amp;lt;code&amp;gt;{{((}}ltt|fmt=($1)|1|2|3|4}}&amp;lt;/code&amp;gt; →&amp;lt;br/&amp;gt;{{ltt|fmt=($1)|1|2|3|4}}&lt;br /&gt;
&lt;br /&gt;
== Use of format string ==&lt;br /&gt;
&lt;br /&gt;
HTML tags can be directly used in the format string. They can be rendered correctly.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;{{((}}ltt|fmt=&amp;amp;lt;code&amp;amp;gt;$1&amp;amp;lt;/code&amp;amp;gt;|1|2|3|4}}&amp;lt;/code&amp;gt; →&amp;lt;br/&amp;gt;{{ltt|fmt=&amp;lt;code&amp;gt;$1&amp;lt;/code&amp;gt;|1|2|3|4}}&lt;br /&gt;
&lt;br /&gt;
However, templates and magic words need escaping with {{tl|((}} and {{tl|))}}, and extension tags with {{tl|^(}} and {{tl|)^}}, or they will be parsed before being passed to the [[Module:ListToText|underlying module]]. Don&amp;#039;t use &amp;lt;code&amp;gt;&amp;amp;lt;nowiki&amp;amp;gt;&amp;amp;lt;/nowiki&amp;amp;gt;&amp;lt;/code&amp;gt; or character entities; things may otherwise end up as plain text.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;{{((}}ltt|fmt={{((}}((}}[[Template:Tl|tl]]{{((}}!}}$1{{((}}))}}|((|))|^(|)^}}&amp;lt;/code&amp;gt; →&amp;lt;br/&amp;gt;{{ltt|fmt={{((}}tl{{!}}$1{{))}}|((|))|^(|)^}}&lt;br /&gt;
* &amp;lt;code&amp;gt;{{((}}ltt|fmt={{((}}((}}{{ll|Help:Magic words#Namespaces|NAMESPACE}}:$1{{((}}))}}|Help:A|Project:B|Template:C}}&amp;lt;/code&amp;gt; →&amp;lt;br/&amp;gt;{{ltt|fmt={{((}}NAMESPACE:$1{{))}}|Help:A|Project:B|Template:C}}&lt;br /&gt;
* &amp;lt;code&amp;gt;{{((}}ltt|fmt={{((}}^(}}{{ll|Extension:SyntaxHighlight|syntaxhighlight}} inline lang=&amp;quot;lua&amp;quot;&amp;gt;local $1&amp;lt;/syntaxhighlight&amp;gt;|a|b|c}}&amp;lt;/code&amp;gt; →&amp;lt;br/&amp;gt;{{ltt|fmt={{^(}}syntaxhighlight inline lang=&amp;quot;lua&amp;quot;&amp;gt;local $1&amp;lt;/syntaxhighlight&amp;gt;|a|b|c}}&lt;br /&gt;
&lt;br /&gt;
== In translateable pages ==&lt;br /&gt;
If all arguments are not to be translated, you can wrap the whole transclusion with &amp;amp;lt;tvar&amp;amp;gt; like: &amp;lt;code&amp;gt;&amp;amp;lt;tvar name=&amp;quot;1&amp;quot;&amp;amp;gt;{{((}}ltt|noconj=yes|1|2|3|4}}&amp;lt;/tvar&amp;gt;&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
If some arguments are to be translated, wrap the template name and not-to-be-translated arguments with &amp;amp;lt;tvar&amp;amp;gt; and leave other things outside, like: &amp;lt;code&amp;gt;{{((}}&amp;amp;lt;tvar name=&amp;quot;1&amp;quot;&amp;amp;gt;ltt|don&amp;#039;t|translate|that&amp;lt;/tvar&amp;gt;|translate|this}}&amp;lt;/code&amp;gt; (Translators will see &amp;lt;code&amp;gt;{{((}}$1|translate|this}}&amp;lt;/code&amp;gt;). Note that if you&amp;#039;re using custom separators and conjunction words, they might need to be localized and you need to expose them outside the &amp;amp;lt;tvar&amp;amp;gt; tag.&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{Sandbox other||&lt;br /&gt;
&amp;lt;!-- Categories below this line; interwikis at Wikidata --&amp;gt;&lt;br /&gt;
[[Category:Inline templates{{#translation:}}]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>en&gt;HyperNervie</name></author>
	</entry>
</feed>