Template:Navlist/Top/doc

Usage

edit

This template is designed to be called at the top of each module page of a book. It deduces the organization of the book from a navlist page; see Template:Navlist/Doc.

Optional named parameters {{{background}}} and {{{border}}} determine the colors of the background and border of the generated navbox, overriding the default colors determined by the navlist page (as described in the general documentation, linked above). Optional named parameter {{{navlist}}} specifies the navlist page; the default navlist page is Template:{{NAIVEBOOKNAME}}/Navlist, and if a parameter value is provided, the navlist page is assumed to be in mainspace unless another namespace is specified in the parameter value.

Some examples (see note on editing):

Module doesn't occur in navlist: {{Template:Navlist/Top|navlist=Template:Navlist/Doc/A}}

  Navlist  

 

Top
doc

 

Module is first in navlist: {{Template:Navlist/Top|navlist=Template:Navlist/Doc/B|border=#cc0000}}

  Navlist  

 

Top
doc

 

Module is last in navlist: {{Template:Navlist/Top|navlist=Template:Navlist/Doc/C|background=#cccccc}}

  Navlist  

 

Top
doc

 

Module is in the midst of navlist: {{Template:Navlist/Top|navlist=Template:Navlist/Doc/D}}

  Navlist  

 

Top
doc

 

Module is in the midst of navlist short: {{Template:Navlist/Top|navlist=Template:Navlist/Doc/D|format=short}}