Template:Simple Page Navigation/doc

Usage
The examples below of the new and old parameter names attempt to illustrate the relationship between the two by generating the same navigation links using each of them. The theory of operation behind the change to the new syntax was primarily to split each of the old parameters into a link target and a display name, the same way that a piped wikilink has the hidden link target on the left of the pipe and the display text to the right.

TemplateData
{	"description": "Creates a centered, rectangular navigation box showing the name of the current page and with links to the previous and next pages in a book, as well as the book's main page, or any other valid pages supplied to its parameters", "format": "", "paramOrder": [ "book", "prev", "next", "book_disp", "prev_disp", "next_disp", "current", "bgcolor", "bordercolor", "borderstyle", "borderwidth", "BookName", "PrevPage", "NextPage" ],	"params": { "bgcolor": { "label": "Background color", "description": "The color used to fill inside the box's border and behind its contents; can be formatted as: CSS color name keywords, #rrggbb[aa] red-green-blue 8-bit hexadecimal numbers [with optional transparency] or your choice of rgb(red, green, blue[, transparency]) or hsl(hue, saturation, lightness[, transparency]) 8-bit decimal numbers.", "example": "Moccasin", "type": "line", "suggestedvalues": [ "Black", "Silver", "Gray", "White", "Maroon", "Red", "Purple", "Fuschia", "Green", "Lime", "Olive", "Yellow", "Navy", "Blue", "Teal", "Cyan", "AliceBlue", "AntiqueWhite", "Aquamarine", "Azure", "Beige", "Bisque", "BlanchedAlmond", "BlueViolet", "Brown", "BurlyWood", "CadetBlue", "Chartreuse", "Chocolate", "Coral", "CornflowerBlue", "Cornsilk", "Crimson", "DarkBlue", "DarkCyan", "DarkGoldenRod", "DarkGray", "DarkGreen", "DarkKhaki", "DarkMagenta", "DarkOliveGreen", "DarkOrange", "DarkOrchid", "DarkRed", "DarkSalmon", "DarkSeaGreen", "DarkSlateBlue", "DarkSlateGray", "DarkTurquoise", "DarkViolet", "DeepPink", "DeepSkyBlue", "DimGray", "DodgerBlue", "FireBrick", "FloralWhite", "ForestGreen", "Gainsboro", "GhostWhite", "Gold", "Goldenrod", "GreenYellow", "Honeydew", "HotPink", "IndianRed", "Indigo", "Ivory", "Khaki", "Lavender", "LavenderBlush", "LawnGreen", "LemonChiffon", "LightBlue", "LightCoral", "LightCyan", "LightGoldenrodYellow", "LightGray", "LightGreen", "LightPink", "LightSalmon", "LightSeaGreen", "LightSkyBlue", "LightSlateGray", "LightSteelBlue", "LightYellow", "LimeGreen", "Linen", "MediumAquaMarine", "MediumBlue", "MediumOrchid", "MediumPurple", "MediumSeaGreen", "MediumSlateBlue", "MediumSpringGreen", "MediumTurquoise", "MediumVioletRed", "MidnightBlue", "MintCream", "MistyRose", "Moccasin", "NavajoWhite", "Navy", "OldLace", "OliveDrab", "Orange", "OrangeRed", "Orchid", "PaleGoldenrod", "PaleGreen", "PaleTurquoise", "PaleVioletRed", "PapayaWhip", "PeachPuff", "Peru", "Pink", "Plum", "PowderBlue", "RebeccaPurple", "RosyBrown", "RoyalBlue", "SaddleBrown", "Salmon", "SandyBrown", "SeaGreen", "SeaShell", "Sienna", "SkyBlue", "SlateBlue", "SlateGray", "Snow", "SpringGreen", "SteelBlue", "Tan", "Teal", "Thistle", "Tomato", "Turquoise", "Violet", "Wheat", "WhiteSmoke", "YellowGreen", "Transparent" ],			"default": "#ffffe6" },		"bordercolor": { "label": "Border color", "description": "The color used for the box's border; can be formatted as: CSS color name keywords, #rrggbb[aa] red-green-blue 8-bit hexadecimal numbers [with optional transparency] or your choice of rgb(red, green, blue[, transparency]) or hsl(hue, saturation, lightness[, transparency]) 8-bit decimal numbers.", "example": "SlateBlue", "type": "line", "suggestedvalues": [ "Black", "Silver", "Gray", "White", "Maroon", "Red", "Purple", "Fuschia", "Green", "Lime", "Olive", "Yellow", "Navy", "Blue", "Teal", "Cyan", "AliceBlue", "AntiqueWhite", "Aquamarine", "Azure", "Beige", "Bisque", "BlanchedAlmond", "BlueViolet", "Brown", "BurlyWood", "CadetBlue", "Chartreuse", "Chocolate", "Coral", "CornflowerBlue", "Cornsilk", "Crimson", "DarkBlue", "DarkCyan", "DarkGoldenRod", "DarkGray", "DarkGreen", "DarkKhaki", "DarkMagenta", "DarkOliveGreen", "DarkOrange", "DarkOrchid", "DarkRed", "DarkSalmon", "DarkSeaGreen", "DarkSlateBlue", "DarkSlateGray", "DarkTurquoise", "DarkViolet", "DeepPink", "DeepSkyBlue", "DimGray", "DodgerBlue", "FireBrick", "FloralWhite", "ForestGreen", "Gainsboro", "GhostWhite", "Gold", "Goldenrod", "GreenYellow", "Honeydew", "HotPink", "IndianRed", "Indigo", "Ivory", "Khaki", "Lavender", "LavenderBlush", "LawnGreen", "LemonChiffon", "LightBlue", "LightCoral", "LightCyan", "LightGoldenrodYellow", "LightGray", "LightGreen", "LightPink", "LightSalmon", "LightSeaGreen", "LightSkyBlue", "LightSlateGray", "LightSteelBlue", "LightYellow", "LimeGreen", "Linen", "MediumAquaMarine", "MediumBlue", "MediumOrchid", "MediumPurple", "MediumSeaGreen", "MediumSlateBlue", "MediumSpringGreen", "MediumTurquoise", "MediumVioletRed", "MidnightBlue", "MintCream", "MistyRose", "Moccasin", "NavajoWhite", "Navy", "OldLace", "OliveDrab", "Orange", "OrangeRed", "Orchid", "PaleGoldenrod", "PaleGreen", "PaleTurquoise", "PaleVioletRed", "PapayaWhip", "PeachPuff", "Peru", "Pink", "Plum", "PowderBlue", "RebeccaPurple", "RosyBrown", "RoyalBlue", "SaddleBrown", "Salmon", "SandyBrown", "SeaGreen", "SeaShell", "Sienna", "SkyBlue", "SlateBlue", "SlateGray", "Snow", "SpringGreen", "SteelBlue", "Tan", "Teal", "Thistle", "Tomato", "Turquoise", "Violet", "Wheat", "WhiteSmoke", "YellowGreen", "Transparent" ],			"default": "#c5c58b" },		"borderstyle": { "label": "Border style", "description": "One of the eight (four 2D and four 3D) border styles defined in CSS3, or 'none'. The two-dimensional styles are: 'solid', 'dashed', 'dotted' and 'double'. The three-dimensional styles perform an algorithmic color shift to the defined border color and apply it asymetrically along both axes to achieve their effect and are named: 'groove', 'ridge', 'inset' and 'outset'.", "example": "groove", "type": "line", "suggestedvalues": [ "solid", "double", "dashed", "dotted", "groove", "ridge", "inset", "outset", "none" ],			"default": "double" },		"borderwidth": { "label": "Border width", "description": "A measurement of the desired width of the box's border, formatted as a floating point decimal value followed immediately by the symbol or abbreviation for one of the 15 valid CSS3 units of distance (five absolute and ten relative to the user's device/display environment, though the absolute units are discouraged from use on WikiBooks as they are intended primarily for material to be physically printed) with no whitespace between them. The relative units are: '%' (percentage of parent object's size on the same axis), 'em' (width of lowercase m at page's default font size), 'rem' (width of lowercase m at browser's default text size), 'px' (display pixels, integer values only), 'vw', 'vh', 'vmin', 'vmax' (percentage of: display width, height, or smaller and larger of the display axes, respectively), 'ex' (height of lowercase x at page's default font size) and 'ch' (width of 0 at page's default font size). Absolute units are: 'pc' (picas), 'pt' (points), 'cm' (centimeters), 'mm' (millimeters) and 'in' (inches).",			"example": "0.75em",			"type": "line",			"default": "4px"		},		"PrevPage": {			"label": "Previous page link",			"type": "content",			"description": "Accepts a (piped) wikilink to the book's previous page, include the double square brackets on each end.",			"deprecated": "Use 'prev' and 'prev_disp' parameters, instead."		},		"BookName": {			"label": "Book link",			"type": "content",			"deprecated": "Use 'book' and 'book_disp' parameters, instead.",			"description": "Accepts a (piped) wikilink to the book's main page, include the double square brackets on each end.",			"default": "|"		},		"NextPage": {			"label": "Next page link",			"type": "content",			"deprecated": "Use 'next' and 'next_disp' parameters, instead.",			"description": "Accepts a (piped) wikilink to the book's next page, include the double square brackets on each end." },		"prev": { "label": "Previous page target", "description": "The full page name (and namespace, if necessary) of the previous page in the book", "type": "wiki-page-name", "required": true },		"prev_disp": { "label": "Previous page link text", "description": "The text you wish to be linked to the previous page in the book. (optional)", "type": "line" },		"book_disp": { "label": "Book link text", "description": "The text you wish to be linked to the book's main page. (optional)", "type": "line", "suggested": true },		"book": { "label": "Book target", "description": "The full page name (and namespace, if necessary) of the book's main page", "type": "wiki-page-name", "default": ":", "suggested": true },		"next": { "label": "Next page target", "description": "The full page name (and namespace, if necessary) of the next page in the book", "type": "wiki-page-name", "required": true },		"next_disp": { "label": "Next page link text", "description": "The text you wish to be linked to the next page in the book. (optional)", "type": "line" },		"current": { "label": "Current page display text", "description": "The text you wish to appear unlinked beneath the book name, if not the actual of the page it appears on. (optional)", "type": "line", "default": "", "aliases": [ "CurrentPage" ]		}	} }