User talk:Eviand/Classtest: Difference between revisions
Discussion page of User:Eviand/Classtest
More actions
Created page with "{| style="width:100%; border-collapse:collapse; margin:0 0 0.5em 0;" | style="text-align:left; vertical-align:middle; padding:0.25em 0;" | {{#if:{{{Prev|}}}|← '''[[Update:{{{Prev}}}|{{{Prev}}}]]'''|}} | style="text-align:center; vertical-align:middle; padding:0.25em 0;" | {{#if:{{{publishdate|}}} | {{#if: {{#time:U|{{{publishdate}}}}} | '''{{#ifexpr: {{#time:U|{{{publishdate}}}}} > {{#time:U}} | Upcoming: {{{publishdate}}} | Released: {{{publishdate}}} }}''' | '''Publi..." Tag: wikieditor |
No edit summary Tag: wikieditor |
||
| Line 14: | Line 14: | ||
|} | |} | ||
<noinclude> | |||
<templatedata> | <templatedata> | ||
{ | { | ||
| Line 47: | Line 48: | ||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude> | |||
Revision as of 01:05, 1 October 2025
| {{#if:|← [[Update:{{{Prev}}}|{{{Prev}}}]]|}} | {{#if: | {{{publishdate}}}}} | {{{publishdate}}}}} > {{#time:U}} | Upcoming: {{{publishdate}}} | Released: {{{publishdate}}}
}} |
Publish date: Unknown
}} |
Publish date: Unknown
}} |
{{#if:{Template:Next|[[Update:{{{Next}}}|{{{Next}}}]] →|}} |
<templatedata>
{
"description": "Standalone previous/next navigator for Update: pages. Shows status (Upcoming/Released) and the publish date in bold. No CSS, DPL, or Lua required.",
"format": "block",
"params": {
"Prev": {
"label": "Previous Update Title",
"description": "Title of the previous update page (without the 'Update:' prefix).",
"type": "string",
"example": "SpiritVale Playtest 0.1.3",
"required": false,
"suggested": true
},
"Next": {
"label": "Next Update Title",
"description": "Title of the next update page (without the 'Update:' prefix).",
"type": "string",
"example": "SpiritVale Playtest 0.1.4",
"required": false,
"suggested": true
},
"publishdate": {
"label": "Publish Date",
"description": "Human-readable date (e.g., 'August 7, 2025'). If parsable, shows Upcoming (future) or Released (past/present).",
"type": "string",
"example": "August 7, 2025",
"required": false,
"suggested": true
}
},
"paramOrder": ["Prev", "Next", "publishdate"]
} </templatedata>