Want to contribute? Join the Discord and ask for the editor role.
Template:PrevNext/doc
Template page
< Template:PrevNext
Revision as of 22:06, 17 March 2020 by RTGame>Alistar Bot (→top: Hygiene)
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.
Simple Syntax
Type {{PrevNext|Prev=<page name>|Next=<page name>}}
Optional Parameters
PrevText
- A short descriptive text under the previous page name
NextText
- A short descriptive text under the next page name
Sample output
{{PrevNext|Prev=22nd Century|Next=24th Century}}
gives:
←
22nd Century(Previous)
24th Century (Next)
→{{PrevNext|Prev=22nd Century|PrevText=A century ago|Next=24th Century|NextText=A century after}}
gives:
←
22nd Century(A century ago)
24th Century (A century after)
→