Template:Make YYYY–YY and Template:Make YYYY–YY/sandbox: Difference between pages
Appearance
(Difference between pages)
Content deleted Content added
better handling of missing or blank parameters |
{{#expr: |
||
Line 1: | Line 1: | ||
<includeonly><!-- |
<includeonly><!-- |
||
-->{{Make YYYY–YY/core<!-- |
-->{{Make YYYY–YY/core<!-- |
||
-->|start |
-->|start={{#expr: {{{1|{{CURRENTYEAR}}}}} + {{#if: {{{2|0}}} | {{{2|0}}} | 0}} }}<!-- |
||
-->|end= {{#expr |
-->|end= {{#expr: {{{1|{{CURRENTYEAR}}}}} + {{#if: {{{2|0}}} | {{{2|0}}} | 0}} + {{{3|1}}} }}<!-- |
||
-->}}<!-- |
-->}}<!-- |
||
--></includeonly><!-- |
--></includeonly><!-- |
||
--><noinclude><!-- |
--><noinclude><!-- |
||
-->{{Documentation}} |
-->{{Documentation}} |
||
[[Category:Date-computing templates]] |
|||
</noinclude> |
</noinclude> |