Template:Prevnext/doc: Difference between revisions

Template page
No edit summary
 
m (1 revision imported: New Files)
 

Latest revision as of 11:54, 24 March 2024

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:

doc

{{Prevnext|title=Released|desc=2022-10-06 - 7 days ago|prev=Dyson Sphere Program Alpha 3.17.2|prevDesc=2022-07-28|next=Dyson Sphere Program 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:

April

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


🍪 We use cookies to keep session information to provide you a better experience.