टेम्पलेट:Start date and age: रिवीजन सभ के बीचा में अंतर
Content deleted Content added
Fix calculation of years or months ago when input is year/month (no day) or year only (no month or day). Previously implemented in /sandbox and tested in /testcases. |
temporarily revert prior change pending update |
||
लाइन 1:
<includeonly><!--
IMPLEMENTATION OF DATE
-->{{#if: {{{1|}}}<!--
Line 9 ⟶ 11:
-->|{{#expr:{{{3}}}}} {{MONTHNAME|{{{2}}}}}<!--
-->|{{MONTHNAME|{{{2}}}}} {{#expr:{{{3}}}}},<!--
-->|{{MONTHNAME|{{{2}}}}} {{{1}}}<!--
-->|{{{1}}}<!--
-->{{#ifeq:{{{br|}}}|yes|<br/>| }}<!--
-->{{#ifeq:{{{paren|}}}|yes|(}}<!--
-->{{
-->
-->}}<!--
-->{{#ifeq:{{{paren|}}}|yes|)}}</span><!-- -->|'''{{color|red|Error: No parameters}}'''<!--
-->}}<!--
IMPLEMENTATION OF microformat date classes
--><span style="display:none"> (<span class="bday dtstart published updated"><!--
Line 35 ⟶ 40:
-->{{#if: {{{2|}}}<!--
-->| -{{padleft:{{{2}}}|2|0}}<!--
--></span>)</span></includeonly><noinclude>
{{being merged|2013 July 31|merge=Template:Start date and years ago}}
|