Difference between revisions of "Template:Age in years, months, weeks and days"

From NSWiki
Jump to: navigation, search
(Created page with "{{Age in years, months, weeks and days |years={{#expr: {{{year2 | {{CURRENTYEAR}} }}} - {{{year1 | {{{year | {{CURRENTYEAR}} }}} }}} - {{#ifexpr: {{{month2 | {{CURRENTMONTH}}...")
 
Line 1: Line 1:
{{Age in years, months, weeks and days
+
{{Age in years, months, weeks and days/display
 
  |years={{#expr: {{{year2 | {{CURRENTYEAR}} }}} - {{{year1 | {{{year | {{CURRENTYEAR}} }}} }}} - {{#ifexpr: {{{month2 | {{CURRENTMONTH}} }}} > {{{month1 | {{{month | {{CURRENTMONTH}} }}} }}}
 
  |years={{#expr: {{{year2 | {{CURRENTYEAR}} }}} - {{{year1 | {{{year | {{CURRENTYEAR}} }}} }}} - {{#ifexpr: {{{month2 | {{CURRENTMONTH}} }}} > {{{month1 | {{{month | {{CURRENTMONTH}} }}} }}}
 
   |0
 
   |0

Revision as of 01:04, 26 January 2018

Template:Age in years, months, weeks and days/display