Template:PrintInputDate: Difference between revisions

From Shadow Chronicles - Mortal
Jump to navigation Jump to search
(Created page with "<includeonly>{{#if:{{{1|}}}|{{{1|}}}|{{#if:{{{2|}}}|-{{{2|}}}{{#if:{{{3|}}}|-{{{3|}}}}}}}|<strong class="warning">No defined date found!</strong>}}</includeonly><noinclude> ...")
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly>{{#if:{{{1|}}}|{{{1|}}}|{{#if:{{{2|}}}|-{{{2|}}}{{#if:{{{3|}}}|-{{{3|}}}}}}}|<strong class="warning">No defined date found!</strong>}}</includeonly><noinclude>
<includeonly>{{#dateformat:{{{1|}}}{{#if:{{{2|}}}|-{{{2|}}}{{#if:{{{3|}}}|-{{{3|}}}}}}}|{{#if:{{{4|}}}|{{{4|}}}|ISO 8601}}}}</includeonly><noinclude>
== Exsample use ==
<nowiki>:{{PrintInputDate|2010|04|11|dmy}}
:{{PrintInputDate|2010|04|11|}}
:{{PrintInputDate|2010|04|}}
:{{PrintInputDate|2010||}}
:{{PrintInputDate|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}
:{{PrintInputDate|||}}</nowiki>
 
:{{PrintInputDate|2010|04|11|dmy}}
:{{PrintInputDate|2010|04|11|}}
:{{PrintInputDate|2010|04|}}
:{{PrintInputDate|2010||}}
:{{PrintInputDate|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}
:{{PrintInputDate|||}}
[[Category:Templates]]</noinclude>
[[Category:Templates]]</noinclude>

Latest revision as of 17:44, 13 July 2017

Exsample use

:{{PrintInputDate|2010|04|11|dmy}}
:{{PrintInputDate|2010|04|11|}}
:{{PrintInputDate|2010|04|}}
:{{PrintInputDate|2010||}}
:{{PrintInputDate|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}
:{{PrintInputDate|||}}
11 April 2010
2010-04-11
2010-04
2010
2024-11-24