This is a documentation subpage for Template:Prevnext. It contains usage information, categories and other content that is not part of the original template page. |
The {{Prevnext}} template is used to provide a top navigation bar that shows the previous and next pages.
Examples
{{Prevnext|title=some name here|prev=page link|prevDesc=Preceded by|next=page link|nextDesc=Successor}}
gives:
{{Prevnext|title=May|prev=1 April|prevTitle=Apr|next=1 June|nextTitle=June}}
gives:
TemplateData
Provide a top navigation bar that shows the previous and next pages
Parameter | Description | Type | Status | |
---|---|---|---|---|
Previous page name | prev | Page name of the previous page
| Page name | suggested |
Previous title text | prevTitle | Optional title text for previous page | String | suggested |
Previous description text | prevDesc | Optional description text for previous page
| String | suggested |
Title text | title | Optional title text shown in the middle of the navigation bar
| String | optional |
Description text | desc | Optional description text shown in the middle of the navigation bar | String | optional |
Next page name | next | Page name of the next page
| Page name | suggested |
Next title text | nextTitle | Optional title text for next page | String | suggested |
Next description text | nextDesc | Optional description text for next page
| Page name | suggested |