User talk:Eviand/Classtest
More actions
|
{{#if:|
[[Update:|]] |
Release date: Unknown }} | Release date: Unknown }} |
}
| style="text-align:center; vertical-align:middle; padding:0.25em 0;" |
Eviand/Classtest
{{#if:|
{{#if: {{#time:U|{{{publishdate}}}}} |
{{#ifexpr: {{#time:U|{{{publishdate}}}}} >= {{#time:U}} | Upcoming: {{{publishdate}}} | Released: {{{publishdate}}} }}
| Release date: Unknown }}
| Release date: Unknown }}
| style="text-align:right; vertical-align:middle; padding:0.25em 0;" |
{{#if:|
[[Update:|]]
{{#if:|
{{#if: {{#time:U|{{{NextDate}}}}} |
{{#ifexpr: {{#time:U|{{{NextDate}}}}} >= {{#time:U}} | Upcoming: {{{NextDate}}} | Released: {{{NextDate}}} }}
| Release date: Unknown }}
| Release date: Unknown }}
|}}
|}
<templatedata> {
"description": "Standalone previous/current/next navigator for Update: pages. First line shows the title; second line shows status (Upcoming/Released) and date.",
"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,
"aliases": ["PrevTitle"]
},
"PrevDate": {
"label": "Previous Update Publish Date",
"description": "Optional human-readable date for the PREVIOUS page. If omitted or unparsable, shows 'Release date: Unknown'.",
"type": "string",
"example": "July 28, 2025",
"required": false
},
"publishdate": {
"label": "Publish Date (Current Page)",
"description": "Human-readable date for the CURRENT page (e.g., 'August 7, 2025'). If in the future, shows 'Upcoming'; otherwise 'Released'.",
"type": "string",
"example": "August 7, 2025",
"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,
"aliases": ["NextTitle"]
},
"NextDate": {
"label": "Next Update Publish Date",
"description": "Optional human-readable date for the NEXT page. If omitted or unparsable, shows 'Release date: Unknown'.",
"type": "string",
"example": "August 21, 2025",
"required": false
}
},
"paramOrder": ["Prev", "PrevDate", "publishdate", "Next", "NextDate"]
} </templatedata>