Want to contribute? Join the Discord and ask for the editor role.
Template:PrevNext: Difference between revisions
Template page
RTGame>Alistar Bot m (→top: Hygiene, replaced: {{documentation}} → {{/doc}}) |
m (1 revision imported) |
(No difference)
|
Latest revision as of 16:51, 2 May 2021
This documentation is transcluded from Template:PrevNext/doc. Changes can be proposed in the talk page.
The {{PrevNext}} template is used to provide a top navigation bar that shows the previous and next pages.
Simple Syntax
Type {{PrevNext|Prev=<page name>|Next=<page name>}}
Optional Parameters
PrevText
- A short descriptive text under the previous page name
NextText
- A short descriptive text under the next page name
Sample output
{{PrevNext|Prev=22nd Century|Next=24th Century}}
gives:
←
22nd Century(Previous)
24th Century (Next)
→{{PrevNext|Prev=22nd Century|PrevText=A century ago|Next=24th Century|NextText=A century after}}
gives:
←
22nd Century(A century ago)
24th Century (A century after)
→