Difference between revisions of "Template:How long ago"
Jump to navigation
Jump to search
imported>PC78 m (moved Template:How Long Ago to Template:How long ago: capitalisation) |
imported>PC78 m |
||
| Line 1: | Line 1: | ||
| − | {{How | + | {{How long ago/exp|{{ #ifexpr: (((({{#time: YmdHis}} / 1000000) round 0)) /100 round 0) - (((({{#time: YmdHis}} / 1000000) round 0)) /10000 round 0)*100 > {{{month|12}}} |
| {{ #expr: {{ #expr: ((({{#time: YmdHis}} / 1000000) round 0)) /10000 round 0}} - {{{year|2005}}} }} | | {{ #expr: {{ #expr: ((({{#time: YmdHis}} / 1000000) round 0)) /10000 round 0}} - {{{year|2005}}} }} | ||
| {{ #ifexpr: (((({{#time: YmdHis}} / 1000000) round 0)) /100 round 0) - (((({{#time: YmdHis}} / 1000000) round 0)) /10000 round 0)*100 < {{{month|12}}} | | {{ #ifexpr: (((({{#time: YmdHis}} / 1000000) round 0)) /100 round 0) - (((({{#time: YmdHis}} / 1000000) round 0)) /10000 round 0)*100 < {{{month|12}}} | ||
Revision as of 00:24, 23 September 2010
This template was based on "Template:User Wikipedian For", which was itself translated from the Hebrew Wikipedia.
Example usage
| Code | Result |
|---|---|
| {{How Long Ago|year=2004|month=3|day=10}} | |
| This template was created {{How Long Ago|year=2007|month=11|day=20}} ago | This template was created
|