Advertisement

Help with template

Hello I'm admin of Polish Mc Wiki and I tried to copy/paste English templates and modules, so they will work the same but I don't know if I mmessed something up or these pages work only with eng wiki, but I would really appreciate if you could help me do this. First of all - what pages and CSSes do I need to make it work? Matik7 (talk) 09:41, 10 May 2015 (UTC)

From what I can tell, you need to update your css from MediaWiki:Common.css (just use Ctrl + F and search "Template:Infobox", and copy everything below until you reach "Template:Navbox" ), and your version of {{infobox row}} is outdated. KnightMiner t/c 23:11, 10 May 2015 (UTC)

New invimage behaviour suggestion?

While all pages that directly use this infobox have the ability to use the inventory image feature, I believe the feature should be changed to being optional instead. Because it just came up on Discord that whenever this template is used directly without the invimage parameter specified, it will automatically infer an image filename for File:Grid {{BASEPAGENAME}}.png, which becomes a wanted page, unless invimage=none is specifically set. Although this feature is used for specific implementations like {{item}} and {{block}}, which do always require an inventory image, the image itself basically has nothing to do with this generic infobox template.

So I suggest to change this template such that it by default assumes invimage=none, and specific implementations like {{item}} and {{block}} that do need one, specifically override this to the behaviour as if they were themselves by default assuming invimage={{BASEPAGENAME}} or something similar. Personally I don't know Lua so I can't suggest changes to the module, and I don't know how this suggestion would work if at all, and there may be other suggestions that would have a similar effect to solving the undesired wanted pages from listing, but this is just my 2cents and anyone else's input is also very appreciated. – Jack McKalling [ Book and Quill JE2 BE2.png Diamond Pickaxe JE3 BE3.png ] 12:15, 4 February 2019 (UTC)

Just removed the check for grid since no page is using it anyway. MajrTalk
Contribs
04:34, 6 February 2019 (UTC)
Thanks a lot! – Jack McKalling [ Book and Quill JE2 BE2.png Diamond Pickaxe JE3 BE3.png ] 10:17, 6 February 2019 (UTC)

The Minecraft Wiki is no longer considered as official by Microsoft and therefore several changes are required to be made, including to the wiki's logo. Please read this announcement for more information.

READ MORE