切換選單
切換個人選單
尚未登入
如果您进行任何编辑,您的IP地址会公开展示。

模板:Prevnext

模板頁面
Template documentation[view][edit][history][purge]
This documentation is transcluded from Template:Prevnext/doc. Changes can be proposed in the talk page.
Template:Prevnext invokes Template:Prevnext/styles.css using TemplateStyles.

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

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

April

TemplateData

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

模板參數

此模板以參數區塊格式為優先。

參數描述類型狀態
Previous page nameprev

Page name of the previous page

範例
United Nations of Earth
頁面名稱建議
Previous title textprevTitle

Optional title text for previous page

字串建議
Previous description textprevDesc

Optional description text for previous page

範例
Preceded by
字串建議
Title texttitle

Optional title text shown in the middle of the navigation bar

預設
Current page name
字串選填
Description textdesc

Optional description text shown in the middle of the navigation bar

字串選填
Next page namenext

Page name of the next page

範例
United Empire of Earth
頁面名稱建議
Next title textnextTitle

Optional title text for next page

字串建議
Next description textnextDesc

Optional description text for next page

範例
Succeed by
頁面名稱建議
Cookies 幫助我們給予服務內容。依您有使用我們的服務,代表您同意我們使用 cookies。