<tabber>Tab 1 name=[[File:Filename.X|Imagesizepx]]
|-|Tab 2 name=[[File:Filename.X|Imagesizepx]]
|-|Tab 3 name=[[File:Filename.X|Imagesizepx]]
</tabber>
This is the code which you use in the “image” parameter of the infobox.
You can create more tabs by adding |-|Tab X name=[[File:Filename.X|Imagesizepx]]
to the Tabber.
If you want, you can create a template to make it easier to use. I created this template on a wiki (it’s called “imgtab”):
{{#tag:tabber|{{{1}}}=[[File:{{{2}}}|{{{3}}}px]]
{{!}}-{{!}}{{{4}}}=[[File:{{{5}}}|{{{6}}}px]]
}}
This is how you use the template:
{{imgtab|first tab title|first image name and file extension|first image size|second tab title|second image name and file extension|second image size}}
You can keep adding tabs to that template, as well. Keep in mind that you do need the {{!}} template on your wiki to do this, because you need to escape the pipe symbol (|
).
You can also do something like this:
{{#tag:tabber|{{{title1}}}=[[File:{{{filename1}}}|{{{imgsize1}}}px]]
{{!}}-{{!}}{{{title2}}}=[[File:{{{filename2}}}|{{{imgsize2}}}px]]
{{#if:{{{title3|}}}|{{!}}-{{!}}{{{title3}}}=[[File:{{{filename3}}}|{{{imgsize3}}}px]]}}
}}
It is used like this:
{{Imgtab
|title1 = Example title 1
|filename1 = Example filename 1.png
|imgsize1 = Image size 1
|title2 = Example title 2
|filename2 = Example filename 2.png
|imgsize2 = Image size 2
|title3 = Example title 3
|filename3 = Example filename 3.png
|imgsize3 = Image size 3
}}
This might be easier to use than the previous one. You can also mash the parameters together, like this:
{{Imgtab|title1 = Example title 1|filename1 = Example filename 1.png|imgsize1 = Image size 1|title2 = Example title 2|filename2 = Example filename 2.png|imgsize2 = Image size 2|title3 = Example title 3|filename3 = Example filename 3.png|imgsize3 = Image size 3}}
Remember: You can keep adding tabs to this template, if you want to.
I hope that I helped you.