更改

删除612字节 、 2020年6月25日 (四) 23:45
白龙移动页面AgeTemplate:Age,不留重定向
第1行: 第1行: −
<includeonly>{{#expr:({{{4|{{CURRENTYEAR}}}}})-({{{1}}})-(({{{5|{{CURRENTMONTH}}}}})<({{{2}}})or({{{5|{{CURRENTMONTH}}}}})=({{{2}}})and({{{6|{{CURRENTDAY}}}}})<({{{3}}}))}}</includeonly><noinclude>
+
{{#invoke:age|age_generic|template=age_full_years}}<noinclude>{{documentation}}</noinclude>
 
  −
{{tiw|age}}.
  −
 
  −
This template returns the number of full years elapsed from one date until another date or until today (UTC). See [[{{TALKSPACE}}:{{PAGENAME}}]] for examples.
  −
 
  −
If you use this template for calculating someone's age at death or age at a certain date (rather than their current age), please substitute it into the page, for example: <nowiki>{{subst:age|1989|7|23|2003|7|14}}</nowiki>.
  −
 
  −
 
  −
[[Category:Date math|{{PAGENAME}}]]
  −
[[Category:使用了分析程序的模板|{{PAGENAME}}]]
  −
</noinclude>