Template:Location Age

From CCMDB Wiki
Jump to navigation Jump to search

[[{{{Location}}}]] - 0yrs ()


works:

  • {{#expr: floor(({{#time: Ymd}} - {{#time: Ymd |{{#show: {{{Location}}} | ?Collection Location Startdate#ISO}} }})/10000)}}
  • {{#show: {{{Location}}} | ?Collection Location Startdate#ISO}}
  • {{#expr: floor(({{#time: Ymd}} - {{#time: Ymd |{{{StartDate}}} }})/10000)}}


startdt = the date from which to calculate age