Template:ThreeDatesBack: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 26: | Line 26: | ||
|12={{{1|{{CURRENTYEAR}}}}}-{{{2|11}}}-{{{3|30}}} }} | |12={{{1|{{CURRENTYEAR}}}}}-{{{2|11}}}-{{{3|30}}} }} | ||
|{{{1|{{CURRENTYEAR}}}}}-<!-- | |{{{1|{{CURRENTYEAR}}}}}-<!-- | ||
-->{{#ifexpr:{{CURRENTMONTH}} < 10|{{{2|{{padleft:{{CURRENTMONTH}}|2}}|{{{2|{{CURRENTMONTH}}}}}}}-<!-- | -->{{#ifexpr:{{CURRENTMONTH}} < 10|{{{2|{{padleft:{{CURRENTMONTH}}|2}}}}}|{{{2|{{CURRENTMONTH}}}}}}}-<!-- | ||
-->{{#ifexpr:({{CURRENTDAY}}-2) < 10|{{{3|{{padleft:{{#expr:{{CURRENTDAY}}-2}}|2}}}}}<!-- | -->{{#ifexpr:({{CURRENTDAY}}-2) < 10|{{{3|{{padleft:{{#expr:{{CURRENTDAY}}-2}}|2}}}}}<!-- | ||
-->|{{{3|{{#expr:{{CURRENTDAY}}-2}}}}}}}}}}}</includeonly><noinclude> | -->|{{{3|{{#expr:{{CURRENTDAY}}-2}}}}}}}}}}}</includeonly><noinclude> | ||
Revision as of 17:07, 7 December 2017
This template passes the date three days ago:
- {{ThreeDatesBack}} passes 2026-03-04
There are three parameters: Year (YYYY), Month (MM), and Day (DD), passed to the calling page, but not specified in the call.