创建页面,内容为“The {{t|Prevnext}} template is used to provide a top navigation bar that shows the previous and next pages. It is an updated version of the {{t|PrevNext}} template but it only supports one link at the moment. ==Examples== <code><nowiki> {{Prevnext|prev=United Nations of Earth|prevDesc=Preceded by|next=United Empire of Earth|nextDesc=Successor}}</nowiki></code> gives: {{Prevnext|Prevnext||prev=United Nations of Earth|prevDesc=Preceded by|next=United Empire of…”
The {{t|Prevnext}} template is used to provide a top navigation bar that shows the previous and next pages. It is an updated version of the {{t|PrevNext}} template but it only supports one link at the moment.
"description": "Optional description text for previous page",
"example": "Preceded by",
"type": "string",
"suggested": true
},
"title": {
"label": "Title text",
"description": "Optional title text shown in the middle of the navigation bar",
"type": "string",
"default": "Current page name"
},
"desc": {
"label": "Description text",
"description": "Optional description text shown in the middle of the navigation bar",
"type": "string"
},
"next": {
"label": "Next page name",
"description": "Page name of the next page",
"example": "United Empire of Earth",
"type": "wiki-page-name",
"suggested": true
},
"nextDesc": {
"label": "Next description text",
"description": "Optional description text for next page",
"example": "Succeed by",
"type": "wiki-page-name",
"suggested": true
},
"prevTitle": {
"label": "Previous title text",
"description": "Optional title text for previous page",
"type": "string",
"suggested": true
},
"nextTitle": {
"label": "Next title text",
"description": "Optional title text for next page",
"type": "string",
"suggested": true
}
},
"description": "Provide a top navigation bar that shows the previous and next pages",
"format": "block",
"paramOrder": [
"prev",
"prevTitle",
"prevDesc",
"title",
"desc",
"next",
"nextTitle",
"nextDesc"
]
}
</templatedata>
<includeonly>[[Category:Navplates]]</includeonly>
2025年5月16日 (五) 17:42的最新版本
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: