Template:Days ago: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
(d) |
(title) |
||
Line 1: | Line 1: | ||
<includeonly>{{#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 }}}}</includeonly><noinclude>{{documentation}}</noinclude> |
<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> |
Revision as of 21:45, 26 January 2009
Usage
{{days ago|2008|1|1}}
Produces:
200Template:Spacemonths ago
{{days ago|2008|1|1|short=yes}}
Produces:
200m
See also
- {{age in days}}