Template:MONTHNUMBER: Difference between revisions

From IndicWiki Sandbox
https://sandbox.indicwiki.org/index.php/>Sanjeev bot
m बॉट: माह का नाम अधिक प्रचलित रूप में बदला।
 
https://sandbox.indicwiki.org/index.php/>Kasyap
m १ अवतरण आयात किया गया
Line 1: Line 1:
<includeonly>{{#if:{{{1|}}}|{{#switch:{{lc:{{{1}}}}}|january|जनवरी=1|february|फ़रवरी|फरवरी=2|march|मार्च=3|april|अप्रैल=4|may|मई=5|june|जून=6|july|जुलाई=7|august|अगस्त=8|september|सितम्बर|सितंबर=9|october|अक्टूबर|अक्टूबर=10|november|नवम्बर|नवंबर=11|december|दिसम्बर|दिसंबर=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''!}}</includeonly><noinclude>
<includeonly>{{#if:{{{1|}}}
|{{#switch:{{lc:{{{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|sept=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''!
}}</includeonly><noinclude>
{{Documentation}}
{{Documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
</noinclude>

Revision as of 05:42, 20 June 2022