The inventory slot template creates an interface element which looks and acts like an in-game inventory slot.
The images used are primarily taken from {{InvSprite}}, but if the specified item is not found, the template falls back to individual images in the format of Grid <item name>.png.
{{Slot
|[Title]Mod:Name,Amount[Description]; [Title2]Mod2:Name2,Amount2[Description2]; ...
|mod=Default mod (useful for animations and layout templates)
|default=Image always shown under the main image
|align=Vertical Alignment
|link=Link override
|title=Text show on mouseover
|class=Adds additional classes to the .invslot class
|style=Adds styling to the .invslot
|imgclass=Adds additional classes to the .invslot-item
|numstyle=Adds styling to the stack number
}}
Parts[]
The first parameter is a special parameter consisting of various "parts" grouped together in frames (delimited by ;) which will be display one after another if JavaScript is enabled. Every part is optional, but without "name", won't do anything.
Simple example[]
To display an inventory item of "Raw Porkchop" with an stack size of 20 you would put: {{Slot|Raw Porkchop,20}}
shows
Betik hatası: Böyle bir "envanter yuvası" modülü yok.
An amount of 2–999 is supported, anything else will not be displayed.
[[Lingering Water Bottle|[[Awkward Lingering Potion|[[Thick Lingering Potion|[[Mundane Lingering Potion|[[Lingering Potion of Regeneration|[[Lingering Potion of Swiftness|[[Lingering Potion of Fire Resistance|[[Lingering Potion of Poison|[[Lingering Potion of Healing|[[Lingering Potion of Night Vision|[[Lingering Potion of Weakness|[[Lingering Potion of Strength|[[Lingering Potion of Slowness|[[Lingering Potion of Leaping|[[Lingering Potion of Harming|[[Lingering Potion of Water Breathing|[[Lingering Potion of Invisibility|[[Lingering Potion of Luck|
Any Mushroom Matching Mushroom
[[Red Mushroom|[[Brown Mushroom|
Any Potion Matching Potion
[[Water Bottle|[[Awkward Potion|[[Thick Potion|[[Mundane Potion|[[Potion of Regeneration|[[Potion of Swiftness|[[Potion of Fire Resistance|[[Potion of Poison|[[Potion of Healing|[[Potion of Night Vision|[[Potion of Weakness|[[Potion of Strength|[[Potion of Slowness|[[Potion of Leaping|[[Potion of Harming|[[Potion of Water Breathing|[[Potion of Invisibility|[[Potion of Luck|
Any Purpur Block Matching Purpur Block
[[Purpur Block|[[Purpur Pillar|
Any Quartz Block Matching Quartz Block
[[Block of Quartz|[[Chiseled Quartz Block|[[Pillar Quartz Block|
Any Red Sandstone Matching Red Sandstone
[[Red Sandstone|[[Chiseled Red Sandstone|[[Smooth Red Sandstone|
[[Splash Water Bottle|[[Awkward Splash Potion|[[Thick Splash Potion|[[Mundane Splash Potion|[[Splash Potion of Regeneration|[[Splash Potion of Swiftness|[[Splash Potion of Fire Resistance|[[Splash Potion of Poison|[[Splash Potion of Healing|[[Splash Potion of Night Vision|[[Splash Potion of Weakness|[[Splash Potion of Strength|[[Splash Potion of Slowness|[[Splash Potion of Leaping|[[Splash Potion of Harming|[[Splash Potion of Water Breathing|[[Splash Potion of Invisibility|[[Splash Potion of Luck|
[[Arrow of Splashing|[[Tipped Arrow|[[Tipped Arrow|[[Tipped Arrow|[[Arrow of Regeneration|[[Arrow of Swiftness|[[Arrow of Fire Resistance|[[Arrow of Poison|[[Arrow of Healing|[[Arrow of Night Vision|[[Arrow of Weakness|[[Arrow of Strength|[[Arrow of Slowness|[[Arrow of Leaping|[[Arrow of Harming|[[Arrow of Water Breathing|[[Arrow of Invisibility|[[Arrow of Luck|
Any Wood Matching Wood
[[Oak Wood|[[Spruce Wood|[[Birch Wood|[[Jungle Wood|[[Acacia Wood|[[Dark Oak Wood|
Betik hatası: Böyle bir "envanter yuvası" modülü yok.
To remove the title, set it to "none": {{Slot|Raw Porkchop; Cooked Porkchop|title=none}}
shows
Betik hatası: Böyle bir "envanter yuvası" modülü yok.
However, the first bracketed text can be used to specify a title for each frame individually, and also supports standard formatting codes using & instead of §. If the title only contains formatting codes and no actual text, the formatting will be added to the normal title.
Betik hatası: Böyle bir "envanter yuvası" modülü yok.
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 (/).
Betik hatası: Böyle bir "envanter yuvası" modülü yok.
Subframes[]
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.
Here, an alias (which resolves to multiple frames) is wrapped in a subframe, and a different wood plank variant is shown each animation cycle:
Betik hatası: Böyle bir "envanter yuvası" modülü yok.
Align[]
Align uses the vertical-align CSS property. For example to align to the middle:
Smells like {{Slot|Raw Porkchop|align=middle}} in here!
shows
Smells like Betik hatası: Böyle bir "envanter yuvası" modülü yok. in here!
Default[]
Default is always shown and is placed under the image. {{Slot|default=Grid layout Brewing Empty}}{{Slot|Splash Mundane Potion|default=Grid layout Brewing Empty}}
shows
Betik hatası: Böyle bir "envanter yuvası" modülü yok.Betik hatası: Böyle bir "envanter yuvası" modülü yok.
Link[]
To change the link for all frames from the image name put: {{Slot|Charcoal|link=Coal#Charcoal}}
shows
Betik hatası: Böyle bir "envanter yuvası" modülü yok.
To remove the link, set link to none: {{Slot|Charcoal|link=none}}
shows
Betik hatası: Böyle bir "envanter yuvası" modülü yok.
Note that this retains the title.
Mods[]
A mod image is specified with the Mod: section of the name (or by setting a default mod using the mod parameter). The image link will then link to the mod sub-page allowing correct linking of mod images. The uploaded image name should by uploaded as Grid <Name> (<Mod>).png and should be added to the Grid mods category, which prevents them from being confused with official Minecraft items. This usage is not recommended, however, as all mod pages are being migrated to the FTB wiki.
Available images[]
In general, an item can be referred to by its tooltip name.
For dyes, dyed items and wood, there are two shortcuts to refer to all colors or tree species. Use e.g. "Any Wood Planks" if the item appears in more than one input slot and doesn't have to be the same color in all slots. Different copies of the same "Any [item]" will switch randomly and separately among the variants. Otherwise, use "Matching [item]"; all slots containing a "Matching" item will cycle through the species or dye colors in unison, even if they're not the same item.
Betik hatası: Böyle bir "envanter yuvası" modülü yok.Betik hatası: Böyle bir "envanter yuvası" modülü yok.Betik hatası: Böyle bir "envanter yuvası" modülü yok.
Betik hatası: Böyle bir "envanter yuvası" modülü yok.Betik hatası: Böyle bir "envanter yuvası" modülü yok.Betik hatası: Böyle bir "envanter yuvası" modülü yok.
Most items with a durability bar exist as "Damaged [item]".
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.