Template:Cal-date/yesterday: Difference between revisions
From MediaWiki
Jump to navigationJump to searchmNo edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
{{#ifeq:{{{2|}}}|1|{{Cal-date/monthstrings|{{#ifeq:{{{1|}}}|1|12|{{#expr:{{{1|}}}-1}}}}}} {{ | <!-- | ||
Takes two arguments: Month number and day number, and returns the preceding day in the format "January 1". | |||
-->{{#ifeq:{{{2|}}}|1|{{Cal-date/monthstrings|{{#ifeq:{{{1|}}}|1|12|{{#expr:{{{1|}}}-1}}}}}} {{Cal-date/daysinmonth|{{#ifeq:{{{1|}}}|1|12|{{#expr:{{{1|}}}-1}}}}}}|{{Cal-date/monthstrings|{{{1|}}}}} {{#expr:{{{2|}}}-1}}}} | |||
<noinclude>[[Category:Meta templates]]</noinclude> | |||
Revision as of 10:40, 20 January 2013
-1

