Template talk:Inventory slot

Animated Fire Texture
Hello.

I've just uploaded an animated version of the Fire grid texture, thanks to the new texture format in the Redstone Update (Minecraft 1.5). I embedded it below so you guys can see it.



I was wondering if it would be possible for someone to use my animated fire render as the fire grid image for this template so that we don't have to look at that boring static image of fire.

Thank you for your consideration. —YoshiOG1 19:40, 14 March 2013 (UTC)


 * The animation would be nice, but the template only uses PNG images, not GIFs, and I'm hesitant to add special-case code. You could turn it into a (non-standard) APNG animated image, though that isn't supported by all browsers. -- Orthotope 01:58, 15 March 2013 (UTC)


 * That's OK... Thanks anyway!


 * So I guess I could add it to Fire's gallery instead... —YoshiOG1 19:15, 20 March 2013 (UTC)

I need the source on this page.
Please post the source of this page here. --Tag365 14:02, 6 June 2013 (UTC)


 * Click the "View source" tab. –ultradude25 ᐸ Talk Contribs 14:50, 6 June 2013 (UTC)

"Any Wood" values?
Now that we have lua, would it be possible to add "Any Wood X" (X=Logs, Planks, Stairs, Slabs) values that could abstract out those manually-maintained lists? --MentalMouse42 (talk) 23:00, 24 October 2013 (UTC)


 * We don't have lua until the update to 1.21, which is meant to happen by the end of November. The lua version of this template already has frame groups, which lets you define a list of frames under an alias. –Matt ᐸ Talk Contribs ⎜ 03:29, 25 October 2013 (UTC)
 * Cool, so it should be straightforward to do "Any Wood", and suchlike. --MentalMouse42 (talk) 10:14, 25 October 2013 (UTC)


 * Well I was thinking using values like "Wood" (unless there's conflicts with existing names), but I'm not decided between the two. –Matt ᐸ Talk Contribs ⎜ 11:09, 25 October 2013 (UTC)


 * I'm not terribly invested in the difference, but ISTM that "Any" is explicitly inclusive, while "Wood", "Wooden Stairs", etc., could be seen as underspecified. --MentalMouse42 (talk) 13:23, 25 October 2013 (UTC)


 * Module:Grid/Aliases –Matt ᐸ Talk Contribs ⎜ 08:44, 22 January 2014 (UTC)


 * Cool, Thanks! I don't completely understand the Golden Apple aliases, but the others look straightfoward.   Hmm... no docs for the module?  I'm assuming it's interface-compatible with the old Template:Grid, but it would be nice to have that made explicit. --MentalMouse42 (talk) 14:22, 23 January 2014 (UTC)


 * [Title]Mod:Name,Amount[Description] --91.9.202.58 14:28, 23 January 2014 (UTC)


 * The golden apple aliases add the colouring to the name (go hover over the outputs on Golden Apple). A new feature in the lua version is the [] syntax before and after the name which adds a title and description respectively, for use with Minetip. This could of course be done directly on the page, but why not do it here so it's automatically coloured by just using the name?
 * I'll do the docs after I've finished implementing everything, but unless you're going to be using the module directly (don't do that), existing functionality should be mostly the same. –Matt ᐸ Talk Contribs ⎜ 14:37, 23 January 2014 (UTC)
 * I, or someone, might actually have cause to use it, if and when we get around to setting up the icons and extra grids for Thaumcraft. However, that doesn't seem imminent. --MentalMouse42 (talk) 00:25, 24 January 2014 (UTC)

Problem with the vanilla-prefix
I noticed a bug in this template. When the vanilla-prefix is used to show vanilla-items in a grid where a mod is defined (mod=), only the first vanilla-item or block is shown. You can see this in the documentation Has someone a solution?--.zip de.MinecraftWiki-Admin Diskussion 07:40, 31 October 2013 (UTC)


 * It used to work, I probably broke it at some point. It'll work in the lua version. –Matt ᐸ Talk Contribs ⎜ 10:33, 31 October 2013 (UTC)


 * We're on Mediawiki 1.21 now and lua should work. Are there plans to rewrite the template in lua to get rid of the existing bugs? --eagle3000 (D ~ B) 15:38, 20 December 2013 (UTC)


 * The Lua version has existed for a few months now, I'm just still waiting on Curse. –Matt ᐸ Talk Contribs ⎜ 22:13, 20 December 2013 (UTC)


 * We now finally have Lua, so everything should always work forever. –Matt ᐸ Talk Contribs ⎜ 08:42, 22 January 2014 (UTC)

Animation.
Well, I'm trying to translate the Grid/Crafting Template but without translating this template. But I came to a problem with animation, you can't change the link for a specific part of the animation. ZlingerZZ (talk) 07:17, 15 February 2014 (UTC)


 * It's never been possible. And it doesn't really need to be, as the image name should always be the same as the page it should link to. –Matt ᐸ Talk Contribs ⎜ 08:28, 15 February 2014 (UTC)

Grid background
I recently installed this module on my wiki, and all the images show, except for the background. Does anyone know how to fix this? Been trying for an hour so, with no luck

SakuraTheKitten (talk) 18:23, 7 April 2014 (UTC)


 * You need the styling in Mediawiki:Common.css. –Matt ᐸ Talk Contribs ⎜ 02:12, 8 April 2014 (UTC)

Overlay parameter
Can we possibly add some sort of overlay parameter? either as a part of the grid syntax (would make it easier on other forms of grid) or it's own parameter. It would basically do the same thing that does to.

The main reason is it would be helpful for the banner article, as uploading every combination would result in thousands of images.

--KnightMiner  (t 01:10, 19 August 2014 (UTC)

I need the source
I am trying to add this template to Turkish page but there is nothing in view source tab. How can i find it? --LambayaFunfDe (talk) 17:57, July 19, 2017 (UTC)


 * The reason that there is nothing in the template is that it invokes Module:Inventory slot, so that is where you will find the template. – Nixinova Grid_Book_and_Quill.png Grid_Diamond_Pickaxe.png Map (item).png 20:06, 19 July 2017 (UTC)


 * The issue with the Turkish wiki is that in Turkish, I becomes ı and i becomes İ. In  expressions, you have to change every İ to I (or i, if it's the first letter) and every i to ı to make them work. | violine1101(Talk) 20:12, 19 July 2017 (UTC)

Use of | and =
When I set the title and link to none on a template using | and = it becomes like this: Can anyone fix this? – ItsPlantseed ⟨₰|₢⟩ 13:44, 3 May 2018 (UTC)
 * I'm trying to imitate the, but rather than appearing behind the items, the overlay will disappear when it is not empty. Just like the armor slot. – ItsPlantseed ⟨₰|₢⟩ 14:00, 3 May 2018 (UTC)


 * Why are you using  and =? Those templates are to esacpe template syntax, not be used in it. You also have a non-required .png in the name. Try the following:  – KnightMiner  t/c 02:44, 4 May 2018 (UTC)


 * Yes, I see now. My bad. – ItsPlantseed ⟨₰|₢⟩ 06:01, 4 May 2018 (UTC)


 * Why would you expect template parameters to work when you've escaped the parameters? Either way, just only set if there's no value?   –Majr ᐸ Talk Contribs 03:54, 4 May 2018 (UTC)


 * Thanks. I was too befuddled when writing the template. Just got it to work. – ItsPlantseed ⟨₰|₢⟩ 06:01, 4 May 2018 (UTC)