Template:ServerNavigation: Difference between revisions

From TNTable
Created page with "{| style="margin: 0 auto; column-fill: balance; width: 100%;" |- | {{#if: {{{prevServer|}}} | style="border-right: 1px solid grey; padding-right: 2ch;" {{!}} [[{{{prevServer}}} | ← Previous Server: {{{prevServer}}} ]] }} | ''{{{currentServer}}}'' | {{#if: {{{nextServer|}}} | style="text-align: right; padding-left: 2ch" {{!}} [[{{{nextServer}}} | Next Server: {{{nextServer}}} →]] }} |}"
 
No edit summary
Line 5: Line 5:
| {{#if: {{{nextServer|}}} | style="text-align: right; padding-left: 2ch" {{!}} [[{{{nextServer}}} | Next Server: {{{nextServer}}} →]] }}
| {{#if: {{{nextServer|}}} | style="text-align: right; padding-left: 2ch" {{!}} [[{{{nextServer}}} | Next Server: {{{nextServer}}} →]] }}
|}
|}
<noinclude>
<templatedata>
{
"params": {
"prevServer": {
"label": "Previous Server",
"description": "The server that came before this.",
"type": "wiki-page-name",
"suggested": true
},
"currentServer": {
"label": "Current Server",
"description": "This server.",
"type": "wiki-page-name",
"required": true
},
"nextServer": {
"label": "Next Server",
"description": "The next server in chronological order.",
"type": "wiki-page-name",
"suggested": true
}
},
"description": "Use this at the bottom of server pages to provide navigation to the previous and next servers in chronological order. ",
"paramOrder": [
"prevServer",
"currentServer",
"nextServer"
]
}
</templatedata>
</noinclude>

Revision as of 17:22, 30 September 2022

{{{currentServer}}}

Use this at the bottom of server pages to provide navigation to the previous and next servers in chronological order.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Previous ServerprevServer

The server that came before this.

Page namesuggested
Current ServercurrentServer

This server.

Page namerequired
Next ServernextServer

The next server in chronological order.

Page namesuggested