Template:Date to Version: Difference between revisions

From Honkai: Nexus Anima Wiki
Jump to navigation Jump to search
mNo edit summary
m cbt1 start date
Line 3: Line 3:
   -->{{#vardefine:currU|{{#time:U|{{{1|}}}}}}}<!--
   -->{{#vardefine:currU|{{#time:U|{{{1|}}}}}}}<!--
   -->{{#switch:1<!--
   -->{{#switch:1<!--
       -->|{{#ifexpr:{{#var:currU}} < {{#time:U|2026-01-01}}|1}} = 0.0  <!-- first beta start date
       -->|{{#ifexpr:{{#var:currU}} < {{#time:U|2025-09-17}}|1}} = 0.0  <!-- first beta start date
       -->|{{#ifexpr:{{#var:currU}} < {{#time:U|2026-01-01}}|1}} = 0.0.1 <!-- second beta start date
       -->|{{#ifexpr:{{#var:currU}} < {{#time:U|2026-01-01}}|1}} = 0.0.1 <!-- second beta start date
       -->|{{#ifexpr:{{#var:currU}} < {{#time:U|2026-01-01}}|1}} = 0.0.2 <!--
       -->|{{#ifexpr:{{#var:currU}} < {{#time:U|2026-01-01}}|1}} = 0.0.2 <!--

Revision as of 01:52, 16 September 2025

Documentation icon Template documentation
Note: parts of or the entire template might not be visible without values provided.
This template uses Module:Version Dates, a script written in Lua.

Template that returns the current Version on a particular date.

Syntax

{{Date to Version|date}}

Examples

{{Date to Version|2025-08-30}} yields: 0.0
{{Date to Version|September 17, 2025}} yields: 0.0.1
{{Date to Version|January 25 2026}} yields: 1.0

Template Data

No description.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
11

Date to input.

Daterequired