Hello! I have one question regarding infoboxes. On Metro Wiki, we have infoboxes about weapons and achievements. Some weapons/achievements only appear in one game, some appear in multiple games. The infobox has a panel with several sections, each section is about a specific game. There are those labeled buttons at the beginning of the paneled part of the infobox that allow the users to switch between sections...
My problem is that even if the weapon/achievement only appears in one game, the button for that one and only filled section still appears, even though it's not necessary at all, as there aren't multiple sections.
See images below if you don't understand what I'm trying to say:
How to tell the infobox to show these buttons only if more than one section has content?