Template:PrevNext

Template page
Revision as of 20:33, 17 March 2020 by imported>Alistar Bot (→‎top: Hygiene, replaced: {{documentation}} → {{/doc}})
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Template documentation[view][edit][history][purge]
This documentation is transcluded from Template:PrevNext/doc. Changes can be proposed in the talk page.

This template is being deprecated, check out {{Prevnext}} instead.

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)