Template:Age in years/testcases

测试

{{Age in years|2000}}
  • {{Age in years|2000}} → 23—24
  • {{Age in years/sandbox|2000}} → 23—24
  • Expected: 20–21 (as of 2021)
{{Age in years|1900|1950}}
{{Age in years|1900|1950}}
左右对比
{{Age in years}}{{Age in years/sandbox}}
49—50 49—50