Help:Editing manual: Difference between revisions

Jump to navigation Jump to search
Line 77: Line 77:
==== Adding a page to a category ====
==== Adding a page to a category ====
[[File:visual_editor_categories.png|right|thumb|Adding Categories in the Visual Editor]]
[[File:visual_editor_categories.png|right|thumb|Adding Categories in the Visual Editor]]
Categories are only useful when pages are actually added to them. This is handled automatically when using certain [[#Templates|Page Creation Templates]], but in many cases, you'll want to manually add pages to additional categories.
Some templates will automatically add the correct category to the page it is used on. However, in some cases, you'll want to manually add pages to additional categories.
 
For example, [[Absolute's Warboard]] was automatically added to the [[:Category:Shields|Shields]] and [[:Category:Uncommon Items|Uncommon Items]] categories by the EquipmentPage template, but also manually added to the [[:Category:Absolute Equipment|Absolute Equipment]] category to group it with closely related items.


To add a page to a category:
To add a page to a category:
* When using the Visual Editor, you can add a page to a category by clicking on the upper-right menu and selecting '''Categories'''. Start typing a category name in the provided box, and the editor will suggest autocomplete options for the category, if any exist.
* When using the Visual Editor, you can add a page to a category by clicking on the upper-right menu and selecting '''Categories'''. Start typing a category name in the provided box, and the editor will suggest autocomplete options for the category, if any exist.
* When using the Source Editor, use the markup {{code|<nowiki>[[</nowiki>Category:<em>Name of Category Here</em><nowiki>]]</nowiki>}} anywhere on the page (typically near the top or bottom, for organizational purposes) to add that page to a category. You can repeat this as many times as needed for additional categories.
* When using the Source Editor, use the markup {{code|<nowiki>[[</nowiki>Category:<em>Name of category here</em><nowiki>]]</nowiki>}} at the bottom of the page. You can repeat this as many times as needed for additional Categories.
{{clear}}
{{clear}}