Jump to content

Template talk:Age in years nts

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

how do I put in negative year date?

[edit]

E.g. 600 BCE to present. — kwami (talk) 06:53, 4 July 2021 (UTC)[reply]

@kwami: This template now uses Module:Age and consequently can use its tricks.
  • {{age in years nts|600 BCE|range=no}}2,623
It also accepts a negative year but you have to account for the fact that there was no year zero. That means the year could be entered as -599 (with a hyphen-dash). Johnuniq (talk) 07:48, 4 July 2021 (UTC)[reply]

Thanks! I was missing the 'range=no'. — kwami (talk) 07:52, 4 July 2021 (UTC)[reply]