Template:PatchNav: Difference between revisions
Template page
More actions
No edit summary |
No edit summary Tag: Reverted |
||
| Line 3: | Line 3: | ||
{| style="width:100%; table-layout:fixed; border-collapse:collapse; margin:0;" | {| style="width:100%; table-layout:fixed; border-collapse:collapse; margin:0;" | ||
| style="width:33.33%; text-align:left; vertical-align:middle; padding:0.25em 0;" | | | style="width:33.33%; text-align:left; vertical-align:middle; padding:0.25em 0;" | | ||
{{PatchNav/Prev | page = {{{Prev|{{{PrevTitle|}}}}}}}} | {{PatchNav/Prev | page = {{{Prev|{{{PrevTitle|}}}}}} | ns = {{{ns|}}} }} | ||
| style="width:33.33%; text-align:center; vertical-align:middle; padding:0.25em 0;" | | | style="width:33.33%; text-align:center; vertical-align:middle; padding:0.25em 0;" | | ||
{{PatchNav/Current | publishdate = {{{publishdate|}}} | blurb = {{{blurb|}}} }} | {{PatchNav/Current | publishdate = {{{publishdate|}}} | blurb = {{{blurb|}}} }} | ||
| style="width:33.33%; text-align:right; vertical-align:middle; padding:0.25em 0;" | | | style="width:33.33%; text-align:right; vertical-align:middle; padding:0.25em 0;" | | ||
{{PatchNav/Next | page = {{{Next|{{{NextTitle|}}}}}}}} | {{PatchNav/Next | page = {{{Next|{{{NextTitle|}}}}}} | ns = {{{ns|}}} }} | ||
|} | |} | ||
</div> | </div> | ||
| Line 14: | Line 14: | ||
<templatedata> | <templatedata> | ||
{ | { | ||
"description": " | "description": "Prev/Current/Next navigator for patch/update pages. Namespace-aware. Accepts publishdate/blurb but only displays the date; blurb is stored.", | ||
"params": { | "params": { | ||
"Prev": { "type": "string", "aliases": ["PrevTitle"] }, | "Prev": { "type": "string", "aliases": ["PrevTitle"] }, | ||
"publishdate": { "type": "string" }, | "publishdate": { "type": "string" }, | ||
"blurb": { "type": "string" }, | "blurb": { "type": "string" }, | ||
"Next": { "type": "string", "aliases": ["NextTitle"] } | "Next": { "type": "string", "aliases": ["NextTitle"] }, | ||
"ns": { "type": "string", "description": "Optional namespace to use for Prev/Next links. Defaults to the current page’s namespace." } | |||
}, | }, | ||
"paramOrder": ["Prev", "publishdate", "blurb", "Next"] | "paramOrder": ["Prev", "publishdate", "blurb", "Next", "ns"] | ||
} | } | ||
</templatedata> | </templatedata> | ||
[[Category: | [[Category:Te]()]() | ||
Revision as of 18:12, 2 October 2025
|
Previous |
PatchNav |
Next |
Prev/Current/Next navigator for patch/update pages. Namespace-aware. Accepts publishdate/blurb but only displays the date; blurb is stored.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Prev | Prev PrevTitle | no description | String | optional |
| publishdate | publishdate | no description | String | optional |
| blurb | blurb | no description | String | optional |
| Next | Next NextTitle | no description | String | optional |
| ns | ns | Optional namespace to use for Prev/Next links. Defaults to the current page’s namespace. | String | optional |
[[Category:Te]()]()