Template talk:Multiple image

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search


{{multiframe}} obsoleted it. I think it's too complicated and very much like Wp's one.SWFlashSWFlash.svg

That's cuz the mariowiki is powered by the mediawiki, therefore some functions that work in wikipedia may work here (sure, NOT all). I was attempting to do this but looks like you did t early :P ¢oincollctor rsitem209.png

Update to allow specifying height or width+height?[edit]

mw:Help:Images#Rendering a single image says there are four ways to specify a size for an image. Should the code be updated to allow for this? SNES has this issue. It would make the Super Famicom section look much better. Does this mean we have to update {{multiframe}} as well? --Wildgoosespeeder (talk) (Stats - Contribs) 20:43, 9 July 2016 (EDT)

In general, this is a slightly-crippled version of wikipedia:Template:Multiple image and could use an update to match that. I was trying to do a two-row arrangement a while back, and had to use {{multiframe}} instead, which generally produces irregular results.
I don't see why {{multiframe}} would need to be changed if this was updated. The two work entirely differently. - Reboot (talk) 21:51, 9 July 2016 (EDT)
Oh! The Wikipedia version has a height parameter! That's nice and what I was looking for. Now where is the source code because it gives me {{#invoke:Multiple image|render}}. --Wildgoosespeeder (talk) (Stats - Contribs) 22:15, 9 July 2016 (EDT)
Look at the previous version. The current Wikipedia version uses Scribunto, which is a completely different sort of template based on Lua. - Reboot (talk) 22:28, 9 July 2016 (EDT)
Looking at our source code, if we use:
[[File:{{{image1}}}|{{#if: {{{width|}}} | {{{width}}} | {{{width1}}} }}{{#if: {{{height|}}} | x{{{height}}} | x{{{height1}}} }}px|{{{alt1|{{{footer|}}}}}}]]
That should work. We just need to apply this to images 1-5, since this is what our template supports of 5 images max. --Wildgoosespeeder (talk) (Stats - Contribs) 22:34, 9 July 2016 (EDT)
Now that I look closer at the source code, to implement my simple changes, the width parameters are tied to some CSS code of the overall look of the template, such as spacing between images and the container of those images. The template would need to see a redesign that doesn't depend on the width or height parameter. I don't have any clue how to get that to work without affecting how it looks. --Wildgoosespeeder (talk) (Stats - Contribs) 22:52, 9 July 2016 (EDT)
Now I have a rough idea: [1] --Wildgoosespeeder (talk) (Stats - Contribs) 23:33, 9 July 2016 (EDT)

Put an example of the header parameter in this example page[edit]

green shell
red shell

This topic is about the example page, not the template itself.

So this template has various parameters and functions, and all of them are demonstrated in this page, except two: using 5 images and the "|header=" parameter.
I don't think that putting an example of 5 images is necessary, as it is a bit clear how it would look, but I think that it would be good putting here an example of how the header parameter would look.
I can't edit the example page, so I am asking here if someone could put an example of that parameter in use.

About where to use it, I thought on using it in the Example 3, but that would conflict with the footer parameter, and I think that it is good to have it for the "footer-caption" example. So, my best bet would be to replace the footer parameter of some of the first two examples with the header one, just like in the examples at the right of this text.

I don't know which of them, maybe Example 2 as there are only two "Mario Bros." and there are more Koopa Shells than those two. But in any case, I think that making any of those two changes would be good to demonstrate how the header parameter works.

If someone that can edit this page sees this, do you agree with me? And if so, can you make the change please? -Kirbeat (talk) 15:31, February 4, 2022 (EST)

For the sake of transparency, the header feature has now been removed from the template entirely in favor of using footers. --Waluigi's head icon in Mario Kart 8 Deluxe. Too Bad! Waluigi Time! 12:04, February 5, 2022 (EST)
Ah well, makes sense. -Kirbeat (talk) 12:48, February 5, 2022 (EST)