Itar buttar

Joined 17 ਜੁਲਾਈ 2011
ਛੋ
ਛੋ
ਛੋ (Replaced content with "ਸਤਿ ਸ੍ਰੀ ਅਕਾਲ! tari on en wiki (talk)")
 
[[w:User:TariButtar|tari on en wiki]] ([[w:User talk:TariButtar|talk]])
 
{{#switch:none
|{{#iferror: {{#time:Y_M_d| }} | none }} <!-- #time: can't handle -->
|{{#iferror: {{#expr: +0 }}
|<!--not a pure number-->
|{{#ifexpr: +0 > 10000000000000
|<!-- a yyyymmddhhmmss timestamp -->
|{{#ifeq: {{#expr:+0}} |
| none <!-- pure number eg 123.456 -->
| <!-- assume yy-mm-dd -->
}}
}}
}}
|{{#switch: {{lc:}} | none | asis=none }}
|{{#ifexpr: {{#time:Y| }} < 1000 | none }}
|{{#switch: {{#time:Ynj| }}|100031|110031|130031|140031|150031=none}}
|= <!-- error or "none", so no formatting -->
|<!-- continue with formatting -->
{{#ifeq:<!--
-->{{#time:Y|{{{1}}} 2008}}<!--
-->{{#iferror: {{#ifexpr: {{{1}}}>10000000000000 | no }} | }}<!--
-->{{#time:Y|{{{1}}} 2004}}
|20082004
|<!-- no year -->
{{#ifeq:{{#time:d|{{{1}}} 2036}}|{{#time:d|{{{1}}} }}
|<!-- month+day -->{{#time:
{{#switch: {{lc: {{#ifeq:|y|L}} }}
| lmdy | liso | lymd = [[:F j]]
| mdy | iso | ymd = F j
| ldmy | l = [[:j F]]
| #default = j F
}}|{{{1}}} 2000 }}<!-- default='dmy' or null or "" or unsupported option -->
|<!-- month only -->{{#time:
{{#switch: {{lc: {{#ifeq:|y|L}} }}
| lmdy | liso | lymd
| ldmy | l = [[F]]
| #default = F
}}|{{{1}}} 2000 }}<!-- default='dmy'/'mdy'/'ymd'/'iso'/null/""/unsupported opt -->
}}
|<!-- with year-->
{{#if: {{#iferror:{{#time:j|2 }}|*D*|{{#iferror:{{#time:j|2000 }}|*D*| }}}}
|<!-- day+month+year -->{{#time:
{{#switch: {{lc: {{#ifeq:|y|L}} }}
| lmdy = [[:F j]], [[Y]]
| mdy = F j, Y
| liso = [[Y|Y-]][[F j|m-d]]<!-- i.e. [[Y-m-d]] -->
| iso = Y-m-d
| lymd = [[Y]] [[:F j]]
| ymd = Y F j
| ldmy | l = [[:j F]] [[Y]]
| #default = j F Y
}}| }}<!-- #default='dmy' or null or "" or unsupported option -->
|<!-- month+year -->{{#time:
{{#switch: {{lc: {{#ifeq:|y|L}} }}
| lmdy | liso | lymd | ldmy | l = [[:F Y]]
| #default = F Y
}}| }}<!-- default='dmy'/'iso'/'mdy'/null/""/unsupported option -->
}}
}}
}}
6,217

edits