Template:Mosnav/doc
{{mosnav}} is a template that puts a navigation strip, much like the one used for forum threads, at the top of a page. It should be used only on pages of the manual of style; hence: mosnav.
Usage
To use, follow this simple pattern:
- {{mosnav|p|1|2|3|4|5|6|7|8|9|...}}
where p is the parent chapter for all the other pages listed at 1, 2, 3 ... 10. All are optional, and if you type {{mosnav}} alone, it sill simply put the current page in the nav bar like so:
This, however, is not very helpful, because it allows you to navigate only back to the page Tardis:Manual of style.
The variable c can and should be set to a name for the chapter, so that all pages in that chapter can be organised under a single category. The resulting category would then go into Category:Manual of style.
A more full-bodied example of this template is:
- {{mosnav|p=Wikify wisely|Redlinks|c=wikification}}
which produces:
Note that the namespace Tardis: is already assumed. All you need is the page name, not the full page name. Also, see how the current page name, Mosnav, is put into the navigation bar by default. Obviously, if you were to put this particular example on Tardis:Don't over-wikify, it would make a little more sense.
Thanks
This template owes some debt to memoryalpha:template:mos nav — though not quite so much as the name suggests. This is basically just an adaptation of the basic {{forumheader}} template which is a default part of the Wikia MediaWiki installation.