Changes

Jump to navigation Jump to search
m
Protected "Template:Weekday in month/calc": semi-protection of high-usage templates to combat systematic vandalism ([Edit=Require autoconfirmed or confirmed access] (indefinite) [Move=Require autoconfirmed or confirmed access] (inde...
<includeonly>{{#ifexpr:{{{n}}}>0
|{{#expr:7*{{{n}}}-6+(7+{{{w}}}-{{#time:w|1 {{{m}}}}})mod7}}
|{{#expr:{{#time:t|{{{m}}}}}+7*({{{n}}}+1)-(7-{{{w}}}+{{#time:w|{{#time:t|{{{m}}}}} {{{m}}}}})mod7}}
}}</includeonly><noinclude>
{{documentation|content=
This subtemplate calculates the day of the month of the ''n''th (or −''n''th last) ''w''-day in the month ''m''.
}}
</noinclude>
Anonymous user

Navigation menu