<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.mineinabyss.com/w/Module:Ingredient_link_list/history?feed=atom</id>
	<title>Module:Ingredient link list - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.mineinabyss.com/w/Module:Ingredient_link_list/history?feed=atom"/>
	<link rel="alternate" type="text/html" href="https://wiki.mineinabyss.com/w/Module:Ingredient_link_list/history"/>
	<updated>2026-04-08T23:46:10Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.6</generator>
	<entry>
		<id>https://wiki.mineinabyss.com/index.php?title=Module:Ingredient_link_list&amp;diff=477&amp;oldid=prev</id>
		<title>Scyu: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://wiki.mineinabyss.com/index.php?title=Module:Ingredient_link_list&amp;diff=477&amp;oldid=prev"/>
		<updated>2024-10-11T13:26:50Z</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;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 13:26, 11 October 2024&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 my_wiki:diff:1.41:old-476:rev-477 --&gt;
&lt;/table&gt;</summary>
		<author><name>Scyu</name></author>
	</entry>
	<entry>
		<id>https://wiki.mineinabyss.com/index.php?title=Module:Ingredient_link_list&amp;diff=476&amp;oldid=prev</id>
		<title>minecraft&gt;Anterdc99 at 05:55, 30 January 2023</title>
		<link rel="alternate" type="text/html" href="https://wiki.mineinabyss.com/index.php?title=Module:Ingredient_link_list&amp;diff=476&amp;oldid=prev"/>
		<updated>2023-01-30T05:55:28Z</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;
local f = mw.getCurrentFrame()&lt;br /&gt;
&lt;br /&gt;
function p.genlink(args)&lt;br /&gt;
	if args[1] == nil then&lt;br /&gt;
		return { errno = 1 }&lt;br /&gt;
	end&lt;br /&gt;
	local sep = args.sep or &amp;#039;;&amp;#039;&lt;br /&gt;
	local firstarg = args.firstarg or 1&lt;br /&gt;
	if tonumber(firstarg) &amp;gt;= 2 and (not args.maxargs) then&lt;br /&gt;
		return { errno = 2 }&lt;br /&gt;
	end&lt;br /&gt;
	local maxargs = args.maxargs or (#args - 1)&lt;br /&gt;
	local output_array = {}&lt;br /&gt;
	for i = firstarg, maxargs do&lt;br /&gt;
		local name_pieces = {}&lt;br /&gt;
		for current_name in mw.text.gsplit(mw.text.trim(args[i]), sep) do&lt;br /&gt;
			local trimmed_name = mw.text.trim(current_name)&lt;br /&gt;
			if trimmed_name ~= &amp;#039;&amp;#039; then&lt;br /&gt;
				name_pieces[trimmed_name] = true&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
		local converted_names = {}&lt;br /&gt;
		for name, exist in pairs(name_pieces) do&lt;br /&gt;
			if exist then&lt;br /&gt;
				local prefix&lt;br /&gt;
				if string.find(name, &amp;#039;^Matching &amp;#039;) then&lt;br /&gt;
					prefix = &amp;#039;Matching &amp;#039;&lt;br /&gt;
					name = string.gsub(name, &amp;#039;^Matching &amp;#039;, &amp;#039;&amp;#039;)&lt;br /&gt;
				elseif string.find(name, &amp;#039;^Any &amp;#039;) then&lt;br /&gt;
					prefix = &amp;#039;Any &amp;#039;&lt;br /&gt;
					name = string.gsub(name, &amp;#039;^Any &amp;#039;, &amp;#039;&amp;#039;)&lt;br /&gt;
				else&lt;br /&gt;
					prefix = &amp;#039;&amp;#039;&lt;br /&gt;
				end&lt;br /&gt;
				table.insert(converted_names, f:preprocess(prefix .. &amp;#039;[[&amp;#039; .. name .. &amp;#039;]]&amp;#039;))&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
		table.insert(output_array, table.concat(converted_names, &amp;#039; or&amp;lt;br&amp;gt;&amp;#039;))&lt;br /&gt;
	end&lt;br /&gt;
	return table.concat(output_array, &amp;#039; +&amp;lt;br&amp;gt;&amp;#039;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.main()&lt;br /&gt;
	local args = require(&amp;#039;Module:ProcessArgs&amp;#039;).merge(true)&lt;br /&gt;
	local result = p.genlink(args)&lt;br /&gt;
	if type(result) == &amp;#039;string&amp;#039; then&lt;br /&gt;
		return result&lt;br /&gt;
	end&lt;br /&gt;
	local error_prompts = {&lt;br /&gt;
		&amp;#039;The first anonymous parameter could not be empty!&amp;#039;,&lt;br /&gt;
		&amp;#039;When the argument &amp;quot;firstarg&amp;quot; is equals to or greater than 2, the argument &amp;quot;maxargs&amp;quot; must be set!&amp;#039;&lt;br /&gt;
	}&lt;br /&gt;
	return f:expandTemplate{ title = &amp;#039;Error&amp;#039;, args = { error_prompts[result.errno] } }&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>minecraft&gt;Anterdc99</name></author>
	</entry>
</feed>