<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.americanmusicclub.com/index.php?action=history&amp;feed=atom&amp;title=Module%3ASingles</id>
	<title>Module:Singles - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.americanmusicclub.com/index.php?action=history&amp;feed=atom&amp;title=Module%3ASingles"/>
	<link rel="alternate" type="text/html" href="https://wiki.americanmusicclub.com/index.php?title=Module:Singles&amp;action=history"/>
	<updated>2026-04-05T21:26:39Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.7</generator>
	<entry>
		<id>https://wiki.americanmusicclub.com/index.php?title=Module:Singles&amp;diff=5016&amp;oldid=prev</id>
		<title>Amc-admin: 17 revisions imported</title>
		<link rel="alternate" type="text/html" href="https://wiki.americanmusicclub.com/index.php?title=Module:Singles&amp;diff=5016&amp;oldid=prev"/>
		<updated>2016-10-31T22:03:05Z</updated>

		<summary type="html">&lt;p&gt;17 revisions 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 22:03, 31 October 2016&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>Amc-admin</name></author>
	</entry>
	<entry>
		<id>https://wiki.americanmusicclub.com/index.php?title=Module:Singles&amp;diff=207&amp;oldid=prev</id>
		<title>Amc-admin: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://wiki.americanmusicclub.com/index.php?title=Module:Singles&amp;diff=207&amp;oldid=prev"/>
		<updated>2016-10-27T22:23:57Z</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;local p = {}&lt;br /&gt;
&lt;br /&gt;
-- Ripped from Module:Infobox. TODO: Make a utility module that can do this kind of thing&lt;br /&gt;
local function getArgNums(args, prefix)&lt;br /&gt;
    -- Returns a table containing the numbers of the arguments that exist&lt;br /&gt;
    -- for the specified prefix. For example, if the prefix was &amp;#039;data&amp;#039;, and&lt;br /&gt;
    -- &amp;#039;data1&amp;#039;, &amp;#039;data2&amp;#039;, and &amp;#039;data5&amp;#039; exist, it would return {1, 2, 5}.&lt;br /&gt;
    local nums = {}&lt;br /&gt;
    for k, v in pairs(args) do&lt;br /&gt;
        local num = tostring(k):match(&amp;#039;^&amp;#039; .. prefix .. &amp;#039;([1-9]%d*)$&amp;#039;)&lt;br /&gt;
        if num then table.insert(nums, tonumber(num)) end&lt;br /&gt;
    end&lt;br /&gt;
    table.sort(nums)&lt;br /&gt;
    return nums&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.main(frame)&lt;br /&gt;
	local args = require(&amp;#039;Module:Arguments&amp;#039;).getArgs(frame, {wrappers = &amp;#039;Template:Singles&amp;#039;})&lt;br /&gt;
	local out = [=[&amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;th style=&amp;quot;text-align:center; background:]=] .. frame:expandTemplate{title = &amp;#039;Infobox album/color&amp;#039;, args = {args.Type}} .. [=[;&amp;quot; colspan=&amp;quot;3&amp;quot;&amp;gt;[[Single (music)|Singles]] from &amp;#039;&amp;#039;]=] .. (args.Name or mw.title.getCurrentTitle().prefixedText) .. [=[&amp;#039;&amp;#039;&amp;lt;/th&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr style=&amp;quot;text-align:left; vertical-align:top;&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;td colspan=&amp;quot;3&amp;quot;&amp;gt;]=]&lt;br /&gt;
	local nums = getArgNums(args, &amp;#039;[Ss]ingle &amp;#039;)&lt;br /&gt;
	for _, num in ipairs(nums) do&lt;br /&gt;
		out = out .. &amp;#039;\n# &amp;lt;span class=&amp;quot;item&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;fn&amp;quot;&amp;gt;&amp;quot;&amp;#039; .. (args[&amp;#039;Single &amp;#039; .. num] or args[&amp;#039;single &amp;#039; .. num]) .. &amp;#039;&amp;quot;&amp;lt;/span&amp;gt;&amp;#039;&lt;br /&gt;
		local date = args[&amp;#039;Single &amp;#039; .. num .. &amp;#039; date&amp;#039;] or args[&amp;#039;single &amp;#039; .. num .. &amp;#039; date&amp;#039;]&lt;br /&gt;
		if date then&lt;br /&gt;
			out = out .. &amp;#039;&amp;lt;br /&amp;gt;Released: &amp;#039; .. date&lt;br /&gt;
		end&lt;br /&gt;
		out = out .. &amp;#039;&amp;lt;/span&amp;gt;&amp;#039;&lt;br /&gt;
	end&lt;br /&gt;
	out = out .. [=[&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;]=]&lt;br /&gt;
	return out&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>Amc-admin</name></author>
	</entry>
</feed>