118Wiki:Using Categories: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 4: Line 4:
Categories create a semi-hierarchical "tree" of subjects. However, unlike a simple "tree" structure, the "leaves" (articles) of our tree can have one or more branch. That is, all the pages on the wiki can have more than one category, putting them in a number of different subjects. For example, say there is an NPC character that is listed in the [[Wallace Non-Playing Character Listing]]. This character begins making regular appearances on the Atlantis, though. It is only logically that you would add this character to the [[:Category:Atlantis NPCs|Atlantis NPC category]].
Categories create a semi-hierarchical "tree" of subjects. However, unlike a simple "tree" structure, the "leaves" (articles) of our tree can have one or more branch. That is, all the pages on the wiki can have more than one category, putting them in a number of different subjects. For example, say there is an NPC character that is listed in the [[Wallace Non-Playing Character Listing]]. This character begins making regular appearances on the Atlantis, though. It is only logically that you would add this character to the [[:Category:Atlantis NPCs|Atlantis NPC category]].


==How to Add a Category==
==How to Add a Category and Sub-categories==
Just like in the creation of a link to a new page, you need to have the name of the category you want the page included in. If you don't know what you're looking for, start [[:Category:Categories|here]] and work your way down to the right category.  
Just like in the creation of a link to a new page, you need to have the name of the category you want the page included in. If you don't know what you're looking for, start [[:Category:Categories|here]] and work your way down to the right category.  


Line 10: Line 10:


Now put the text in brackets, like a link. Like so: <nowiki>[[Category:Wallace NPCs]]</nowiki>. Place this at the VERY BOTTOM of the page.  
Now put the text in brackets, like a link. Like so: <nowiki>[[Category:Wallace NPCs]]</nowiki>. Place this at the VERY BOTTOM of the page.  
Once you've saved the page, you'll see the category link at the very bottom of the page. It should be a red link, since it's a new category. Click on the link and you'll be taken to a blank editing page.
Put some introductory text at the top of this page to say what the category covers. Now you'll need to add it into the hierarchy. To do so, simply put the link to the category you wish to make your category a "sub" of. So, if I want to add my category (Deceased NPCs) to the Wallace NPC archive, I would put the following link at the bottom of the category editing page: [[Category:Wallace NPCs]].


==Organizing Pages within a Category==
==Organizing Pages within a Category==
56

edits