Template:Year-1-month: Difference between revisions

Jump to navigation Jump to search
updates automatically, {{Template:Informative template}}
No edit summary
(updates automatically, {{Template:Informative template}})
 
Line 1: Line 1:
<noinclude>{{stub}}
{{#ifexpr: {{CURRENTMONTH}}=1 | {{#expr: {{CURRENTYEAR}}-1}} | {{CURRENTYEAR}}}}<noinclude>
* https://en.wikipedia.org/wiki/Category:Date_mathematics_templates
{{Informative template|
</noinclude>{{CURRENTYEAR}}
==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>
454

edits

Navigation menu