Forum:Subpage tabs

Opening post
With the conclusion of Forum:Temporary forums/Subpages 2.0, subpages are now allowed to exist on this wiki and, while they are still a little thin on the ground, I expect that more and more will be created as time progresses. A problem, however, is that there is currently no easy way to navigate between subpages. and both work well enough, creating links in the relevant sections, but I feel that it would be nicer to have some centralised way to navigate between these pages, and for that I suggest some form of tab system. This is pretty common across other wikis. Starting with a well-known example, Wookieepedia uses subpages to separate "canon" content from "legends" content and uses a basic tab system to switch between them, for example on w:c:Wookieepedia:Luke Skywalker. A better example I know of is the RWBY Wiki. See w:c:RWBY:Ruby Rose for an example. In general, tabs are a common and easy to understand system for navigation and I feel work well with subpages.

Therefore, I have put together. It looks like this:

It automatically includes any of the "default" subpages (any approved for general use on the wiki) that exist for the page it is used on (or, in this case, the page specified). Additional, custom tabs can also be specified:

It also displays on mobile. It doesn't look great, but it functions and could be updated to look better there later on.

One problem that this introduces is that it adds to the general clutter that currently exists at the top of pages:, , , , , , and so on. I have a potential solution for this as well in the form of. The idea is that templates that only matter to editors can be placed inside this template, creating a box that is hidden by default but can be "pulled out" from the right of the page. See the example below and to the right.

I feel that this is an acceptable compromise because, lets be honest, not many readers actually care about the conclusion of Thread:264489 or similar things that are noted in these templates just for editors. These templates are just more clutter that they have to scroll past to get to the content that they want to read. Tabs are, in my opion, a much more useful thing to place there instead.

The overall result is something like this:

Thoughts? Bongo50  ☎  21:31, 3 June 2023 (UTC)