Difference between revisions of "Template:How long ago"

From blackwiki
Jump to navigation Jump to search
imported>Primefac
(relisted)
imported>Primefac
(discussion closed as redirect)
Line 1: Line 1:
<noinclude>{{Template for discussion/dated|page=How long ago|link=Wikipedia:Templates for discussion/Log/2015 November 22#Template:How long ago}}</noinclude>
+
#REDIRECT [[Template:Age in years, months and days]]
{{How long ago/exp|{{ #ifexpr: (((({{#time: YmdHis}} / 1000000) round 0)) /100 round 0) - (((({{#time: YmdHis}} / 1000000) round 0)) /10000 round 0)*100 > {{{2|{{{month|12}}}}}}
+
{{r from duplicated article}}
| {{ #expr: {{ #expr: ((({{#time: YmdHis}} / 1000000) round 0)) /10000 round 0}} - {{{1|{{{year|2005}}}}}} }}
 
| {{ #ifexpr: (((({{#time: YmdHis}} / 1000000) round 0)) /100 round 0) - (((({{#time: YmdHis}} / 1000000) round 0)) /10000 round 0)*100 < {{{2|{{{month|12}}}}}}
 
    | {{ #expr: {{ #expr: ((({{#time: YmdHis}} / 1000000) round 0)) /10000 round 0}} - {{{1|{{{year|2005}}}}}} - 1 }}
 
    | {{ #ifexpr: (((({{#time: YmdHis}} / 1000000) round 0))) - (((({{#time: YmdHis}} / 1000000) round 0)) /100 round 0)*100 >= {{{3|{{{day|31}}}}}}
 
      | {{ #expr: {{ #expr: ((({{#time: YmdHis}} / 1000000) round 0)) /10000 round 0}} - {{{1|{{{year|2005}}}}}} }}
 
      | {{ #expr: {{ #expr: ((({{#time: YmdHis}} / 1000000) round 0)) /10000 round 0}} - {{{1|{{{year|2005}}}}}} - 1 }}
 
      }}
 
  }}
 
}}|{{#ifexpr: (((({{#time: YmdHis}} / 1000000) round 0))) - (((({{#time: YmdHis}} / 1000000) round 0)) /100 round 0)*100 >= {{{3|{{{day|31}}}}}}
 
| {{#ifexpr: (((({{#time: YmdHis}} / 1000000) round 0)) /100 round 0) - (((({{#time: YmdHis}} / 1000000) round 0)) /10000 round 0)*100 - {{{2|{{{month|12}}}}}} >= 0
 
    | {{#expr: (((({{#time: YmdHis}} / 1000000) round 0)) /100 round 0) - (((({{#time: YmdHis}} / 1000000) round 0)) /10000 round 0)*100 - {{{2|{{{month|12}}}}}} }}
 
    | {{ #expr: (((({{#time: YmdHis}} / 1000000) round 0)) /100 round 0) - (((({{#time: YmdHis}} / 1000000) round 0)) /10000 round 0)*100 - {{{2|{{{month|12}}}}}} + 12 }}
 
  }}
 
| {{#ifexpr: (((({{#time: YmdHis}} / 1000000) round 0)) /100 round 0) - (((({{#time: YmdHis}} / 1000000) round 0)) /10000 round 0)*100 - {{{2|{{{month|12}}}}}} > 0
 
    | {{ #expr: (((({{#time: YmdHis}} / 1000000) round 0)) /100 round 0) - (((({{#time: YmdHis}} / 1000000) round 0)) /10000 round 0)*100 - {{{2|{{{month|12}}}}}} - 1 }}
 
    | {{ #expr: (((({{#time: YmdHis}} / 1000000) round 0)) /100 round 0) - (((({{#time: YmdHis}} / 1000000) round 0)) /10000 round 0)*100 - {{{2|{{{month|12}}}}}} + 11 }}
 
  }}
 
}}|{{#ifexpr: (((({{#time: YmdHis}} / 1000000) round 0))) - (((({{#time: YmdHis}} / 1000000) round 0)) /100 round 0)*100 >= {{{3|{{{day|31}}}}}} | {{ #expr: {{ #expr: (((({{#time: YmdHis}} / 1000000) round 0))) - (((({{#time: YmdHis}} / 1000000) round 0)) /100 round 0)*100 }} - {{{3|{{{day|31}}}}}} }} | {{#ifexpr: (((({{#time: YmdHis}} / 1000000) round 0)) /100 round 0) - (((({{#time: YmdHis}} / 1000000) round 0)) /10000 round 0)*100 = 5 or (((({{#time: YmdHis}} / 1000000) round 0)) /100 round 0) - (((({{#time: YmdHis}} / 1000000) round 0)) /10000 round 0)*100 = 7 or (((({{#time: YmdHis}} / 1000000) round 0)) /100 round 0) - (((({{#time: YmdHis}} / 1000000) round 0)) /10000 round 0)*100 = 10 or (((({{#time: YmdHis}} / 1000000) round 0)) /100 round 0) - (((({{#time: YmdHis}} / 1000000) round 0)) /10000 round 0)*100 = 12 | {{ #expr: {{ #expr: (((({{#time: YmdHis}} / 1000000) round 0))) - (((({{#time: YmdHis}} / 1000000) round 0)) /100 round 0)*100 }} - {{{3|{{{day|31}}}}}} + 30 }} | {{#ifexpr: (((({{#time: YmdHis}} / 1000000) round 0)) /100 round 0) - (((({{#time: YmdHis}} / 1000000) round 0)) /10000 round 0)*100 = 1 or (((({{#time: YmdHis}} / 1000000) round 0)) /100 round 0) - (((({{#time: YmdHis}} / 1000000) round 0)) /10000 round 0)*100 = 2 or (((({{#time: YmdHis}} / 1000000) round 0)) /100 round 0) - (((({{#time: YmdHis}} / 1000000) round 0)) /10000 round 0)*100 = 4 or (((({{#time: YmdHis}} / 1000000) round 0)) /100 round 0) - (((({{#time: YmdHis}} / 1000000) round 0)) /10000 round 0)*100 = 6 or (((({{#time: YmdHis}} / 1000000) round 0)) /100 round 0) - (((({{#time: YmdHis}} / 1000000) round 0)) /10000 round 0)*100 = 8 or (((({{#time: YmdHis}} / 1000000) round 0)) /100 round 0) - (((({{#time: YmdHis}} / 1000000) round 0)) /10000 round 0)*100 = 9 or (((({{#time: YmdHis}} / 1000000) round 0)) /100 round 0) - (((({{#time: YmdHis}} / 1000000) round 0)) /10000 round 0)*100 = 11 | {{ #expr: {{ #expr: (((({{#time: YmdHis}} / 1000000) round 0))) - (((({{#time: YmdHis}} / 1000000) round 0)) /100 round 0)*100 }} - {{{3|{{{day|31}}}}}} + 31 }} | {{#ifexpr: ((({{#time: YmdHis}} / 1000000) round 0)) /10000 round 0 mod 4 = 0 | {{ #expr: {{ #expr: (((({{#time: YmdHis}} / 1000000) round 0))) - (((({{#time: YmdHis}} / 1000000) round 0)) /100 round 0)*100 }} - {{{3|{{{day|31}}}}}} + 29 }} | {{ #expr: {{ #expr: (((({{#time: YmdHis}} / 1000000) round 0))) - (((({{#time: YmdHis}} / 1000000) round 0)) /100 round 0)*100 }} - {{{3|{{{day|31}}}}}} + 28 }} }} }} }}}}}}<noinclude>{{documentation}}</noinclude>
 

Revision as of 20:20, 30 November 2015

  • From a duplicated article: This is a redirect from a page on the same or very similar subject matter that was kept as a redirect to preserve this page's edit history after the content was merged.
    • Please do not delete this redirect nor remove this tag unless the need to recreate this article is demonstrated.