Template:Days ago: Difference between revisions

Nothing to hide, but nothing to show you either.
Jump to navigation Jump to search
Content added Content deleted
(title)
m (17 revisions imported from wikipedia:Template:Days_ago)
 
(4 intermediate revisions by one other user not shown)
Line 1: Line 1:
<includeonly><span title="{{#time: j F Y | {{{1}}}-{{{2}}}-{{{3}}}}}">{{#ifexpr: {{age in days|{{{1}}}|{{{2}}}|{{{3}}}}} > 60 | {{#expr: ceil{{#expr: {{age in days|{{{1}}}|{{{2}}}|{{{3}}}}} / 30}}}}{{#ifeq: {{{short|}}} | yes | m | {{space|1}}months ago }} | {{age in days|{{{1}}}|{{{2}}}|{{{3}}}}}{{#ifeq: {{{short|}}} | yes | d | {{space|1}}days ago }}}}</span></includeonly><noinclude>{{documentation}}</noinclude>
<includeonly><span title="{{#time: j F Y | {{{1}}}-{{{2}}}-{{{3}}}}}">{{#ifexpr: {{age in days|{{{1}}}|{{{2}}}|{{{3}}}}} > 365
| {{#expr: floor{{#expr: {{age in days|{{{1}}}|{{{2}}}|{{{3}}}}} / 365}}}}{{#ifeq: {{{short|}}} | yes | y | &nbsp;years ago }}
| {{#ifexpr: {{age in days|{{{1}}}|{{{2}}}|{{{3}}}}} > 30
| {{#expr: floor{{#expr: {{age in days|{{{1}}}|{{{2}}}|{{{3}}}}} / 30}}}}{{#ifeq: {{{short|}}} | yes | m | &nbsp;months ago }}
| {{age in days|{{{1}}}|{{{2}}}|{{{3}}}}}{{#ifeq: {{{short|}}} | yes | d | &nbsp;days ago }}
}}
}}</span></includeonly><noinclude>{{documentation}}</noinclude>

Latest revision as of 23:10, 7 June 2021