More actions
|{{#switch:{{{month}}}
|january|jan|ਜਨਵਰੀ=1
|february|feb|ਫਰਵਰੀ=2 |march|mar|ਮਾਰਚ=3 |apr|april|ਅਪ੍ਰੈਲ=4 |may|ਮਈ=5 |june|jun|ਜੂਨ=6 |july|jul|ਜੁਲਾਈ=7 |august|aug|ਅਗਸਤ=8 |september|sep|ਸਤੰਬਰ=9 |october|oct|ਅਕਤੂਬਰ=10 |november|nov|ਨਵੰਬਰ=11 |december|dec|ਦਸੰਬਰ=12 |{{#ifexpr:{{{month}}}<0 |{{#ifexpr:(({{{month}}})round 0)!=({{{month}}}) |{{#expr:12-(((0.5-({{{month}}}))round 0)mod 12)}} |{{#expr:12-(((11.5-({{{month}}}))round 0)mod 12)}} }} |{{#expr:(((10.5+{{{month}}})round 0)mod 12)+1}} }} }} |Missing required parameter 1=month!
}}-{{{day}}}){{#if:
|{{#expr:{{{day}}}}} {{#if:{{{month}}}|{{#switch:{{#if:{{{month}}} |{{#switch:{{{month}}}
|january|jan|ਜਨਵਰੀ=1
|february|feb|ਫਰਵਰੀ=2 |march|mar|ਮਾਰਚ=3 |apr|april|ਅਪ੍ਰੈਲ=4 |may|ਮਈ=5 |june|jun|ਜੂਨ=6 |july|jul|ਜੁਲਾਈ=7 |august|aug|ਅਗਸਤ=8 |september|sep|ਸਤੰਬਰ=9 |october|oct|ਅਕਤੂਬਰ=10 |november|nov|ਨਵੰਬਰ=11 |december|dec|ਦਸੰਬਰ=12 |{{#ifexpr:{{{month}}}<0 |{{#ifexpr:(({{{month}}})round 0)!=({{{month}}}) |{{#expr:12-(((0.5-({{{month}}}))round 0)mod 12)}} |{{#expr:12-(((11.5-({{{month}}}))round 0)mod 12)}} }} |{{#expr:(((10.5+{{{month}}})round 0)mod 12)+1}} }} }} |Missing required parameter 1=month!
}}|1=ਜਨਵਰੀ|2=ਫਰਵਰੀ|3=ਮਾਰਚ|4=ਅਪ੍ਰੈਲ|5=ਮਈ|6=ਜੂਨ|7=ਜੁਲਾਈ|8=ਅਗਸਤ|9=ਸਤੰਬਰ|10=ਅਕਤੂਬਰ|11=ਨਵੰਬਰ|12=ਦਸੰਬਰ|Incorrect required parameter 1=month!}}|Missing required parameter 1=month!}}
|{{#if:1|{{#switch:{{#if:1 |{{#switch:1
|january|jan|ਜਨਵਰੀ=1
|february|feb|ਫਰਵਰੀ=2 |march|mar|ਮਾਰਚ=3 |apr|april|ਅਪ੍ਰੈਲ=4 |may|ਮਈ=5 |june|jun|ਜੂਨ=6 |july|jul|ਜੁਲਾਈ=7 |august|aug|ਅਗਸਤ=8 |september|sep|ਸਤੰਬਰ=9 |october|oct|ਅਕਤੂਬਰ=10 |november|nov|ਨਵੰਬਰ=11 |december|dec|ਦਸੰਬਰ=12 |{{#ifexpr:1<0 |{{#ifexpr:((1)round 0)!=(1) |{{#expr:12-(((0.5-(1))round 0)mod 12)}} |{{#expr:12-(((11.5-(1))round 0)mod 12)}} }} |{{#expr:(((10.5+1)round 0)mod 12)+1}} }} }} |Missing required parameter 1=month!
}}|1=ਜਨਵਰੀ|2=ਫਰਵਰੀ|3=ਮਾਰਚ|4=ਅਪ੍ਰੈਲ|5=ਮਈ|6=ਜੂਨ|7=ਜੁਲਾਈ|8=ਅਗਸਤ|9=ਸਤੰਬਰ|10=ਅਕਤੂਬਰ|11=ਨਵੰਬਰ|12=ਦਸੰਬਰ|Incorrect required parameter 1=month!}}|Missing required parameter 1=month!}} {{#expr:1}}, }} {{#expr:1900}}

Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |