Template:Start date and age: Difference between revisions

Nothing to hide, but nothing to show you either.
Jump to navigation Jump to search
Content added Content deleted
(adding tracking category for parameters that don't work anymore)
m (108 revisions imported from wikipedia:Template:Start_date_and_age)
 
(49 intermediate revisions by 27 users not shown)
Line 1: Line 1:
<includeonly><!--
<includeonly><!--



IMPLEMENTATION OF DATE
IMPLEMENTATION OF DATE



-->{{#if: {{{1|}}}<!--
-->{{#if: {{{1|}}}<!--
-->|{{#if: {{{2|}}}<!--
-->|{{#if: {{{2|}}}<!--
-->|{{#if: {{{3|}}}<!--
-->|{{#if: {{{3|}}}<!--
-->|{{#ifeq: {{{df|}}}|yes<!--
-->|{{#ifeq:{{yesno|{{{df|no}}}}}|yes<!--
-->|{{#expr:{{{3}}}}} {{MONTHNAME|{{{2}}}}}<!--
-->|{{#expr:{{{3}}}}}&nbsp;{{MONTHNAME|{{{2}}}}}<!--
-->|{{MONTHNAME|{{{2}}}}} {{#expr:{{{3}}}}},<!--
-->|{{MONTHNAME|{{{2}}}}}&nbsp;{{#expr:{{{3}}}}},<!--
-->}} {{{1}}}<!--
-->}} {{{1}}}<!--
-->|{{MONTHNAME|{{{2}}}}} {{{1}}}<!--
-->|{{MONTHNAME|{{{2}}}}}&nbsp;{{{1}}}<!--
-->}}<!--
-->}}<!--
-->|{{{1}}}<!--
-->|{{{1}}}<!--
-->}}<!--
--><span class="noprint">; <!--
-->{{time ago<!--
-->|{{{1}}}<!--
-->-<!--
-->{{{2|{{CURRENTMONTH}}}}}<!--
-->-<!--
-->{{{3|{{CURRENTDAY}}}}}<!--
-->|min_magnitude=days<!--
-->}}<!--
-->}}<!--
--><span class="noprint">{{#ifeq:{{yesno|{{{paren|{{{p|no}}}}}}}}|yes||&#059;}}<!--
--></span><!--
-->|'''{{color|red|Error: No parameters}}'''<!--
-->{{#ifeq:{{yesno|{{{br|no}}}}}|yes|<br/>|&#032;}}<!--
-->{{#ifeq:{{yesno|{{{paren|{{{p|no}}}}}}}}|yes|(}}<!--
-->{{#if: {{{2|}}}<!--
-->|{{#if: {{{3|}}}<!--
-->|{{time ago|{{{1}}}-{{{2}}}-{{{3}}}|min_magnitude=days}}<!--
-->|{{years or months ago|{{{1}}}|{{#time:n|1-{{trim|{{{2}}}}}-1}}}}<!--
-->}}<!--
-->|{{#iferror:{{#expr:{{{1}}}}}<!--
-->|{{time ago|{{{1}}}|min_magnitude=days}}<!--
-->|{{years or months ago|{{{1}}}}}<!--
-->}}<!--
-->}}<!--
-->{{#ifeq:{{yesno|{{{paren|{{{p|no}}}}}}}}|yes|)}}</span><!--
-->|{{Error|Error: first parameter is missing.|tag=span}}<!--
-->}}<!--
-->}}<!--


IMPLEMENTATION OF microformat date classes


--><span style="display:none">&#160;(<span class="{{#ifeq:{{yesno|{{{end|no}}}}}|yes|dtend|bday dtstart published updated}}"><!--
IMPLEMENTATION OF hCalendar


--><span style="display:none">&#160;(<span class="bday dtstart updated"><!--
-->{{#if: {{{1|}}}<!--
-->{{#if: {{{1|}}}<!--
-->|{{{1}}}<!--
-->|{{{1}}}<!--
-->{{#if: {{{2|}}}<!--
-->{{#if: {{{2|}}}<!--
-->| -{{padleft:{{{2}}}|2|0}}<!--
-->| -{{#time:m|1-{{trim|{{{2}}}}}-1}}<!--
-->{{#if: {{{3|}}}<!--
-->{{#if: {{{3|}}}<!--
-->| -{{padleft:{{{3}}}|2|0}}<!--
-->| -{{padleft:{{{3}}}|2|0}}<!--
-->}}<!--
-->}}<!--
-->}}<!--
-->}}<!--
-->}}<!--
-->}}<!--
--></span>)</span>{{#if:{{{fmt|}}}{{{year|}}}{{{month|}}}{{{day|}}}|[[Category:Articles using old parameters in Start date and age]]}}</includeonly><noinclude>
--></span>)</span></includeonly><noinclude>
{{pp-template|small=yes}}
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>

Latest revision as of 23:22, 7 June 2021