We've added some new functionality to how the <image> tag works in the infobox markup. Now you can introduce tabs to your desktop infoboxes, and they'll be repackaged as galleries on mobile.
Many legacy infoboxes use tabber (and a few use galleries) to display multiple images about a character. For example, on the Dragonball wikia they use tabber to show the different covers for different regions and on the Metal Gear Solid wikia they use tabber to show the different incarnations of the character in each game. We see similar uses for different versions of characters in multiple cannons, series, or realities.
The code for this change has been released and is currently live on the site, and it looks like this - the first image is on desktop, and the second is on mobile.
If you build an infobox template with an <image> tag anywhere appropriate in the markup:
Template:Animal infobox <infobox> <image source="example" /> <title><default>Animal</default></title> </infobox>
you can embed the infobox template on an article page, like either of these examples:
Animal infobox |example=<gallery> Dog 1.jpg|Boxer Dog 2.jpg|Beagle Dog 3.jpg|Golden Retriever </gallery>
Animal infobox |example=<tabber> Boxer = [[File:Dog 1.jpg]] |-| Beagle = [[File:Dog 2.jpg]] |-| Golden Retriever = [[File:Dog 3.jpg]] </tabber>
- You won’t need to edit the Infobox markup at all. We added 0 new tags with this feature upgrade. The same <image> will support either a single image or multiple images.
- We recommend using the gallery tag as opposed to the tabber tag. It’s much more stable and easier to read.
- There is no support for nested tabber at this time. We’ll flatten the tabs in the order they are presented in the article’s wikitext.