(Created page with "{{Documentation}} 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 Em...") |
No edit summary |
||
Line 88: | Line 88: | ||
} | } | ||
</templatedata> | </templatedata> | ||
{{Note|'''Note:''' A portion of the text above originated from the [https://starcitizen.tools/ SC Tools wiki] under [https://creativecommons.org/licenses/by-nc-sa/3.0/ CC BY-NC-SA 3.0] license.}} |
Latest revision as of 11:56, 22 February 2023
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
Parameter | Description | Type | Status | |
---|---|---|---|---|
Previous page name | prev | Page name of the previous page
| Page name | suggested |
Previous title text | prevTitle | Optional title text for previous page | String | suggested |
Previous description text | prevDesc | Optional description text for previous page
| String | suggested |
Title text | title | Optional title text shown in the middle of the navigation bar
| String | optional |
Description text | desc | Optional description text shown in the middle of the navigation bar | String | optional |
Next page name | next | Page name of the next page
| Page name | suggested |
Next title text | nextTitle | Optional title text for next page | String | suggested |
Next description text | nextDesc | Optional description text for next page
| Page name | suggested |