Template:Mosnav/doc: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
no edit summary
m (Protected "Template:Mosnav/doc": Robot: Protecting all pages from category templates (‎[edit=sysop] (indefinite) ‎[move=sysop] (indefinite)))
No edit summary
Tags: Mobile edit Mobile web edit
 
Line 1: Line 1:
'''{{tlx|mosnav}}''' is a template that puts a navigation strip, at the top of a page.  It should be used only on pages of the manual of style; hence: '''mos'''nav.   
'''{{tlx|mosnav}}''' is a template that puts a navigation strip at the top of a page.  It should be used only on policy pages, which belong to the [[tardis:manual of style|manual of style]]; hence: '''mos'''nav.   


==Usage==
== Usage ==
To use, follow this simple pattern:
To use, follow this simple pattern:
<pre>{{mosnav|p=parent chapter name|c=category name}}</pre>
<pre>{{mosnav|p=parent chapter name|c=category name}}</pre>
Line 8: Line 8:


The template will produce a navigation scheme which automatically includes all pages in the category specified.
The template will produce a navigation scheme which automatically includes all pages in the category specified.
==Optional feature==
 
(Policies and support pages marked outdated are excluded from the output.)
 
== Optional feature ==
Sometimes, certain pages in the manual of style will have relevance to other parent chapters.  In this case you can add the variable {{tt|you may{{=}}}} to suggest links to other chapters.  A good example of this usage can be found at [[Tardis:Naming conventions]].  Note that this {{{you may}}} is a little different from ''the template'' {{tlx|you may}} in that it is entirely free-form.  Since the cases where you'd need to employ the variable {{tt|you may}} are relatively rare, it was important to give maximum flexibility.  The downside is that you have to remember to add linking brackets, like this:
Sometimes, certain pages in the manual of style will have relevance to other parent chapters.  In this case you can add the variable {{tt|you may{{=}}}} to suggest links to other chapters.  A good example of this usage can be found at [[Tardis:Naming conventions]].  Note that this {{{you may}}} is a little different from ''the template'' {{tlx|you may}} in that it is entirely free-form.  Since the cases where you'd need to employ the variable {{tt|you may}} are relatively rare, it was important to give maximum flexibility.  The downside is that you have to remember to add linking brackets, like this:


Line 14: Line 17:


== Historical note ==
== Historical note ==
This template was entirely redesigned and automated at 01:47, February 18, 2013 (UTC).  Prior to this date, it was necessary to add each and every page to the template by hand.  Thus, you will still find a number of pages that contain a number of superfluous parameters. '''These do not work''', but it is not imperative to remove them, since they are harmless.  The ''only'' things this template requires are values for ''p'' and ''c''.  
This template was entirely redesigned and automated at 01:47, February 18, 2013 (UTC).  Prior to this date, it was necessary to add each and every page to the template by hand.  Thus, you will still find a number of pages that contain a number of superfluous parameters. '''These do not work''', but it is not imperative to remove them, since they are harmless.  The ''only'' things this template requires are values for ''p'' and ''c''.
 
== Thanks ==
== Thanks ==
This template's name and earliest function owed a debt to [[memoryalpha:template:mos nav]].  However, its code barely resembles that MemAlpha template much anymore.  
This template's name and earliest function owed a debt to [[memoryalpha:template:mos nav]].  However, its code barely resembles that MemAlpha template much anymore.  
<noinclude>[[category:template documentation|{{PAGENAME}}]]</noinclude>
<noinclude>[[category:template documentation|{{PAGENAME}}]]</noinclude>
Cookies help us deliver our services. By using our services, you agree to our use of cookies.