<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.mineinabyss.com/w/Template:Inventory_slot/doc/history?feed=atom</id>
	<title>Template:Inventory slot/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.mineinabyss.com/w/Template:Inventory_slot/doc/history?feed=atom"/>
	<link rel="alternate" type="text/html" href="https://wiki.mineinabyss.com/w/Template:Inventory_slot/doc/history"/>
	<updated>2026-04-08T21:55:53Z</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=Template:Inventory_slot/doc&amp;diff=401&amp;oldid=prev</id>
		<title>Scyu: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://wiki.mineinabyss.com/index.php?title=Template:Inventory_slot/doc&amp;diff=401&amp;oldid=prev"/>
		<updated>2024-10-11T13:12:53Z</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:12, 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-400:rev-401 --&gt;
&lt;/table&gt;</summary>
		<author><name>Scyu</name></author>
	</entry>
	<entry>
		<id>https://wiki.mineinabyss.com/index.php?title=Template:Inventory_slot/doc&amp;diff=400&amp;oldid=prev</id>
		<title>minecraft&gt;Delvin4519: interwiki ES</title>
		<link rel="alternate" type="text/html" href="https://wiki.mineinabyss.com/index.php?title=Template:Inventory_slot/doc&amp;diff=400&amp;oldid=prev"/>
		<updated>2024-02-20T18:14:04Z</updated>

		<summary type="html">&lt;p&gt;interwiki ES&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{documentation header}}&lt;br /&gt;
{{shortcut|Slot}}&lt;br /&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|Raw Porkchop,20}}&lt;br /&gt;
;shows&lt;br /&gt;
{{Slot|Raw Porkchop,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;
=== Aliases ===&lt;br /&gt;
{{#invoke: Inventory slot/Aliases/Table | table }}&lt;br /&gt;
Note: Banner variations are not included due to how many there are.&lt;br /&gt;
&lt;br /&gt;
The above aliases can be used to shorten common items, such as all wood blocks or adding parts to certain names by default.&lt;br /&gt;
&lt;br /&gt;
{{t|Slot|Any Log;Golden Apple}}&lt;br /&gt;
&lt;br /&gt;
;shows&lt;br /&gt;
{{Slot|Any Log;Golden Apple}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
When using the alias, parts can be added which will override any parts in the alias.&lt;br /&gt;
&lt;br /&gt;
{{t|Slot|Any Log,4;[&amp;amp;oShiny Apple]Enchanted Golden Apple}}&lt;br /&gt;
&lt;br /&gt;
;shows&lt;br /&gt;
{{Slot|Any Log,4;[&amp;amp;oShiny Apple]Enchanted Golden Apple}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Mods can specify an additional aliases table using the modaliases parameter.&lt;br /&gt;
&lt;br /&gt;
=== Titles and description ===&lt;br /&gt;
The title parameter can be used to set a title for all frames.&lt;br /&gt;
&lt;br /&gt;
{{t|Slot|Raw Porkchop; Cooked Porkchop|title{{=}}Smelly Porkchop}}&lt;br /&gt;
;shows&lt;br /&gt;
{{Slot|Raw Porkchop; Cooked Porkchop|title=Smelly Porkchop}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To remove the title, set it to &amp;quot;none&amp;quot;: {{t|Slot|Raw Porkchop; Cooked Porkchop|title{{=}}none}}&lt;br /&gt;
;shows&lt;br /&gt;
{{Slot|Raw Porkchop; Cooked Porkchop|title=none}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
However, the first bracketed text can be used to specify a title for each frame individually, and also supports standard [[formatting codes]] using &amp;lt;code&amp;gt;&amp;amp;&amp;lt;/code&amp;gt; instead of &amp;lt;code&amp;gt;§&amp;lt;/code&amp;gt;. If the title only contains formatting codes and no actual text, the formatting will be added to the normal title.&lt;br /&gt;
&lt;br /&gt;
{{t|Slot|[&amp;amp;b]Diamond Sword}}&lt;br /&gt;
;shows&lt;br /&gt;
{{Slot|[&amp;amp;b]Diamond Sword}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The last bracketed text can be used to specify a description, this also supports standard formatting codes, and can also have multiple lines by using forward slashes (/).&lt;br /&gt;
&lt;br /&gt;
{{t|Slot|[&amp;amp;b&amp;amp;oExcalibur]Iron Sword[&amp;amp;7Smite V/Fire Aspect I//&amp;amp;9+6 Attack Damage]}}&lt;br /&gt;
;shows&lt;br /&gt;
{{Slot|[&amp;amp;b&amp;amp;oExcalibur]Iron Sword[&amp;amp;7Smite V/Fire Aspect I//&amp;amp;9+6 Attack Damage]}}&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;
{{Slot|{Any Planks};Iron Ingot}}&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;
{{Slot|default=Brewing}}{{Slot|Mundane Splash Potion|default=Brewing}}&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;
{{Slot|Charcoal|link=Coal#Charcoal}}&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;
{{Slot|Charcoal|link=none}}&lt;br /&gt;
&lt;br /&gt;
Note that this retains the title.&lt;br /&gt;
&lt;br /&gt;
== Available images ==&lt;br /&gt;
&lt;br /&gt;
In general, an item can be referred to by its tooltip name.&lt;br /&gt;
&lt;br /&gt;
For dyes, dyed items and wood, there are two shortcuts to refer to all colors or tree species. Use e.g. &amp;quot;Any Overworld Wooden Planks&amp;quot; if the item appears in more than one input slot and doesn&amp;#039;t have to be the same color in all slots. Different copies of the same &amp;quot;Any [item]&amp;quot; will switch randomly and separately among the variants. Otherwise, use &amp;quot;Matching [item]&amp;quot;; all slots containing a &amp;quot;Matching&amp;quot; item will cycle through the species or dye colors in unison, even if they&amp;#039;re not the same item.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{Slot|Any Planks}}{{Slot|Any Wooden Slab}}{{Slot|Any Wooden Stairs}}&lt;br /&gt;
&lt;br /&gt;
{{Slot|Matching Overworld Planks}}{{Slot|Matching Overworld Wooden Slab}}{{Slot|Matching Wooden Stairs}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;shows&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
{{Slot|Any Planks}}{{Slot|Any Wooden Slab}}{{Slot|Any Wooden Stairs}}&lt;br /&gt;
&lt;br /&gt;
{{Slot|Matching Overworld Planks}}{{Slot|Matching Overworld Wooden Slab}}{{Slot|Matching Wooden Stairs}}&lt;br /&gt;
&lt;br /&gt;
Most items with a durability bar exist as &amp;quot;Damaged [item]&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
See [[Template:InvSprite]] for the full list of items.&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;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;&lt;br /&gt;
&amp;lt;!-- Template categories/interwiki here --&amp;gt;&lt;br /&gt;
[[Category:Image templates]]&lt;br /&gt;
[[Category:Inventory templates]]&lt;br /&gt;
&lt;br /&gt;
[[de:Vorlage:Inventar slot]]&lt;br /&gt;
[[es:Plantilla:Espacio de inventario]]&lt;br /&gt;
[[fr:Modèle:Case inventaire]]&lt;br /&gt;
[[ja:テンプレート:Inventory slot]]&lt;br /&gt;
[[pt:Predefinição:Compartimento de inventário]]&lt;br /&gt;
[[ru:Шаблон:Инвентарный слот]]&lt;br /&gt;
[[uk:Шаблон:Інвентарний слот]]&lt;br /&gt;
&amp;lt;/includeonly&amp;gt;&lt;br /&gt;
&amp;lt;noinclude&amp;gt;&lt;br /&gt;
&amp;lt;!-- Documentation categories/interwiki here --&amp;gt;&lt;br /&gt;
[[de:Vorlage:Inventar slot/Dokumentation ]]&lt;br /&gt;
[[es:Plantilla:Espacio de inventario/doc]]&lt;br /&gt;
[[fr:Modèle:Case inventaire/doc]]&lt;br /&gt;
[[ja:テンプレート:Inventory slot/doc]]&lt;br /&gt;
[[pt:Predefinição:Compartimento de inventário/doc]]&lt;br /&gt;
[[ru:Шаблон:Инвентарный слот/док]]&lt;br /&gt;
[[uk:Шаблон:Інвентарний слот/док]]&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>minecraft&gt;Delvin4519</name></author>
	</entry>
</feed>