Difference between revisions of "Template:How long ago"

From blackwiki
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 Long Ago/Exp|{{ #ifexpr: (((({{#time: YmdHis}} / 1000000) round 0)) /100 round 0) - (((({{#time: YmdHis}} / 1000000) round 0)) /10000 round 0)*100 > {{{month|12}}}
+
{{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

Template:How long ago/exp

This template was based on "Template:User Wikipedian For", which was itself translated from the Hebrew Wikipedia.

Example usage

CodeResult
{{How Long Ago|year=2004|month=3|day=10}}
  1. REDIRECT Template:Age in years, months and days
This template was created {{How Long Ago|year=2007|month=11|day=20}} agoThis template was created
  1. REDIRECT Template:Age in years, months and days ago