<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://stockhub.co/index.php?action=history&amp;feed=atom&amp;title=Module%3ASandbox%2Falex.osheter%2Flisttest</id>
	<title>Module:Sandbox/alex.osheter/listtest - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://stockhub.co/index.php?action=history&amp;feed=atom&amp;title=Module%3ASandbox%2Falex.osheter%2Flisttest"/>
	<link rel="alternate" type="text/html" href="https://stockhub.co/index.php?title=Module:Sandbox/alex.osheter/listtest&amp;action=history"/>
	<updated>2026-04-21T20:50:26Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.5</generator>
	<entry>
		<id>https://stockhub.co/index.php?title=Module:Sandbox/alex.osheter/listtest&amp;diff=146478&amp;oldid=prev</id>
		<title>imported&gt;Alex.osheter at 08:07, 4 September 2018</title>
		<link rel="alternate" type="text/html" href="https://stockhub.co/index.php?title=Module:Sandbox/alex.osheter/listtest&amp;diff=146478&amp;oldid=prev"/>
		<updated>2018-09-04T08:07:10Z</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;local p = {}&lt;br /&gt;
&lt;br /&gt;
function p.parseNames(frame)&lt;br /&gt;
	return frame&lt;br /&gt;
	[[local trackNames = frame.args[1] -- Comma separated names of tracks&lt;br /&gt;
	local output = &amp;quot;{{Track listing&amp;quot;&lt;br /&gt;
	counter = 1&lt;br /&gt;
	for word in string.gmatch(trackNames, &amp;#039;([^, ]+)&amp;#039;) do&lt;br /&gt;
	    output = output .. &amp;quot; | title&amp;quot; .. counter .. &amp;quot; = &amp;quot; .. word&lt;br /&gt;
	    counter = counter + 1&lt;br /&gt;
	end&lt;br /&gt;
	output = output .. &amp;quot;}}&amp;quot;	&lt;br /&gt;
	return output]]--&lt;br /&gt;
	&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.Name2(frame) -- This section is the core of the module. &amp;#039;Name2&amp;#039; is a name of your choice. The same name needs to be referred to when the module is used.&lt;br /&gt;
	-- The next five lines are mostly for convenience only and can be used as is for your module. The output conditions start on line 20.&lt;br /&gt;
	local pf = frame:getParent().args -- This line allows template parameters to be used in this code easily. The equal sign is used to define variables. &amp;#039;pf&amp;#039; can be replaced with a word of your choice.&lt;br /&gt;
	local f = frame.args -- This line allows parameters from {{#invoke:}} to be used easily. &amp;#039;f&amp;#039; can be replaced with a word of your choice.&lt;br /&gt;
	local M = f[1] or pf[1] -- f[1] and pf[1], which we just defined, refer to the first parameter. This line shortens them as &amp;#039;M&amp;#039; for convenience. You could use the original variable names.&lt;br /&gt;
	local m = f[2] or pf[2] -- Second shortened as &amp;#039;m&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
	if m == nil then -- If the second parameter is not used.&lt;br /&gt;
		return &amp;#039;Lonely&amp;#039; -- Outputs the string &amp;#039;Lonely&amp;#039; if the first condition is met.&lt;br /&gt;
	else&lt;br /&gt;
		return &amp;#039;Be positive!&amp;#039;&lt;br /&gt;
	end&lt;br /&gt;
end&lt;/div&gt;</summary>
		<author><name>imported&gt;Alex.osheter</name></author>
	</entry>
</feed>