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
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| style="margin: 0 auto; column-fill: balance; width: 100%;"
<br>
----
{| style="margin: 0 auto; column-fill: balance; width: 100%; table-layout: fixed;"
|-
|-
| {{#if: {{{prevServer|}}} | style="border-right: 1px solid grey; padding-right: 2ch;" {{!}} [[{{{prevServer}}} | ← Previous Server: {{{prevServer}}} ]] }}
| {{#if: {{{prevServer|}}} | [[{{{prevServer}}} | ← Previous Server: {{{prevServer}}} ]] | ← Previous Server: N/A }}
| ''{{{currentServer}}}''
| style="text-align: center;" | ''{{{currentServer}}}''
| {{#if: {{{nextServer|}}} | style="text-align: right; padding-left: 2ch" {{!}} [[{{{nextServer}}} | Next Server: {{{nextServer}}} →]] }}
| style="text-align: right;" |  {{#if: {{{nextServer|}}} | [[{{{nextServer}}} | Next Server: {{{nextServer}}} →]] | Next Server: N/A → }}
|}
|}
<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>

Latest revision as of 17:35, 30 September 2022



← Previous Server: N/A {{{currentServer}}} Next Server: N/A →

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