Template:Prevnext/doc

From IxWiki
Revision as of 00:44, 2 August 2024 by Heku (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The {{Prevnext}} template is used to provide a top navigation bar that shows the previous and next pages. It is an updated version of the {{PrevNext}} template but it only supports one link at the moment.

Examples

{{Prevnext|prev=United Nations of Earth|prevDesc=Preceded by|next=United Empire of Earth|nextDesc=Successor}} gives:

{{Prevnext|title=Released|desc=2022-10-06 - 7 days ago|prev=Star Citizen Alpha 3.17.2|prevDesc=2022-07-28|next=Star Citizen Alpha 3.18.0|nextDesc=2022-11-30}} gives:

Released
2022-10-06 - 7 days ago

{{Prevnext|title=April|prev=March 1|prevTitle=Mar|next=May 1|nextTitle=May}} gives:

TemplateData

Provide a top navigation bar that shows the previous and next pages

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Previous page nameprev

Page name of the previous page

Example
United Nations of Earth
Page namesuggested
Previous title textprevTitle

Optional title text for previous page

Stringsuggested
Previous description textprevDesc

Optional description text for previous page

Example
Preceded by
Stringsuggested
Title texttitle

Optional title text shown in the middle of the navigation bar

Default
Current page name
Stringoptional
Description textdesc

Optional description text shown in the middle of the navigation bar

Stringoptional
Next page namenext

Page name of the next page

Example
United Empire of Earth
Page namesuggested
Next title textnextTitle

Optional title text for next page

Stringsuggested
Next description textnextDesc

Optional description text for next page

Example
Succeed by
Page namesuggested