454
edits
No edit summary |
(updates automatically, {{Template:Informative template}}) |
||
Line 1: | Line 1: | ||
<noinclude>{{ | {{#ifexpr: {{CURRENTMONTH}}=1 | {{#expr: {{CURRENTYEAR}}-1}} | {{CURRENTYEAR}}}}<noinclude> | ||
{{Informative template| | |||
</noinclude> | ==Goal== | ||
Shows the year of last month. From February to December it shows the current year and in January the last year (because the last month was Decmber) | |||
==Usage== | |||
<nowiki>{{Year-1-month}}</nowiki> | |||
{{Year-1-month}} | |||
{{tl|Month-1}} <nowiki>{{Year-1-month}}</nowiki> | |||
{{Month-1}} {{Year-1-month}} | |||
---- | |||
</br>More: https://en.wikipedia.org/wiki/Category:Date_mathematics_templates | |||
[[Category:Date mathematics templates]] | |||
}} | |||
</noinclude> |
edits