Minecraft Wiki
Advertisement

Missing images

Can it be made so that missing images will link to uploading the file? 71.212.10.80 17:12, 7 June 2015 (UTC)

Inventory image separators

Bringing in the discussion about invimage split in Talk:Stained Clay#Merge back. We should be able to make splits in inventory image lists (like this), by being able to give the module something like |invimagex=-. The module should be adjusted by adding the appropriate if/else clause.

for k, v in ipairs( invImgCount ) do
...
				
	if image == '-' then
		table.insert(invImages, '<br>')
	elseif image then
		if not grid then
			grid = require( 'Module:Grid' ).cell
		end
		table.insert( invImages, grid{ image, link = 'none' } )
	end
end

Instead of that <br> we can also use something like <div style="padding-bottom: 1en"/>.

— Agent NickTheRed37 (talk) 16:53, 15 June 2015 (UTC)

I vote  Yes, either one. – Sealbudsman (Aaron) SealbudsmanFace T/C 17:08, 15 June 2015 (UTC)
Majr? — Agent NickTheRed37 (talk) 17:51, 22 July 2015 (UTC)
I'm not decided if I really like it or not. What use-cases are there? MajrTalk
Contribs
09:21, 23 July 2015 (UTC)
For example this, where normal hardened clay is separate from stained clay. Also perhaps splitting full sets of armor of different materials. — Agent NickTheRed37 (talk) 14:06, 23 July 2015 (UTC)
Well I'll add it so we can try it, and see if it is agreeable. MajrTalk
Contribs
12:03, 24 July 2015 (UTC)
Thanks. It looks reasonable. There’s my test:
Test
No image
{{#invoke:Infobox|infobox
|title=Test
|invimage=Oak Wood
|invimage2=Birch Wood
|invimage3=----
|invimage4=Oak Wood Planks
|invimage5=Birch Wood Planks
}}
— Agent NickTheRed37 (talk) 12:13, 24 July 2015 (UTC)
Advertisement