<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh">
	<id>https://arolstar52-zhtest.hf.space/index.php?action=history&amp;feed=atom&amp;title=Template%3ABirth_based_on_age_as_of_date%2Fdoc</id>
	<title>Template:Birth based on age as of date/doc - 版本历史</title>
	<link rel="self" type="application/atom+xml" href="https://arolstar52-zhtest.hf.space/index.php?action=history&amp;feed=atom&amp;title=Template%3ABirth_based_on_age_as_of_date%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://arolstar52-zhtest.hf.space/index.php?title=Template:Birth_based_on_age_as_of_date/doc&amp;action=history"/>
	<updated>2026-07-18T20:01:40Z</updated>
	<subtitle>本wiki上该页面的版本历史</subtitle>
	<generator>MediaWiki 1.43.9</generator>
	<entry>
		<id>https://arolstar52-zhtest.hf.space/index.php?title=Template:Birth_based_on_age_as_of_date/doc&amp;diff=1966665&amp;oldid=prev</id>
		<title>imported&gt;Tjmj：​筆誤</title>
		<link rel="alternate" type="text/html" href="https://arolstar52-zhtest.hf.space/index.php?title=Template:Birth_based_on_age_as_of_date/doc&amp;diff=1966665&amp;oldid=prev"/>
		<updated>2022-05-16T16:29:28Z</updated>

		<summary type="html">&lt;p&gt;筆誤&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Documentation subpage}}&lt;br /&gt;
&amp;lt;!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --&amp;gt;&lt;br /&gt;
{{esoteric}}&lt;br /&gt;
=== Usage ===&lt;br /&gt;
This template calculates the birth year and current age based on the age as of a date. This is useful when a reference states only their age at the time of the reference&amp;#039;s publication. &lt;br /&gt;
&lt;br /&gt;
===Syntax===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{Birth based on age as of date|age|year|month|day}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The age, year, and day must be supplied as [[natural number]]s; month can be specified as a natural number as well as by name or abbreviation (e.g. &amp;quot;August&amp;quot; or &amp;quot;Aug&amp;quot;).  The [[Gregorian calendar]] is assumed, with no special support provided for [[dual dating]] or the difference between [[Old Style and New Style dates]] .&lt;br /&gt;
&lt;br /&gt;
===Examples===&lt;br /&gt;
For example, if a reference dated July 4, {{#expr: {{CURRENTYEAR}} - 1}} mentions that someone is 50 years old, that person&amp;#039;s birth year and age can be rendered using &lt;br /&gt;
 &amp;lt;nowiki&amp;gt;{{Birth based on age as of date|50|&amp;lt;/nowiki&amp;gt;{{#expr: {{CURRENTYEAR}} - 1}}|July|4}}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable plainlinksneverexpand noprint&amp;quot; style=&amp;quot;margin-top:0; width:100%; text-align:center;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;6&amp;quot; style=&amp;quot;background:#dfd;&amp;quot;|&lt;br /&gt;
The following examples use a date which is exactly one year before:&amp;lt;br&amp;gt; &lt;br /&gt;
{{CURRENTDAY}} {{CURRENTMONTHNAME}} {{CURRENTYEAR}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=wikitable width=100%&lt;br /&gt;
|-&lt;br /&gt;
! width=70% | Template text&lt;br /&gt;
! width=30% | Result&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;tt&amp;gt;&amp;lt;nowiki&amp;gt;{{Birth based on age as of date|50|&amp;lt;/nowiki&amp;gt;{{#expr: {{CURRENTYEAR}} - 1}}|{{#expr: {{CURRENTMONTH}}}}|{{CURRENTDAY}}}}&amp;lt;/tt&amp;gt;&lt;br /&gt;
| align=center | {{Birth based on age as of date|50|{{#expr: {{CURRENTYEAR}} - 1}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;tt&amp;gt;&amp;lt;nowiki&amp;gt;{{Birth based on age as of date|50|&amp;lt;/nowiki&amp;gt;{{#expr: {{CURRENTYEAR}} - 1}}|{{CURRENTMONTHNAME}}|{{CURRENTDAY}}}}&amp;lt;/tt&amp;gt;&lt;br /&gt;
| align=center | {{Birth based on age as of date|50|{{#expr: {{CURRENTYEAR}} - 1}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;tt&amp;gt;&amp;lt;nowiki&amp;gt;{{Birth based on age as of date|50|&amp;lt;/nowiki&amp;gt;{{#expr: {{CURRENTYEAR}} - 1}}|1|15}}&amp;lt;/tt&amp;gt;&lt;br /&gt;
| align=center | {{Birth based on age as of date|50|{{#expr: {{CURRENTYEAR}} - 1}}|1|15}}&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;tt&amp;gt;&amp;lt;nowiki&amp;gt;{{Birth based on age as of date|50|&amp;lt;/nowiki&amp;gt;{{#expr: {{CURRENTYEAR}} - 1}}|Nov|5}}&amp;lt;/tt&amp;gt;&lt;br /&gt;
| align=center | {{Birth based on age as of date|50|{{#expr: {{CURRENTYEAR}} - 1}}|11|5}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== 參見 ===&lt;br /&gt;
{{出生、逝世及日期模板|BDA}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{Sandbox other||&amp;lt;!-- 本行下加入模板的分類 --&amp;gt;&lt;br /&gt;
[[Category:日期計算模板|Birth based on age as of date]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>imported&gt;Tjmj</name></author>
	</entry>
</feed>