检查到模板循环:模板:Prevnext/doc
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
| 页面名称 | 推荐 |