Template:MONTHNAME: Difference between revisions

    mNo edit summary
    mNo edit summary
    Line 1: Line 1:
    <includeonly>{{#if:{{{1|}}}|{{#switch:{{#ifexpr:{{{1|}}}<0|{{#ifexpr:({{{1|}}} round 0)!={{{1|}}}|{{#expr:
    <includeonly>{{#if:{{{1|}}}|{{#switch:{{#ifexpr:{{{1|}}}<0|{{#ifexpr:({{{1|}}} round 0)!={{{1|}}}|{{#expr:
       ((10.5-{{{1|}}})round 0 mod 12)+1
       (((10.5-{{{1|}}})round 0)mod 12)+1
    }}|{{#expr:
    }}|{{#expr:
       ((10.5-{{{1|}}})round 0 mod 12)+1
       (((10.5-{{{1|}}})round 0)mod 12)+1
    }}}}|{{#expr:
    }}}}|{{#expr:
       ((10.5+{{{1|}}})round 0 mod 12)+1}}}}|1=january|2=february|3=march|4=april|5=may|6=june|7=july|8=august|9=september|10=october|11=november|12=december|Incorrect required parameter 1=''month''!}}|Missing required parameter 1=''month''!}}</includeonly><noinclude>{{Template documentation}}
       (((10.5+{{{1|}}})round 0)mod 12)+1}}}}|1=january|2=february|3=march|4=april|5=may|6=june|7=july|8=august|9=september|10=october|11=november|12=december|Incorrect required parameter 1=''month''!}}|Missing required parameter 1=''month''!}}</includeonly><noinclude>{{Template documentation}}
    This template returns the name of the month whose number is in parameter.
    This template returns the name of the month whose number is in parameter.
    ; Syntax<nowiki>:</nowiki>
    ; Syntax<nowiki>:</nowiki>