Template:MONTHNAME: Difference between revisions

    From Nonbinary Wiki
    m (Changed protection level for "Template:MONTHNAME": Allowing template editors on some templates with full protection dating back to pre-WP:TPROT times which aren't too often or too sensitively used. ([Edit=Require template editor access] (indefi...)
    (needs a subst temporarily)
    Line 1: Line 1:
    <includeonly>{{#if:{{{1|}}}|{{#switch:{{MONTHNUMBER|{{{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>
    <includeonly>{{{{{|safesubst:}}}#if:{{{1|}}}|{{{{{|safesubst:}}}#switch:{{MONTHNUMBER|{{{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>


    {{Documentation}}
    {{Documentation}}
    <!-- Add categories and interwikis to the /doc subpage, not here! -->
    <!-- Add categories and interwikis to the /doc subpage, not here! -->
    </noinclude>
    </noinclude>

    Revision as of 21:20, 10 June 2020


    Template documentation[view] [edit] [history] [purge]

    This template returns the name of the month whose number is in parameter. Alternatively, the English month name or abbreviation (with any letter case) can be given.