Thread:WKPQ/@comment-34918040-20190903193355

Hi WKPQ,

we had talked about Car ParentTab some time ago, and that I'ld like to see the mastery pages included which I didn't even know exist until I saw you edit one.

Here's a comlete rework.
 * You don't need to provide a base page any more. The template automatically detects where it is.
 * No more  parameters and such. The template detects which other pages exist and displays the corresponding tabs.
 * Basically, no more parameters at all. No changes needed to all other pages if further page is added.
 * The template detects the pseudo-subpages with wrong page separators (the backslashes that Car ParentTab had introduced which produced a main page named  instead of a real subpage to   named  ).
 * It also detects if it is on a "real" subpage ( &rarr; / &larr;  ). Real subpages usually don't exist, except when a user added one, for example   and   which some pages have.
 * Furthermore the template checks if there is a mastery page for the vehicle. This would fetch all those pages from oblivion as there mostly aren't even pages that link to them. Mastery pages get their own tab now.
 * The template automatically suggests new names for "real" and "wrong" subpages with ready-made links that lead to the rename page with all fields already filled. You just need to hit Enter. The renaming follows our conversation some time ago that pages should have parentheses instead of subpages. I saw that you recently appied this to an Asphalt 9 page, too. The new names also make the page titles easier to read by avoiding word clumps with slashes.
 * The new template's name is Tabs vehicle. I've inserted it on the Ford Focus RS and McLaren MP4-31 pages for a test.

Here are examples of the messages you get when you place the template on a page:


 * 1) The template uses the design of the tabs on News and WikiProject Statistics and is more consistent in my opinion. The purple/pink/lavender/whatever of the former template wasn't repeated anywhere on the whole site. Do you agree with the general design?
 * 2) It has a header row like the other ones. This makes it higher than the former template, taking more place. We can remove the header row, but I have plans to add an [Add tab] link that leads to a page like Asphalt Wiki:New news item that you already know. This page would display the tabs that are missing and preload a page with the header on it when the user clicks Create. We could also add a little car icon at the left that would only require a parameter on bike pages to display a bike instead. There could also be A8, A9 and other icons to the right, for the games the vehicle appears in. Would require parameters though, as long as we don't have modular templates for cars like for boxes. What do you say, header row or not?
 * 3) Tabs_vehicle_test_5.png template could also detect Championship, R&D and EDD pages and suggest a renaming. This would also eliminate the   subpages and make them part of the vehicle pages. I think this would be fine. We have list pages of all events anyway, and no links would be broken because the renaming leaves a redirect. Attention would have to be paid to the slow renaming bots. I suggest renaming only one vehicle per day. The autofill function now delivers very clean results when you start typing a vehicle name. This would include special events pages, too. What do you say, rename special events pages, too?
 * 4) Concerning vehicles with slashes in their name: We could rename the pages with a -- in them instead of the /. The name in the infobox would still be with the correct slash, of course. This would only affect two vehicles. Otherwise, I would have to think about a mechanism that suppresses the message that the page is a subpage while it is not intended to be one (but actually is). Would you be ok with renaming MP4/8 to MP4--8 and Camaro accordingly?
 * 5) As for the Multiplayer, Performance and other pages (I don't know if there are others): I could add a link to Special:Prefixindex that can display all subpages of a page if you type in  . This can't be done automatically, unfortunately. But it wouldn't be necessary any more in the long run, when we encourage users to add additional vehicle pages with parentheses.

I'd love to hear your opinions to 1.–4.! 