Jump to content

Template:Version to Date

From The Petit Planet Wiki
Revision as of 00:26, 10 November 2025 by ReisuDesign (talk | contribs) (Created page with "<includeonly><!-- -->{{#if:{{{1|}}}|<!-- -->{{#vardefine:date|<!-- -->{{#switch:{{{1|}}}<!-- -->|Coziness Test = 2025-11-07<!-- 1st Beta -->|#default = <!-- -->}}<!-- -->}}<!-- -->{{#if:{{#var:date}}|<!-- -->{{#if:{{{format|}}}<!-- -->|{{#time:{{{format|}}}|{{#var:date}}}}<!-- -->|{{#var:date}}<!-- -->}}<!-- -->}}<!-- -->}}</includeonly><noinclude>{{Documentation|type=Data}}</noinclude>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Template documentation
Note: parts of or the entire template might not be visible without values provided.

Template that returns the start date of the Version.

Syntax

{{Version to Date|version number}}

Examples

{{Version to Date}} yields:
{{Version to Date|Coziness Test}} yields: 2025-11-07
{{Version to Date|Stardrift Test}} yields:

See Also

Template Data

Returns the start date of the Version.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Version1

Version number

Example
3.5
Numbersuggested
Formatformat

Format of returned date, as used in the #time parser function

Example
d M, Y
Stringoptional