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
(adding months)
(adding "short" parameter)
Line 1: Line 1:
<includeonly>{{#ifexpr: {{age in days|{{{1}}}|{{{2}}}|{{{3}}}}} > 60 | {{#expr: ceil{{#expr: {{age in days|{{{1}}}|{{{2}}}|{{{3}}}}} / 30}}}} months ago | {{age in days|{{{1}}}|{{{2}}}|{{{3}}}}} days ago}}</includeonly><noinclude>{{documentation}}</noinclude>
<includeonly>{{#ifexpr: {{age in days|{{{1}}}|{{{2}}}|{{{3}}}}} > 60 | {{#expr: ceil{{#expr: {{age in days|{{{1}}}|{{{2}}}|{{{3}}}}} / 30}}}}{{#ifeq: {{{short|}}} | yes |m | months ago }} | {{age in days|{{{1}}}|{{{2}}}|{{{3}}}}}{{#ifeq: {{{short|}}} | yes || days ago }}}}</includeonly><noinclude>{{documentation}}</noinclude>

Revision as of 02:05, 13 September 2008