|
|
Line 1: |
Line 1: |
− | {{{{{subst|}}}#switch:none | + | {{Tfm|Today|Date}} |
− | |{{{{{subst|}}}#iferror: {{{{{subst|}}}#time:Y_M_d|{{{1|}}} }} | none }} <noinclude><!-- #time: can't handle --></noinclude>
| + | <includeonly>{{subst:</includeonly><includeonly>empty template|{{error:not substituted|}}}}</includeonly><includeonly>{</includeonly><includeonly>{</includeonly><includeonly>date</includeonly><includeonly>|{{</includeonly><includeonly>subst:</includeonly><includeonly>#time:j F Y|{{</includeonly><includeonly>subst:</includeonly><includeonly>#iferror:{{</includeonly><includeonly>subst:</includeonly><includeonly>#time:Y|{{{1|*error*}}}}}||{{{1|}}} }}</includeonly><includeonly>}}</includeonly><noinclude><!--datefmt begin--></noinclude><includeonly>|{{</includeonly><includeonly>subst:</includeonly><includeonly>#switch:</includeonly><includeonly>{{subst:</includeonly><includeonly>lc:</includeonly><includeonly>{{{</includeonly><includeonly>2|</includeonly><includeonly>}}}}}|none|asis|mdy|lmdy|ymd|lymd|iso|liso|ldmy=</includeonly><includeonly><includeonly>{{subst:</includeonly><includeonly>lc:</includeonly><includeonly>{{{</includeonly><includeonly>2|</includeonly><includeonly>}}}}}|dmy|#default=dmy</includeonly><includeonly>}}</includeonly><noinclude><!--datefmt end--></noinclude><includeonly>}}</includeonly><noinclude> |
− | |{{{{{subst|}}}#iferror: {{{{{subst|}}}#expr: {{{1|}}}+0 }}
| + | <!-- This template must be SUBSTITUTED --> |
− | |<noinclude><!--not a pure number--></noinclude>
| + | {{Documentation}} |
− | |{{{{{subst|}}}#ifexpr: {{{1|}}}+0 > 10000000000000
| + | <!-- Add cats and interwikis to the /doc subpage, not here! --> |
− | |<noinclude><!-- a yyyymmddhhmmss timestamp --></noinclude>
| |
− | |{{{{{subst|}}}#ifeq: {{{{{subst|}}}#expr:{{{1|}}}+0}} | {{{1|}}}
| |
− | | none <noinclude><!-- pure number eg 123.456 --></noinclude>
| |
− | | <noinclude><!-- assume yy-mm-dd --></noinclude>
| |
− | }}
| |
− | }}
| |
− | }}
| |
− | |{{{{{subst|}}}#switch: {{lc:{{{2|}}}}} | none | asis=none }}
| |
− | |{{{{{subst|}}}#ifexpr: {{{{{subst|}}}#time:Y|{{{1|}}} }} < 1000 | none }}
| |
− | |{{{{{subst|}}}#switch: {{{{{subst|}}}#time:Ynj|{{{1|}}} }}|100031|110031|130031|140031|150031=none}}
| |
− | |= {{{1|}}}<noinclude><!-- error or "none", so no formatting --></noinclude>
| |
− | |<noinclude><!-- continue with formatting --></noinclude>
| |
− | {{{{{subst|}}}#ifeq:<noinclude><!--
| |
− | --></noinclude>{{{{{subst|}}}#time:Y|{{{1}}} 2008}}<noinclude><!--
| |
− | --></noinclude>{{{{{subst|}}}#iferror: {{{{{subst|}}}#ifexpr: {{{1}}}>10000000000000 | no }} | }}<noinclude><!--
| |
− | --></noinclude>{{{{{subst|}}}#time:Y|{{{1}}} 2004}}
| |
− | |20082004
| |
− | |<noinclude><!-- no year --></noinclude>
| |
− | {{{{{subst|}}}#ifeq:{{{{{subst|}}}#time:d|{{{1}}} 2036}}|{{{{{subst|}}}#time:d|{{{1}}} }}
| |
− | |<noinclude><!-- month+day --></noinclude>{{{{{subst|}}}#time:
| |
− | {{{{{subst|}}}#switch: {{lc: {{{{{subst|}}}#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>
| |
− | |<noinclude><!-- month only --></noinclude>{{{{{subst|}}}#time:
| |
− | {{{{{subst|}}}#switch: {{lc: {{{{{subst|}}}#ifeq:{{{3|}}}|y|L}}{{{2|}}} }}
| |
− | | lmdy | liso | lymd
| |
− | | ldmy | l = [[F]]
| |
− | | #default = F
| |
− | }}|{{{1}}} 2000 }}<noinclude><!-- default='dmy'/'mdy'/'ymd'/'iso'/null/""/unsupported opt --></noinclude>
| |
− | }}
| |
− | |<noinclude><!-- with year--></noinclude>
| |
− | {{{{{subst|}}}#if: {{{{{subst|}}}#iferror:{{{{{subst|}}}#time:j|2 {{{1|}}}}}|*D*|{{{{{subst|}}}#iferror:{{{{{subst|}}}#time:j|2000 {{{1|}}}}}|*D*| }}}}
| |
− | |<noinclude><!-- day+month+year --></noinclude>{{{{{subst|}}}#time:
| |
− | {{{{{subst|}}}#switch: {{lc: {{{{{subst|}}}#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]] --></noinclude>
| |
− | | iso = Y-m-d
| |
− | | lymd = [[Y]] [[:F j]]
| |
− | | ymd = Y F j
| |
− | | ldmy | l = [[:j F]] [[Y]]
| |
− | | #default = j F Y
| |
− | }}|{{{1|}}} }}<noinclude><!-- #default='dmy' or null or "" or unsupported option --></noinclude>
| |
− | |<noinclude><!-- month+year --></noinclude>{{{{{subst|}}}#time:
| |
− | {{{{{subst|}}}#switch: {{lc: {{{{{subst|}}}#ifeq:{{{3|}}}|y|L}}{{{2|}}} }}
| |
− | | lmdy | liso | lymd | ldmy | l = [[:F Y]]
| |
− | | #default = F Y
| |
− | }}|{{{1|}}} }}<noinclude><!-- default='dmy'/'iso'/'mdy'/null/""/unsupported option --></noinclude>
| |
− | }}
| |
− | }}
| |
− | }}<noinclude>
| |
− | {{pp-template|small=yes}}
| |
− | {{documentation}}
| |
| </noinclude> | | </noinclude> |