×
Create a new article
Write your page title here:
We currently have 2,624 articles on Yume Nikki Fangames Wiki. Type your article name above or click on one of the titles below and start writing!



Yume Nikki Fangames Wiki

Template:Date: Difference between revisions

>Facto
mNo edit summary
mNo edit summary
Tag: Manual revert
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>For use with [[Template:Gamebox|Gamebox]].</noinclude>
<noinclude>For use with [[Template:Gamebox|Gamebox]].
[[:Category:Released in {{#time:Y|{{{1}}}}}|{{#time:F j, Y|{{{1}}}}}]]
 
Usage:
 
<nowiki>{{Date|2012-07-01}}</nowiki> returns {{Date|2012-07-01}},
 
<nowiki>{{Date|2012-07}}</nowiki> returns {{Date|2012-07}}, and
 
<nowiki>{{Date|2012}}</nowiki> returns {{Date|2012}}
</noinclude>
[[:Category:Released in {{#time:Y|{{{1}}}}}|
{{#ifeq:{{{1}}}|{{#time:Y-m|{{{1}}}}}|
    {{#time:F Y|{{{1}}}}}|
    {{#ifeq:{{{1}}}|{{#time:Y|{{{1}}}}}|
        {{#time:Y|{{{1}}}}}|
        {{#time:F j, Y|{{{1}}}}}
    }}
}}]]

Latest revision as of 10:19, 29 August 2023

For use with Gamebox.

Usage:

{{Date|2012-07-01}} returns July 1, 2012,

{{Date|2012-07}} returns July 2012, and

{{Date|2012}} returns 2012

[[:Category:Released in Error: Invalid time.| Error: Invalid time.]]