Changes

Jump to navigation Jump to search

Template:Date

3,437 bytes removed, 13:49, 28 October 2019
m
no edit summary
<includeonly>{{{{{|safesubst:}}}#switch:none |{{{{{|safesubst:}}}#iferrorinvoke: {{{{{String|safesubst:}}}#time:Y_M_dlen|s={{{1|}}} }} | none }} <noinclude><!-- #time: can't handle --></noinclude> |{{{{{|safesubst:}}}#iferror: {{{{{|safesubst:}}}#expr: {{{1|}}}+0 }} 2 |<noinclude><!--not a pure number--></noinclude> 3 |{{{{{4 |safesubst:}}}#ifexpr: 5 = {{{1|}}}+0 > 10000000000000 |<noinclude><!-- a yyyymmddhhmmss timestamp --></noinclude> |{{{{{|safesubst:}}}#ifeqtime: {{{{{Y|safesubst:}}}#expr:{{{1|}}}+0}} | {{{1|}}} | none <noinclude><!-- pure number eg 123.456 --></noinclude> | <noinclude><!-- assume yy-mm-dd --></noinclude> }} }} }} |{{{{{|safesubst:}}}#switch: {{{{{|safesubst:}}}lc:{{{2|}}}}} | none | asis 6 | link 7 | lnone 8 =none }} |{{{{{|safesubst:}}}#ifexpr: {{{{{|safesubst:}}}#time:F Y|{{{1|}}} }} < 1000 | none }} |{{{{{9 |safesubst:}}}#switch: 10 = {{{{{|safesubst:}}}#time:Ynjj F Y|{{{1|}}} }}|100031|110031|130031|140031|150031=none}} |= {{{{{|safesubst:}}}#if:{{{1|}}} |{{{{{|safesubst:}}}#switch:{{{2}}} |link|lnone|ldefault =[[{{{1}}}]] |{{{1}}} }} }}<noinclude><!-- strong class="error or "none", so no formatting -->error</noincludestrong> |<noinclude><!-- continue with formatting --></noinclude> {{{{{|safesubst:}}}#ifeq:<noinclude><!-- --></noincludeincludeonly>{{{{{|safesubst:}}}#time:Y|{{{1}}} 2008}}<noinclude><!--== Examples == --></noincludepre>{{{{{Date|safesubst:999}}}#iferror: {{{{{Date|safesubst:2019}}}#ifexpr: {{{1}}}>10000000000000 Date| no }} | }}<noinclude><!2019-- --></noinclude>{{{{{|safesubst:}}}#time:Y|{{{1}}} 2004}} |20082004 |<noinclude><!-- no year --></noincludepre> {{{* {{Date|safesubst:999}}}#ifeq:{{{* {{Date|safesubst:2019}}}#time:d|* {{{1}}} 2036}}Date|{{{{{|safesubst:}}}#time:d|{{{1}}} 2019-}} |<noinclude><!-- month+day --></noincludepre>{{{{{Date|safesubst:2019-3}}}#time: {{{{{Date|safesubst:2019-03}}}#switch: {{{{{|safesubst:}}}lc: {{{{{|safesubst:}}}#ifeq:{{{3|}}}|y|L}}{{{2|}}} }} | lmdy | liso | lymd = [[:F j]] | mdy | iso | ymd = F j | ldmy | l = [[:j F]] | #default = j F }}|{{{1}}} 2000 }}<noinclude><!-- default='dmy' or null or "" or unsupported option --></noinclude> Date|<noinclude><!-- month only 2019-03-></noinclude>{{{{{|safesubst:}}}#time: {{{{{Date|safesubst:}}}#switch: {{{{{|safesubst:}}}lc: {{{{{|safesubst:}}}#ifeq:{{{3|}}}|y|L}}{{{2|}}} }} | lmdy | liso | lymd | ldmy | l = [[F]] | #default = F }}|{{{1}}} 2000 }}<noinclude><!03-- default='dmy'/'mdy'/'ymd'/'iso'/null/""/unsupported opt --></noinclude> 2019}} |<noinclude><!-- with year--></noincludepre> {{{* {{Date|safesubst:2019-3}}}#if: {{{* {{Date|safesubst:2019-03}}}#iferror:{{{* {{Date|safesubst:2019-03-}}}#time:j|2 {{{1|}}}}}|*D*|{{{{{Date|safesubst:}}}#iferror:{{{{{|safesubst:}}}#time:j|2000 {{{1|}}}}}|*D*| }}03-2019}} |<noinclude><!-- day+month+year --></noincludepre>{{{{{Date|safesubst:2019-12-1}}}#time: {{{{{Date|safesubst:2019-12-24}}}#switch: {{{{{Date|safesubst:2019-12-999}}}lc: {{{{{Date|safesubst:}01-03-2019}}#ifeq:{{{3|}}}|y|L}}{{{2|}}} }} | lmdy = [[:F j]], [[Y]] | mdy = F j, Y | liso = [[Y|Y-]][[F j|m-d]]<noinclude><!-- i.e. [[Y-m-d]] --></noincludepre> | iso = Y-m-d | lymd = [[Y]] [[:F j]] | ymd = Y F j | ldmy | l = [[:j F]] [[Y]] | #default = j F Y }}|* {{{1Date|}}} }}<noinclude><!2019-12- #default='dmy' or null or "" or unsupported option --></noinclude> |<noinclude><!-- month+year --></noinclude>{{{{{|safesubst:1}}}#time: {{{* {{Date|safesubst:}}}#switch: {{{{{|safesubst:}}}lc: {{{{{|safesubst:}}}#ifeq:{{{3|}}}|y|L}}{{{2|}}} 2019-12-24}} | lmdy | liso | lymd | ldmy | l = [[:F Y]] | #default = F Y }}|* {{{1Date|}}} }}<noinclude><!2019-12- default='dmy'/'iso'/'mdy'/null/""/unsupported option --></noinclude> 999}} }} }}<noinclude> This internal template must not be used in articles, but only in templates! It is identical to the one being used in the Wikipedia (state: * {{dateDate|201901-0903-272019}}). [https://en.wikipedia.org/wiki/Template:Date/doc Click here for the documentation.]</noinclude>
administrator, administrators, Bureaucrats, Interface administrators, Administrators
22,335
edits

Navigation menu