Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Join the Playtest on Steam Now: SpiritVale

Template:PatchNav: Difference between revisions

Template page
No edit summary
No edit summary
Line 5: Line 5:
''Previous''<br />
''Previous''<br />
{{#if:{{{Prev|{{{PrevTitle|}}}}}}|
{{#if:{{{Prev|{{{PrevTitle|}}}}}}|
'''[[Update:{{{Prev|{{{PrevTitle|}}}}}}|{{#titleparts:{{{Prev|{{{PrevTitle|}}}}}}|1|2|:}}]]'''<br />
'''[[Update:{{{Prev|{{{PrevTitle|}}}}}}|{{{Prev|{{{PrevTitle|}}}}}}]]'''<br />
{{#if: {{#show: Update:{{{Prev|{{{PrevTitle|}}}}}} | ?Publish date }}
{{#if: {{#show: Update:{{{Prev|{{{PrevTitle|}}}}}} | ?Publish date }}
| {{#if: {{#time:U|{{#show: Update:{{{Prev|{{{PrevTitle|}}}}}} | ?Publish date#ISO }}}}
| {{#if: {{#time:U|{{#show: Update:{{{Prev|{{{PrevTitle|}}}}}} | ?Publish date#ISO }}}}
Line 16: Line 16:
| '''End of Activity''' }}
| '''End of Activity''' }}
| 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;" |
'''{{#titleparts:{{FULLPAGENAME}}|1|2|:}}'''<br /><span style="display:none;">{{#if:{{{publishdate|}}}|{{#if:{{#show: {{FULLPAGENAME}} | ?Publish date }}||{{#set: Publish date={{{publishdate}}} }} }} }}</span>
'''{{PAGENAME}}'''<br /><span style="display:none;">{{#if:{{{publishdate|}}}|{{#if:{{#show: {{FULLPAGENAME}} | ?Publish date }}||{{#set: Publish date={{{publishdate}}} }} }} }}</span>
{{#if:{{{publishdate|}}}|
{{#if:{{{publishdate|}}}|
{{#if: {{#time:U|{{{publishdate}}}}}
{{#if: {{#time:U|{{{publishdate}}}}}
Line 28: Line 28:
{{#if:{{{Next|{{{NextTitle|}}}}}}|
{{#if:{{{Next|{{{NextTitle|}}}}}}|
''Next''<br />
''Next''<br />
'''[[Update:{{{Next|{{{NextTitle|}}}}}}|{{#titleparts:{{{Next|{{{NextTitle|}}}}}}|1|2|:}}]]'''<br />
'''[[Update:{{{Next|{{{NextTitle|}}}}}}|{{{Next|{{{NextTitle|}}}}}}]]'''<br />
{{#if: {{#show: Update:{{{Next|{{{NextTitle|}}}}}} | ?Publish date }}
{{#if: {{#show: Update:{{{Next|{{{NextTitle|}}}}}} | ?Publish date }}
| {{#if: {{#time:U|{{#show: Update:{{{Next|{{{NextTitle|}}}}}} | ?Publish date#ISO }}}}
| {{#if: {{#time:U|{{#show: Update:{{{Next|{{{NextTitle|}}}}}} | ?Publish date#ISO }}}}
Line 44: Line 44:
<templatedata>
<templatedata>
{
{
   "description": "Previous/current/next navigator for Update: pages. Auto-pulls prev/next dates via SMW (Property:Publish date). Self-annotates the current page's date when 'publishdate' is provided. Hides the 'Update:' prefix in visible labels and shows 'End of Activity' when there is no previous page.",
   "description": "Previous/current/next navigator for Update: pages. Auto-pulls prev/next dates via SMW (Property:Publish date). Self-annotates the current page's date when 'publishdate' is provided. Shows 'Previous'/'Next' labels and 'End of Activity' when there is no previous page.",
   "format": "block",
   "format": "block",
   "params": {
   "params": {
     "Prev": {
     "Prev": {
       "label": "Previous Update Title",
       "label": "Previous Update Title",
       "description": "Title of the previous update page (without the 'Update:' prefix). If 'Update:' is included, it will be hidden in the label.",
       "description": "Visible text and link target (without the 'Update:' prefix preferred).",
       "type": "string",
       "type": "string",
       "example": "SpiritVale Playtest 0.1.3",
       "example": "SpiritVale Playtest 0.1.3",
Line 66: Line 66:
     "Next": {
     "Next": {
       "label": "Next Update Title",
       "label": "Next Update Title",
       "description": "Title of the next update page (without the 'Update:' prefix). If 'Update:' is included, it will be hidden in the label.",
       "description": "Visible text and link target (without the 'Update:' prefix preferred).",
       "type": "string",
       "type": "string",
       "example": "SpiritVale Playtest 0.1.4",
       "example": "SpiritVale Playtest 0.1.4",

Revision as of 02:26, 1 October 2025

Previous
End of Activity

PatchNav
Release date: Unknown


Previous/current/next navigator for Update: pages. Auto-pulls prev/next dates via SMW (Property:Publish date). Self-annotates the current page's date when 'publishdate' is provided. Shows 'Previous'/'Next' labels and 'End of Activity' when there is no previous page.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Previous Update TitlePrev PrevTitle

Visible text and link target (without the 'Update:' prefix preferred).

Example
SpiritVale Playtest 0.1.3
Stringsuggested
Publish Date (Current Page)publishdate

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.

Example
August 7, 2025
Stringsuggested
Next Update TitleNext NextTitle

Visible text and link target (without the 'Update:' prefix preferred).

Example
SpiritVale Playtest 0.1.4
Stringsuggested