<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.mineinabyss.com/w/Module:Inventory_slot/Aliases/Table/history?feed=atom</id>
	<title>Module:Inventory slot/Aliases/Table - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.mineinabyss.com/w/Module:Inventory_slot/Aliases/Table/history?feed=atom"/>
	<link rel="alternate" type="text/html" href="https://wiki.mineinabyss.com/w/Module:Inventory_slot/Aliases/Table/history"/>
	<updated>2026-04-08T21:55:48Z</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:Inventory_slot/Aliases/Table&amp;diff=463&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:Inventory_slot/Aliases/Table&amp;diff=463&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-462:rev-463 --&gt;
&lt;/table&gt;</summary>
		<author><name>Scyu</name></author>
	</entry>
	<entry>
		<id>https://wiki.mineinabyss.com/index.php?title=Module:Inventory_slot/Aliases/Table&amp;diff=462&amp;oldid=prev</id>
		<title>minecraft&gt;Unavailablehoax: There are a few Any X aliases without an Matching alias which get erroneously paired with a non-existent Matching X aliases, and crucially a few Matching aliases without an Any alias, which means they never get displayed. This edit fixes that</title>
		<link rel="alternate" type="text/html" href="https://wiki.mineinabyss.com/index.php?title=Module:Inventory_slot/Aliases/Table&amp;diff=462&amp;oldid=prev"/>
		<updated>2023-11-06T03:36:56Z</updated>

		<summary type="html">&lt;p&gt;There are a few Any X aliases without an Matching alias which get erroneously paired with a non-existent Matching X aliases, and crucially a few Matching aliases without an Any alias, which means they never get displayed. This edit fixes that&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;
p.table = function()&lt;br /&gt;
	local slot = require( [[Module:Inventory slot]] )&lt;br /&gt;
	local aliases = mw.loadData( [[Module:Inventory slot/Aliases]] )&lt;br /&gt;
&lt;br /&gt;
	local aliasNames = {}&lt;br /&gt;
	local aI = 1&lt;br /&gt;
	for name in pairs( aliases ) do&lt;br /&gt;
		-- Skip the banner aliases (except &amp;quot;Any Banner&amp;quot;), as there are so&lt;br /&gt;
		-- many of them it causes the table to be excessively long&lt;br /&gt;
		if&lt;br /&gt;
			name == &amp;#039;Any Banner&amp;#039; or&lt;br /&gt;
			not name:find( &amp;#039; Banner$&amp;#039; ) and&lt;br /&gt;
			not name:find( &amp;#039;^Matching &amp;#039; ) or&lt;br /&gt;
			not aliases[name:gsub( &amp;#039;^Matching&amp;#039;, &amp;#039;Any&amp;#039; )]&lt;br /&gt;
		then&lt;br /&gt;
			aliasNames[aI] = name&lt;br /&gt;
			aI = aI + 1&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	table.sort( aliasNames )&lt;br /&gt;
&lt;br /&gt;
	local tableRows = {&lt;br /&gt;
		&amp;#039; {| class=&amp;quot;wikitable collapsible collapsed&amp;quot;&amp;#039;,&lt;br /&gt;
		&amp;#039;! Alias !! Output&amp;#039;&lt;br /&gt;
	}&lt;br /&gt;
	local rI = #tableRows + 1&lt;br /&gt;
	for _, name in ipairs( aliasNames ) do&lt;br /&gt;
		local alias = slot.getAlias( aliases[name], {} )&lt;br /&gt;
&lt;br /&gt;
		local cell = {}&lt;br /&gt;
		for i, frame in ipairs( alias ) do&lt;br /&gt;
			cell[i] = slot.slot{ { frame }, parsed = true }&lt;br /&gt;
		end&lt;br /&gt;
&lt;br /&gt;
		local aliasText = mw.html.create()&lt;br /&gt;
		aliasText:tag( &amp;#039;code&amp;#039; ):wikitext( name )&lt;br /&gt;
		if name:find( &amp;#039;^Any &amp;#039; ) then&lt;br /&gt;
			local altName = name:gsub( &amp;#039;^Any&amp;#039;, &amp;#039;Matching&amp;#039; )&lt;br /&gt;
			if aliases[altName] then&lt;br /&gt;
				aliasText:tag( &amp;#039;br&amp;#039; ):done()&lt;br /&gt;
					:tag( &amp;#039;code&amp;#039; ):wikitext( altName )&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
&lt;br /&gt;
		tableRows[rI] = &amp;#039;|&amp;#039; .. tostring( aliasText ) .. &amp;#039;||&amp;#039; .. table.concat( cell )&lt;br /&gt;
		rI = rI + 1&lt;br /&gt;
	end&lt;br /&gt;
	tableRows[rI] = &amp;#039;|}&amp;#039;&lt;br /&gt;
&lt;br /&gt;
	return table.concat( tableRows, &amp;#039;\n|-\n&amp;#039; )&lt;br /&gt;
end&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>minecraft&gt;Unavailablehoax</name></author>
	</entry>
</feed>