Template:Start date and age: Difference between revisions

m
108 revisions imported from wikipedia:Template:Start_date_and_age
(Technicals, restoring missing small form merged template)
m (108 revisions imported from wikipedia:Template:Start_date_and_age)
 
(12 intermediate revisions by 11 users not shown)
Line 1:
<includeonly><!--
 
<!-- IMPLEMENTATION OF DATE
 
-->{{#if: {{{1|}}}<!--
-->|{{#if: {{{2|}}}<!--
Line 18 ⟶ 20:
-->|{{#if: {{{3|}}}<!--
-->|{{time ago|{{{1}}}-{{{2}}}-{{{3}}}|min_magnitude=days}}<!--
-->|{{years or months ago|{{{1}}}|{{#time:n|1-{{trim|{{{2}}}}}-1}}}}<!--
-->}}<!--
-->|{{#iferror:{{#expr:{{{1}}}}}<!--
Line 26 ⟶ 28:
-->}}<!--
-->{{#ifeq:{{yesno|{{{paren|{{{p|no}}}}}}}}|yes|)}}</span><!--
-->|{{errorError|Error: first parameter is missing.|tag=span}}<!--
-->}}<!--
 
<!-- IMPLEMENTATION OF microformat date classes
--><small><span style="display:none">&#160;(<span class="{{#ifeq:{{yesno|{{{end|no}}}}}|yes|dtend|bday dtstart published updated}}"><!--
 
--><small><span style="display:none">&#160;(<span class="{{#ifeq:{{yesno|{{{end|no}}}}}|yes|dtend|bday dtstart published updated}}"><!--
-->{{#if: {{{1|}}}<!--
-->|{{{1}}}<!--
-->{{#if: {{{2|}}}<!--
-->| -{{#time:m|1-{{trim|{{{2}}}}}-1}}<!--
-->{{#if: {{{3|}}}<!--
-->| -{{padleft:{{{3}}}|2|0}}<!--
Line 39 ⟶ 43:
-->}}<!--
-->}}<!--
--></span>)</span></small></includeonly><noinclude>
{{documentation}}
</noinclude>