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?
ah. those super-fast admins, that can't wait for couple of minutes to update a cache.
there is a notice at the top of the page:
Note: After saving, you may have to bypass your browser's cache to see the changes.
Chrome - Windows: Hold the Ctrl key and press the F5 key. OS X: Hold both the ⌘ Cmd and ⇧ Shift keys and press the R key.
Safari - Hold down the ⇧ Shift key and click the Reload toolbar button.
Firefox - Windows: Hold the Ctrl key, and press F5. OS X: Hold the ⌘ Cmd and ⇧ Shift keys, and then press R.
Internet Explorer - Hold the Ctrl key, and press F5 (or click the Refresh button).
ensure that changes in the sitewide css were alive for at least 15 minutes (the cache have to be purged, of course) before considering them as "not working".
moreover, we can't say what is going wrong if edit was rolled back. so, before asking for help, ensure that all changes in the css are exists in the current version.
The admin said he had bypassed the cache but still saw no change. More specifically, he sent me this message:
"I applied the change suggested in the thread you linked to, but it doesn't seem to work (at least not on my end). Even when I bypassed my browser's cache it still displayed the original version of the infobox with the redundant switch button. After this I removed the new rule from the Wiki CSS in case it had an undesired effect on anything else."
The truth is, however, that the changes weren't alive even for 15 minutes, he reverted them back after like 5 minutes. So maybe just waiting for a little longer would help? I will try to tell him and come back if that doesn't work. Thanks for your reply.