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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Previous Server | prevServer | The server that came before this. | Page name | suggested |
Current Server | currentServer | This server. | Page name | required |
Next Server | nextServer | The next server in chronological order. | Page name | suggested |