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|}}} | | | {{#if: {{{prevServer|}}} | [[{{{prevServer}}} | ← Previous Server: {{{prevServer}}} ]] | ← Previous Server: N/A }} | ||
| ''{{{currentServer}}}'' | | style="text-align: center;" | ''{{{currentServer}}}'' | ||
| {{#if: {{{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.
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 |