Rosetta Code:Village Pump/How to add a subcategory when editing a page: Difference between revisions

Subcategories are really just separate pages
No edit summary
(Subcategories are really just separate pages)
Line 6:
 
I also now realize it might have been better to have separate categories for the various IBM Assembly languages than a single category for all. Being "upward compatible", they are largely the same, but there are subtle differences, the biggest being those between VSE and MVS regarding the operating system interface. Would it be better to create those categories now (with considerable redundancy!) or wait until the best structure becomes more apparent?
:Subcategories actually have pretty much nothing to do with their parent categories except their names. I'll use an example. Say we have a category called [[:Category:Parent category|Category:Parent category]]. To make a "subcategory" you just have to add a slash to the name and then add the subcategory's name like this: [[:Category:Parent category/Subcategory|Category:Parent category/Subcategory]]. The wiki recognizes that these two pages are related because their names start with the same text (the text up to the slash) and it should put a link to the parent category on the subcategory's page (I think we have that option enabled). Other than that these are treated as totally separate categories until we link them somehow through other wiki-means. --[[User:Mwn3d|Mwn3d]] 20:18, 21 October 2012 (UTC)
Anonymous user