<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://deeptech.wiki/index.php?action=history&amp;feed=atom&amp;title=Template%3AArray%2Fdoc</id>
	<title>Template:Array/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://deeptech.wiki/index.php?action=history&amp;feed=atom&amp;title=Template%3AArray%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://deeptech.wiki/index.php?title=Template:Array/doc&amp;action=history"/>
	<updated>2026-05-08T21:17:37Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.2</generator>
	<entry>
		<id>https://deeptech.wiki/index.php?title=Template:Array/doc&amp;diff=4617&amp;oldid=prev</id>
		<title>C: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://deeptech.wiki/index.php?title=Template:Array/doc&amp;diff=4617&amp;oldid=prev"/>
		<updated>2025-11-15T02:44:18Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 02:44, 15 November 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&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;/table&gt;</summary>
		<author><name>C</name></author>
	</entry>
	<entry>
		<id>https://deeptech.wiki/index.php?title=Template:Array/doc&amp;diff=4616&amp;oldid=prev</id>
		<title>w&gt;Bungle: space placeholder</title>
		<link rel="alternate" type="text/html" href="https://deeptech.wiki/index.php?title=Template:Array/doc&amp;diff=4616&amp;oldid=prev"/>
		<updated>2025-02-02T19:28:51Z</updated>

		<summary type="html">&lt;p&gt;space placeholder&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:ArrayList}}&lt;br /&gt;
{{TOC right}}&lt;br /&gt;
This template will allow manipulation or retrieve properties of an array list using a delimiter. It handles five functions: count, get, pos, math and sort.&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;{{Array|&amp;lt;Function&amp;gt;|&amp;lt;Array items&amp;gt;|&amp;lt;Delimiter&amp;gt;|&amp;lt;Property&amp;gt;|Parameters (optional)}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
5th parameter only valid with pos function when limiting multiple outputs to a single position.&lt;br /&gt;
&lt;br /&gt;
===Functions===&lt;br /&gt;
;Count&lt;br /&gt;
Will count the total number of items in the array using the designated separator. Leading or trailing separators are stripped.&lt;br /&gt;
* {{tlx|Array|count|This is my array|&amp;amp;#32;}} → {{Array|count|This is my array| }}&lt;br /&gt;
* {{tlx|Array|count|An,array,separated,by,commas|,}} → {{Array|count|An,array,separated,by,commas|,}}&lt;br /&gt;
* {{tlx|Array|count|An,array,with,trailing,commas,|,}} → {{Array|count|An,array,with,trailing,commas,|,}}&lt;br /&gt;
;Get&lt;br /&gt;
Will get the Nth item in the array, numeric value only. Can use negative value to work backwards. Last or -1 will get end item. Invalid value returns error.&lt;br /&gt;
* {{tlx|Array|get|My,wiki,test,array|,|3}} → {{Array|get|My,wiki,test,array|,|3}}&lt;br /&gt;
* {{tlx|Array|get|A.list.of.dot.separated.items|.|2}} → {{Array|get|A.list.of.dot.separated.items|.|2}}&lt;br /&gt;
* {{tlx|Array|get|The almost last item is nearly final|&amp;amp;#32;|-2}} → {{Array|get|The almost last item is nearly final| |-2}}&lt;br /&gt;
* {{tlx|Array|get|The last item is final|&amp;amp;#32;|last}} → {{Array|get|The last item is final| |last}}&lt;br /&gt;
* {{tlx|Array|get|Invalid input returns error|&amp;amp;#32;|foobar}} → {{Array|get|Invalid input returns error| |foobar}}&lt;br /&gt;
;Pos&lt;br /&gt;
Will retrieve the position in array of the search item. If duplicates are found, will output all positions delimited by comma. Output can be limited by specifying a 5th parameter.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;{{Array|Pos|&amp;lt;Array items&amp;gt;|&amp;lt;Delimiter&amp;gt;|&amp;lt;Search Term&amp;gt;|&amp;lt;Nth occurrence&amp;gt; (optional)}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
* {{tlx|Array|pos|A sentence of typical words|&amp;amp;#32;|sentence}} → {{Array|pos|A sentence of typical words| |sentence}}&lt;br /&gt;
* {{tlx|Array|pos|A.wiki.test.string.in.a.test.array|.|unmatched}} → {{Array|pos|My.wiki.test.string.in.a.test.array|.|unmatched}}&lt;br /&gt;
* {{tlx|Array|pos|A.wiki.test.string.in.a.test.array|.|test}} → {{Array|pos|A.wiki.test.string.in.a.test.array|.|test}}&lt;br /&gt;
* {{tlx|Array|pos|Position,of,the,second,test,in,a,test,array|,|test|2}} → {{Array|pos|Position,of,the,second,test,in,a,test,array|,|test|2}}&lt;br /&gt;
* {{tlx|Array|pos|2,4,6,6,7,11,12|,|7}} → {{Array|pos|2,4,6,6,7,11,12|,|7}}&lt;br /&gt;
* {{tlx|Array|pos|2,4,6,6,7,11,12|,|6|2}} → {{Array|pos|2,4,6,6,7,11,12|,|6|2}}&lt;br /&gt;
&lt;br /&gt;
;Math&lt;br /&gt;
Will do calculations on the array items if all numeric. Options are sum (sum of all item numbers), min and max.&lt;br /&gt;
&lt;br /&gt;
* {{tlx|Array|math|2,4,6,6,7,12|,|sum}} → {{Array|math|2,4,6,6,7,12|,|sum}}&lt;br /&gt;
* {{tlx|Array|math|2,4,6,6,7,12|,|max}} → {{Array|math|2,4,6,6,7,12|,|max}}&lt;br /&gt;
* {{tlx|Array|math|3.3.4.5.5.6|.|min}} → {{Array|math|3.3.4.5.5.6|.|min}}&lt;br /&gt;
* {{tlx|Array|math|3.3.f.5.5.q|.|min}} → {{Array|math|3.3.f.5.5.q|.|min}}&lt;br /&gt;
&lt;br /&gt;
;Sort&lt;br /&gt;
Sort items in the array, default ascending/chronological, numeric first. Use parameter &amp;quot;a&amp;quot; to sort alpha first and/or &amp;quot;r&amp;quot; to reverse order&lt;br /&gt;
&lt;br /&gt;
* {{tlx|Array|sort|2,9,6,8,7,12|,}} → {{Array|sort|2,9,6,8,7,12|,}}&lt;br /&gt;
* {{tlx|Array|sort|2,9,6,8,7,12|,|r}} → {{Array|sort|2,9,6,8,7,12|,|r}}&lt;br /&gt;
* {{tlx|Array|sort|2,9,6,d,8,7,a,12|,}} → {{Array|sort|2,9,6,d,8,7,a,12|,}}&lt;br /&gt;
* {{tlx|Array|sort|2,9,6,d,8,7,a,12|,|a}} → {{Array|sort|2,9,6,d,8,7,a,12|,|a}}&lt;br /&gt;
* {{tlx|Array|sort|3,9,6,d,8,7,a,12|,|ar}} → {{Array|sort|3,9,6,d,8,7,a,12|,|ar}} (alpha starts first from the right if reversing the sort order)&lt;br /&gt;
* {{tlx|Array|sort|is everything up mixed|&amp;amp;#32;}} → {{Array|sort|is everything up mixed| }}&lt;br /&gt;
&lt;br /&gt;
===See also===&lt;br /&gt;
{{String-handling templates |anlys/tech}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{Sandbox other||&lt;br /&gt;
&amp;lt;!-- Categories below this line --&amp;gt;&lt;br /&gt;
[[Category:String manipulation templates]]&lt;br /&gt;
[[Category:Wikipedia formatting templates]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>w&gt;Bungle</name></author>
	</entry>
</feed>