Help:Categories
Wildwinter (talk | contribs) (Created page with "== Putting A Page In A Category == To put a page in a category, just add a link like so: <pre> Category:SomeCategory </pre> preferably at the bottom of the page you want ...") |
|||
(One intermediate revision by the same user not shown) | |||
Line 9: | Line 9: | ||
[[Category:Help]] | [[Category:Help]] | ||
</pre> | </pre> | ||
A page can be in multiple categories. | A page can be in multiple categories. The category link can be anywhere on the page (except in a <pre><pre></pre> tag or similar), but it is best practice to add category links to the bottom of the content. | ||
== Linking To A Category == | ==Categories as Templates== | ||
Some categories are set up to work like templates, for example in order to automatically pull in a navigation menu (see [[:Category:Herbs]]) or add related super-categories (see [[:Category:380YE Spring Equinox winds of fortune]]). In that case, the template can be embedded as | |||
<pre> | |||
{{Category:SomeCategory}} | |||
</pre> | |||
[[Category:Help]] | |||
<noinclude>== Linking To A Category == | |||
To link to a category index page, just add a link like so: | To link to a category index page, just add a link like so: | ||
Line 25: | Line 33: | ||
[[Category:Help]] | [[Category:Help]] | ||
</noinclude> |
Latest revision as of 19:22, 24 April 2016
Putting A Page In A Category
To put a page in a category, just add a link like so:
[[Category:SomeCategory]]
preferably at the bottom of the page you want to put in the category. For example, this page has:
[[Category:Help]]
A page can be in multiple categories. The category link can be anywhere on the page (except in a
<pre>
tag or similar), but it is best practice to add category links to the bottom of the content.
Categories as Templates
Some categories are set up to work like templates, for example in order to automatically pull in a navigation menu (see Category:Herbs) or add related super-categories (see Category:380YE Spring Equinox winds of fortune). In that case, the template can be embedded as
{{Category:SomeCategory}}
Linking To A Category
To link to a category index page, just add a link like so:
[[:Category:SomeCategory]]
or
[[:Category:SomeCategory|Go to a category]]
(note the extra colon). For example, here's a link to Category:Help.