更多操作
小无编辑摘要 |
小 已保护“模板:Prevnext/doc”([编辑=仅允许管理员](无限期)[移动=仅允许管理员](无限期)) |
||
(没有差异)
|
2025年5月31日 (六) 10:44的最新版本
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:
{{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
参数 | 描述 | 类型 | 状态 | |
---|---|---|---|---|
Previous page name | prev | Page name of the previous page
| 页面名称 | 推荐 |
Previous title text | prevTitle | Optional title text for previous page | 字符串 | 推荐 |
Previous description text | prevDesc | Optional description text for previous page
| 字符串 | 推荐 |
Title text | title | Optional title text shown in the middle of the navigation bar
| 字符串 | 可选 |
Description text | desc | Optional description text shown in the middle of the navigation bar | 字符串 | 可选 |
Next page name | next | Page name of the next page
| 页面名称 | 推荐 |
Next title text | nextTitle | Optional title text for next page | 字符串 | 推荐 |
Next description text | nextDesc | Optional description text for next page
| 页面名称 | 推荐 |