<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://otherwiki.horizonsend.net/index.php?action=history&amp;feed=atom&amp;title=Module%3AInventory_slot%2FAliases%2FTable</id>
	<title>Module:Inventory slot/Aliases/Table - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://otherwiki.horizonsend.net/index.php?action=history&amp;feed=atom&amp;title=Module%3AInventory_slot%2FAliases%2FTable"/>
	<link rel="alternate" type="text/html" href="https://otherwiki.horizonsend.net/index.php?title=Module:Inventory_slot/Aliases/Table&amp;action=history"/>
	<updated>2026-04-15T05:33:02Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.1</generator>
	<entry>
		<id>https://otherwiki.horizonsend.net/index.php?title=Module:Inventory_slot/Aliases/Table&amp;diff=4772&amp;oldid=prev</id>
		<title>Gutin: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://otherwiki.horizonsend.net/index.php?title=Module:Inventory_slot/Aliases/Table&amp;diff=4772&amp;oldid=prev"/>
		<updated>2025-02-16T23:20:13Z</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 23:20, 16 February 2025&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 mediawiki2-mediawiki:diff:1.41:old-4771:rev-4772 --&gt;
&lt;/table&gt;</summary>
		<author><name>Gutin</name></author>
	</entry>
	<entry>
		<id>https://otherwiki.horizonsend.net/index.php?title=Module:Inventory_slot/Aliases/Table&amp;diff=4771&amp;oldid=prev</id>
		<title>Module_&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://otherwiki.horizonsend.net/index.php?title=Module:Inventory_slot/Aliases/Table&amp;diff=4771&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>Module_&gt;Unavailablehoax</name></author>
	</entry>
</feed>