Difference between revisions of "Help:Categories"
m (Protected "Help:Categories" [edit=sysop:move=sysop]) |
|||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | |||
To list an item in a category, add the following at the end of the page: | To list an item in a category, add the following at the end of the page: | ||
− | [[Category: (name)]] | + | <nowiki>[[Category:(name)]]</nowiki> |
− | + | You will need to change (name) to the actual name of the category. | |
− | In addition, this requires an additional (Sort) parameter used, which determines | + | In addition, this requires an additional (Sort) parameter to be used, which determines that the page will appear alphabetically within a category: |
− | + | <nowiki>[[Category:(name)|(Sort)]]</nowiki> | |
− | For example | + | For example, for the "Help" page to be under the Category parameter use the following: |
− | [[Category: Help | Category]] | + | <nowiki>[[Category:Help|Category]]</nowiki> |
− | + | From this you can see that the 'Category' as a parameter for sorting has been used. Without this, the page would be under 'H' for 'Help:Category', instead of under 'C' lists, which of course in this case is more sensible. This can also be used more correctly in use of a page with the title "Surname Firstname". When searching you may which for it to be categorized as "Firstname Surname" in which this method can achieve it. | |
− | Note: The parameter (sorting) does not affect how the page title within the category | + | Note: The parameter (sorting) does not affect how the page title within the category is listed, but only effects the place and order it is in. In the above example the page would be displayed as Category:Help still and not Category as one might assume! |
Latest revision as of 22:51, 5 May 2009
To list an item in a category, add the following at the end of the page:
[[Category:(name)]]
You will need to change (name) to the actual name of the category.
In addition, this requires an additional (Sort) parameter to be used, which determines that the page will appear alphabetically within a category:
[[Category:(name)|(Sort)]]
For example, for the "Help" page to be under the Category parameter use the following:
[[Category:Help|Category]]
From this you can see that the 'Category' as a parameter for sorting has been used. Without this, the page would be under 'H' for 'Help:Category', instead of under 'C' lists, which of course in this case is more sensible. This can also be used more correctly in use of a page with the title "Surname Firstname". When searching you may which for it to be categorized as "Firstname Surname" in which this method can achieve it.
Note: The parameter (sorting) does not affect how the page title within the category is listed, but only effects the place and order it is in. In the above example the page would be displayed as Category:Help still and not Category as one might assume!