Jump to content

Help:Categorization

From Wikifunctions

Categories are pages on Wikifunctions intended to group similar pages together. Categories can also house subcategories, which help sort Wikifunctions further.

Creating categories

Categories can be created by creating a page in the Category namespace. Categories can also be added to category pages, making them subcategories.

Adding pages to categories

In order to add a page to a category, you have to link it on the page. Adding [[Category:Help]] to the bottom of this page would add this page to Category:Help. In order to link to a category without adding a page to it, add an extra colon at the beginning. For example, [[:Category:Help]] displays like the link above.

Alternatively, some templates automatically add pages to categories. For example, adding {{Deprecated function}} to a function's talk page will add it to Category:Deprecated functions.

There are two ways to change the sortkey of a page (for example, sorting "Albert Einstein" as "Einstein, Albert"). In order to change the sortkey of the page for every category it is in, use the {{DEFAULTSORT:Sortkey}} magic word. To change the sortkey for just one category, use [[Category:Example|Sortkey]].

Category placement

Generally, categories should be wikilinked to at the bottom of a page. There are more specific rules for different types of pages.

  • Instead of adding categories to functions and implementations, you must place all categories on the corresponding talk page. For example, if someone wanted to categorize Z20597 as a English natural language generation function, they would have to place it on Talk:Z20597.
  • In order to categorize templates, you have to place categories on the documentation subpage, using {{doc}}.

Displaying categories

Categories are automatically displayed at the bottom of a page on desktop.[note 1] However, categories can be marked as hidden categories by adding {{Hidden category}} to the category page. This is useful for error-tracking categories. Registered users can unhide hidden categories at Preferences Appearance Advanced options Tick Show hidden categories.

See also

Notes

  1. On mobile, these would normally not display. However, as of July 2026, Wikifunctions has no separate mobile view, meaning by default categories will display.