<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.you107657.duckdns.org/index.php?action=history&amp;feed=atom&amp;title=Template%3AInventory_slot%2Fdoc</id>
	<title>Template:Inventory slot/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.you107657.duckdns.org/index.php?action=history&amp;feed=atom&amp;title=Template%3AInventory_slot%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://wiki.you107657.duckdns.org/index.php?title=Template:Inventory_slot/doc&amp;action=history"/>
	<updated>2026-09-25T19:00:08Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.9</generator>
	<entry>
		<id>https://wiki.you107657.duckdns.org/index.php?title=Template:Inventory_slot/doc&amp;diff=4913&amp;oldid=prev</id>
		<title>imported&gt;Merge: merge.py</title>
		<link rel="alternate" type="text/html" href="https://wiki.you107657.duckdns.org/index.php?title=Template:Inventory_slot/doc&amp;diff=4913&amp;oldid=prev"/>
		<updated>2026-09-25T10:55:52Z</updated>

		<summary type="html">&lt;p&gt;merge.py&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{lua|data=Inventory slot/Aliases}}&lt;br /&gt;
The inventory slot template creates an interface element which looks and acts like an in-game inventory slot.&lt;br /&gt;
&lt;br /&gt;
The images used have the &amp;lt;code&amp;gt;Invicon &amp;#039;&amp;#039;&amp;lt;item name&amp;gt;&amp;#039;&amp;#039;.png&amp;lt;/code&amp;gt; name format, or &amp;lt;code&amp;gt;Grid &amp;#039;&amp;#039;&amp;lt;item name&amp;gt;&amp;#039;&amp;#039; (&amp;#039;&amp;#039;&amp;lt;mod name&amp;gt;&amp;#039;&amp;#039;).png&amp;lt;/code&amp;gt; in case of [[mods]] (which are currently being phased out). GIF files are also supported for animated icons.&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
All inputs are optional:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;{{Slot&lt;br /&gt;
|[Title]Mod:Name,Amount[Description]; [Title2]Mod2:Name2,Amount2[Description2]; ...&lt;br /&gt;
|mod=Default mod (useful for animations and layout templates)&lt;br /&gt;
|default=Image always shown under the main image&lt;br /&gt;
|align=Vertical Alignment&lt;br /&gt;
|link=Link override&lt;br /&gt;
|title=Text show on mouseover&lt;br /&gt;
|class=Adds additional classes to the .invslot class&lt;br /&gt;
|style=Adds styling to the .invslot&lt;br /&gt;
|imgclass=Adds additional classes to the .invslot-item&lt;br /&gt;
|numstyle=Adds styling to the stack number&lt;br /&gt;
}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Parts ===&lt;br /&gt;
The first parameter is a special parameter consisting of various &amp;quot;parts&amp;quot; grouped together in frames (delimited by &amp;lt;code&amp;gt;;&amp;lt;/code&amp;gt;) which will be display one after another if JavaScript is enabled. Every part is optional, but without &amp;quot;name&amp;quot;, won&amp;#039;t do anything. The &amp;quot;name&amp;quot; can also include the image&amp;#039;s extension following a dot (&amp;lt;code&amp;gt;.png&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;.gif&amp;lt;/code&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
==== Simple example ====&lt;br /&gt;
To display an inventory item of &amp;quot;Raw Porkchop&amp;quot; with an stack size of 20 you would put: {{t|Slot|High Quality Magic Crystal,20}}&lt;br /&gt;
;shows&lt;br /&gt;
{{Slot|High Quality Magic Crystal,20}}&lt;br /&gt;
&lt;br /&gt;
An amount of 2–999 is supported, anything else will not be displayed.&lt;br /&gt;
&lt;br /&gt;
=== Subframes ===&lt;br /&gt;
&lt;br /&gt;
Subframes are shown as a single frame, but the frames within it are advanced every time the subframe is displayed. A set of frames can be put in a subframe by wrapping it in braces.&lt;br /&gt;
&lt;br /&gt;
Here, an alias (which resolves to multiple frames) is wrapped in a subframe, and a different wood plank variant is shown each animation cycle:&lt;br /&gt;
&lt;br /&gt;
{{t|Slot|{Any Planks};Iron Ingot}}&lt;br /&gt;
;shows&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Align ===&lt;br /&gt;
Align uses the [http://www.w3.org/wiki/CSS/Properties/vertical-align vertical-align] CSS property. For example to align to the middle:&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;Smells like {{Slot|Raw Porkchop|align=middle}} in here!&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
;shows&lt;br /&gt;
Smells like {{Slot|Raw Porkchop|align=middle}} in here!&lt;br /&gt;
&lt;br /&gt;
=== Default ===&lt;br /&gt;
Default is always shown and is placed under the image. {{t|Slot|default{{=}}Brewing}}{{t|Slot|Mundane Splash Potion|default{{=}}Brewing}}&lt;br /&gt;
;shows&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Link ===&lt;br /&gt;
To change the link for all frames from the image name put: {{t|Slot|Charcoal|link{{=}}Coal#Charcoal}}&lt;br /&gt;
;shows&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To remove the link, set link to none: {{t|Slot|Charcoal|link{{=}}none}}&lt;br /&gt;
;shows&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note that this retains the title.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Other templates ==&lt;br /&gt;
&lt;br /&gt;
These templates implement this template into a GUI screen which mimics how it would look in Minecraft. Thus, they have mostly the same features as this template.&lt;br /&gt;
{{UI see also}}&lt;/div&gt;</summary>
		<author><name>imported&gt;Merge</name></author>
	</entry>
</feed>