<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://stationeers-wiki.com/index.php?action=history&amp;feed=atom&amp;title=Module%3ASlots</id>
	<title>Module:Slots - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://stationeers-wiki.com/index.php?action=history&amp;feed=atom&amp;title=Module%3ASlots"/>
	<link rel="alternate" type="text/html" href="https://stationeers-wiki.com/index.php?title=Module:Slots&amp;action=history"/>
	<updated>2026-04-10T08:35:09Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://stationeers-wiki.com/index.php?title=Module:Slots&amp;diff=27508&amp;oldid=prev</id>
		<title>Azera: Create module for automatically rendering a slot info table. Accepts variable number of arguments consisting of name;slotType;index where index is optional</title>
		<link rel="alternate" type="text/html" href="https://stationeers-wiki.com/index.php?title=Module:Slots&amp;diff=27508&amp;oldid=prev"/>
		<updated>2026-04-08T18:50:13Z</updated>

		<summary type="html">&lt;p&gt;Create module for automatically rendering a slot info table. Accepts variable number of arguments consisting of name;slotType;index where index is optional&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.render(frame)&lt;br /&gt;
    local args = frame:getParent().args&lt;br /&gt;
    local rows = {}&lt;br /&gt;
&lt;br /&gt;
    for i, v in ipairs(args) do&lt;br /&gt;
        local parts     = mw.text.split(v, &amp;#039;;&amp;#039;)&lt;br /&gt;
        local name      = mw.text.trim(parts[1] or &amp;#039;&amp;#039;)&lt;br /&gt;
        local slotType  = mw.text.trim(parts[2] or &amp;#039;None&amp;#039;)&lt;br /&gt;
        local index     = parts[3] and mw.text.trim(parts[3]) or tostring(i - 1)&lt;br /&gt;
        if name ~= &amp;#039;&amp;#039; then&lt;br /&gt;
            table.insert(rows, &amp;#039;|-\n| &amp;#039; .. name .. &amp;#039; || &amp;#039; .. slotType .. &amp;#039; || &amp;#039; .. index)&lt;br /&gt;
        end&lt;br /&gt;
    end&lt;br /&gt;
&lt;br /&gt;
    return &amp;#039;{| class=&amp;quot;wikitable&amp;quot;\n|-\n! Slot Name !! Type !! Index\n&amp;#039;&lt;br /&gt;
        .. table.concat(rows, &amp;#039;\n&amp;#039;) .. &amp;#039;\n|}&amp;#039;&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>Azera</name></author>
	</entry>
</feed>