User talk:Eviand/Classtest: Difference between revisions
Discussion page of User:Eviand/Classtest
More actions
No edit summary Tag: wikieditor |
No edit summary Tag: wikieditor |
||
| Line 16: | Line 16: | ||
| 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;" | | ||
'''{{PAGENAME}}'''<br /> | '''{{PAGENAME}}'''<br /> | ||
{{#if:{{{publishdate|}}}|{{#if:{{#show: {{FULLPAGENAME}} | ?Publish date }}||{{#set: Publish date={{{publishdate}}} }} }} }} | |||
{{#if:{{{publishdate|}}}| | {{#if:{{{publishdate|}}}| | ||
{{#if: {{#time:U|{{{publishdate}}}}} | {{#if: {{#time:U|{{{publishdate}}}}} | ||
| Line 42: | Line 43: | ||
<templatedata> | <templatedata> | ||
{ | { | ||
"description": "Previous/current/next navigator for Update: pages. Auto-pulls prev/next dates via Semantic MediaWiki (Property:Publish date). | "description": "Previous/current/next navigator for Update: pages. Auto-pulls prev/next dates via Semantic MediaWiki (Property:Publish date). Self-annotates the current page's Publish date from the 'publishdate' parameter if not already set. If no previous page, shows 'End of Activity' (not a link).", | ||
"format": "block", | "format": "block", | ||
"params": { | "params": { | ||
| Line 56: | Line 57: | ||
"publishdate": { | "publishdate": { | ||
"label": "Publish Date (Current Page)", | "label": "Publish Date (Current Page)", | ||
"description": " | "description": "Human-readable date for the current page (e.g., 'August 7, 2025'). Used to set SMW Property:Publish date if not already set, and to show Upcoming/Released.", | ||
"type": "string", | "type": "string", | ||
"example": "August 7, 2025", | "example": "August 7, 2025", | ||
Revision as of 01:56, 1 October 2025
|
Previous |
{{#show: Update: | ?Publish date#ISO }}}} | {{#show: Update: | ?Publish date#ISO }}}} >= {{#time:U}} | ?Publish date }} | ?Publish date }}
}} |
Release date: Unknown }} | Release date: Unknown }} | End of Activity }} |
Eviand/Classtest |
{{{publishdate}}}}} >= {{#time:U}} | Upcoming: {{{publishdate}}} | Released: {{{publishdate}}}
}} |
Release date: Unknown }} | Release date: Unknown }} |
{{#if:|
Next |
{{#show: Update: | ?Publish date#ISO }}}} | {{#show: Update: | ?Publish date#ISO }}}} >= {{#time:U}} | ?Publish date }} | ?Publish date }}
}} |
Release date: Unknown }} | Release date: Unknown }} |
|}
<templatedata> {
"description": "Previous/current/next navigator for Update: pages. Auto-pulls prev/next dates via Semantic MediaWiki (Property:Publish date). Self-annotates the current page's Publish date from the 'publishdate' parameter if not already set. If no previous page, shows 'End of Activity' (not a link).",
"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"]
},
"publishdate": {
"label": "Publish Date (Current Page)",
"description": "Human-readable date for the current page (e.g., 'August 7, 2025'). Used to set SMW Property:Publish date if not already set, and to show Upcoming/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"]
}
},
"paramOrder": ["Prev", "publishdate", "Next"]
} </templatedata>