Template:Auto navigation/doc

Theory of operation
This template (shown above with dummy links) adds one or more links to the top or bottom of a page, separated from the rest of the content by two centered, gray horizontal lines five pixels high and width equal to 94% of the page as rendered. It is designed to assist the reader to more easily consume the book in its entirety, the links being analogues of the traditional page turning performed on physically printed volumes and placed at the extremes of the content, where such behavior is naturally triggered.

The available links it can provide are:
 * 1) The next page in the book
 * 2) The book's previous page
 * 3) The page one level higher, listed as "Home"
 * 4) The eponymous category page to the book's title, sorted by the subpage names unless an additional parameter is specified (see below)

Parameters
All parameters are optional.
 * 1) The name of the next page, as the first unnamed parameter.
 * 2) The name of the previous page, as the second unnamed parameter.
 * 3)  deep  as the third unnamed parameter or the value to the filing parameter if only the next page is being shown; this indicates pages at that level of the book should be categorized by the chapter they appear in rather than the book's titular category.
 * 4)  bottom  as the last unnamed parameter when the template is displaying the links to both adjacent pages, or as the value of the border parameter if only showing the next page; this places the horizontal lines below the links rather than above them, allowing the template to be displayed in a manner appropriate to placement at the top of the page rather than the bottom.

TemplateData
{	"description": "Places links at the top or bottom of a page to its adjacent book pages, as well as the book's home page", "format": "inline", "paramOrder": [ "1",		"2",		"filing", "border" ],	"params": { "1": {			"label": "Next page", "type": "wiki-page-name", "required": true },		"2": {			"label": "Previous page", "type": "wiki-page-name", "suggested": true },		"border": { "aliases": [ "3",				"4"			],			"label": "Horizontal separator placement", "example": "bottom", "type": "line", "suggestedvalues": [ "top", "bottom" ],			"default": "top" },		"filing": { "aliases": [ "3"			],			"label": "Categorization style", "type": "line", "suggestedvalues": [ "deep" ]		}	} }