Template:ThreeDatesBack: Difference between revisions

From ChoralWiki
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}}}}}-{{{2|{{CURRENTMONTH}}}}}-<!--
|{{{1|{{CURRENTYEAR}}}}}-{{{2|{{CURRENTMONTH}}}}}-<!--
-->{{#ifexpr:{{CURRENTDAY}}-2 < 10|{{{3|{{padleft:{{#expr:{{CURRENTDAY}}-2}}|1|0}}}}}}}<!--
-->{{#ifexpr:{{CURRENTDAY}}-2 < 10|{{{3|{{padleft:{{#expr:{{CURRENTDAY}}-2}}|1}}}}}}}<!--
-->|{{{3|{{#expr:{{CURRENTDAY}}-2}}}}}}}}}</includeonly><noinclude>
-->|{{{3|{{#expr:{{CURRENTDAY}}-2}}}}}}}}}</includeonly><noinclude>
{{DisplayBox|bgcolor=#ddffdd|This template passes the date three days ago:
{{DisplayBox|bgcolor=#ddffdd|This template passes the date three days ago:

Revision as of 16:51, 7 December 2017


This template passes the date three days ago:

{{ThreeDatesBack}} passes 2024-05-

There are three parameters: Year (YYYY), Month (MM), and Day (DD), passed to the calling page, but not specified in the call.