Template:PrevNext/doc

Template page
< Template:PrevNext
Revision as of 16:51, 2 May 2021 by .jim (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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)
{{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)