(Created page with "== Breadcrumbs == Breadcrumbs are the hierarchical links at the top of the page (for example, for this page, it's Empire / Help / Editing Breadcrumbs). This is a very manual...")
 
No edit summary
Line 17: Line 17:


If a page is in more than one category then it'll match the first one it finds.
If a page is in more than one category then it'll match the first one it finds.
[[Category:Help]]

Revision as of 18:23, 1 March 2012

Breadcrumbs

Breadcrumbs are the hierarchical links at the top of the page (for example, for this page, it's Empire / Help / Editing Breadcrumbs).

This is a very manual thing for MediaWiki. You have to edit a set of rules in Imperial:Breadcrumbs.

There are lots of ways it can work, but I think the easiest is to make sure every page is in a category (see Help:Categories for how to do that), and then use the category name to define the breadcrumbs.

For example, if the Imperial:Breadcrumbs trail contains:

* Rules @ [[Main Page|Empire]] > [[:Category:Rules|Rules]] >
* Help @ [[Main Page|Empire]] > [[:Category:Help|Help]] >

then anything in the Rules category will have a breadcrumb trail of Empire (links to Main Page), Rules (links to the Rules category index) and so on.

If a page is in more than one category then it'll match the first one it finds.