<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://blackwiki.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=2600%3A1%3A914A%3A395F%3A53ED%3A74BF%3A634C%3A67DA</id>
	<title>blackwiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://blackwiki.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=2600%3A1%3A914A%3A395F%3A53ED%3A74BF%3A634C%3A67DA"/>
	<link rel="alternate" type="text/html" href="https://blackwiki.org/index.php?title=Special:Contributions/2600:1:914A:395F:53ED:74BF:634C:67DA"/>
	<updated>2026-05-12T21:10:01Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.34.2</generator>
	<entry>
		<id>https://blackwiki.org/index.php?title=Template:Birth_based_on_age_as_of_date/doc&amp;diff=2648380</id>
		<title>Template:Birth based on age as of date/doc</title>
		<link rel="alternate" type="text/html" href="https://blackwiki.org/index.php?title=Template:Birth_based_on_age_as_of_date/doc&amp;diff=2648380"/>
		<updated>2018-02-11T01:53:53Z</updated>

		<summary type="html">&lt;p&gt;2600:1:914A:395F:53ED:74BF:634C:67DA: Age is 72 this current year is 2018&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Documentation subpage}}&lt;br /&gt;
&amp;lt;!-- PLEASE ADD CATEGORIES WHERE INDICATED AT THE BOTTOM OF THIS PAGE --&amp;gt;&lt;br /&gt;
{{Intricate template}}&lt;br /&gt;
&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's publication. &lt;br /&gt;
&lt;br /&gt;
===Syntax===&lt;br /&gt;
&amp;lt;pre&amp;gt; {{birth based on age as of date |age |year|month|day}} &amp;lt;/pre&amp;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;
If they are not known, the &amp;quot;day&amp;quot; and &amp;quot;month&amp;quot; fields can be omitted; this is useful if, for example, only the publication year for a source is known.&lt;br /&gt;
&lt;br /&gt;
===Options===&lt;br /&gt;
To suppress the age field:&lt;br /&gt;
&amp;lt;pre&amp;gt; {{birth based on age as of date |age |year|month|day |noage=1}} &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With the &amp;quot;noage=1&amp;quot; option, the month and day can be &amp;quot;1&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
To replace the '/' separator with ' or ' in compliance with [[WP:APPROXDATE]], add {{para|mos|1}}&lt;br /&gt;
:&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{birth based on age as of date|50 |&amp;lt;/nowiki&amp;gt;{{#expr:{{CURRENTYEAR}}-1}}|{{CURRENTMONTH}}|{{CURRENTDAY}}|mos=1}}&amp;lt;/code&amp;gt;&lt;br /&gt;
::{{birth based on age as of date|50 |{{#expr:{{CURRENTYEAR}}-1}}|{{CURRENTMONTH}}|{{CURRENTDAY}}|mos=1}}&lt;br /&gt;
===Examples===&lt;br /&gt;
If, for example, a reference dated July 4, {{#expr:{{CURRENTYEAR}}-1}} mentions that someone is 50 years old, that person'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;plainlinksneverexpand&amp;quot; style=&amp;quot;margin-top:0;&amp;quot;&lt;br /&gt;
!style=&amp;quot;border:1px solid #aaa;background:#dfd;&amp;quot;|&lt;br /&gt;
The following examples are for a person reported as being 50 years old in {{#expr:{{CURRENTYEAR}}-1}}&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
{{Aligned table&lt;br /&gt;
   |class=wikitable |colstyle=padding-right:1.0em;&lt;br /&gt;
   |col1style=font-family:monospace;padding-right:1.0em;&lt;br /&gt;
   |row1header=on| {{sans-serif|Template code}} | Result&lt;br /&gt;
&lt;br /&gt;
   | {{braces|birth based on age as of date|50 |{{#expr:{{CURRENTYEAR}}-1}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}&lt;br /&gt;
   |        {{birth based on age as of date|50 |{{#expr:{{CURRENTYEAR}}-1}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}&lt;br /&gt;
&lt;br /&gt;
   | {{braces|birth based on age as of date|50 |{{#expr:{{CURRENTYEAR}}-1}}|{{CURRENTMONTHNAME}}|{{CURRENTDAY}}}}&lt;br /&gt;
   |        {{birth based on age as of date|50 |{{#expr:{{CURRENTYEAR}}-1}}|{{CURRENTMONTHNAME}}|{{CURRENTDAY}}}}&lt;br /&gt;
&lt;br /&gt;
   | {{braces|birth based on age as of date|50 |{{#expr:{{CURRENTYEAR}}-1}}|12|31}}&lt;br /&gt;
   |        {{birth based on age as of date|50 |{{#expr:{{CURRENTYEAR}}-1}}|12|31}}&lt;br /&gt;
&lt;br /&gt;
   | {{braces|birth based on age as of date|50 |{{#expr:72{{CURRENTYEAR}}-1}}|Jan|1}}&lt;br /&gt;
   |        {{birth based on age as of date|50 |{{#expr:{{CURRENTYEAR}}-1}}|Jan|1}}2018&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   | {{braces|birth based on age as of date|50 |{{#expr:{{CURRENTYEAR}}-1}}|12|31|noage{{=}}1}}&lt;br /&gt;
   |        {{birth based on age as of date|50 |{{#expr:{{CURRENTYEAR}}-1}}|12|31|noage=1}}&lt;br /&gt;
&lt;br /&gt;
   | {{braces|birth based on age as of date|50|{{#expr:{{CURRENTYEAR}}-1}}|Jan|1|noage{{=}}1}}&lt;br /&gt;
   |        {{birth based on age as of date|50|{{#expr:{{CURRENTYEAR}}-1}}|Jan|1|noage=1}}&lt;br /&gt;
&lt;br /&gt;
   | {{braces|birth based on age as of date|50|{{#expr:{{CURRENTYEAR}}-1}}|{{CURRENTMONTHNAME}}}}&lt;br /&gt;
   |        {{birth based on age as of date|50|{{#expr:{{CURRENTYEAR}}-1}}|{{CURRENTMONTHNAME}}}}&lt;br /&gt;
&lt;br /&gt;
   | {{braces|birth based on age as of date|50|{{#expr:{{CURRENTYEAR}}-1}}|Jan}}&lt;br /&gt;
   |        {{birth based on age as of date|50|{{#expr:{{CURRENTYEAR}}-1}}|Jan}}&lt;br /&gt;
&lt;br /&gt;
   | {{braces|birth based on age as of date|50|{{#expr:{{CURRENTYEAR}}-1}}|12}}&lt;br /&gt;
   |        {{birth based on age as of date|50|{{#expr:{{CURRENTYEAR}}-1}}|12}}&lt;br /&gt;
&lt;br /&gt;
   | {{braces|birth based on age as of date|50|{{#expr:{{CURRENTYEAR}}-1}}}}&lt;br /&gt;
   |        {{birth based on age as of date|50|{{#expr:{{CURRENTYEAR}}-1}}}}&lt;br /&gt;
  }}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Birth, death and age templates |BDA}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{#ifeq:{{SUBPAGENAME}}|sandbox |&lt;br /&gt;
| &amp;lt;!--PLEASE ADD CATEGORIES BELOW THIS LINE: --&amp;gt;&lt;br /&gt;
[[Category:Date mathematics templates]] &lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;br /&gt;
&amp;lt;templatedata&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
	&amp;quot;params&amp;quot;: {&lt;br /&gt;
		&amp;quot;1&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Age&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;Age of subject at date of reference's publication.&amp;quot;,&lt;br /&gt;
			&amp;quot;example&amp;quot;: &amp;quot;55&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;number&amp;quot;,&lt;br /&gt;
			&amp;quot;required&amp;quot;: true&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;2&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Year&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;Year of publication of reference.&amp;quot;,&lt;br /&gt;
			&amp;quot;example&amp;quot;: &amp;quot;1950&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;number&amp;quot;,&lt;br /&gt;
			&amp;quot;required&amp;quot;: true&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;3&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Month&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;Month of publication of reference.&amp;quot;,&lt;br /&gt;
			&amp;quot;example&amp;quot;: &amp;quot;8 or August&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;,&lt;br /&gt;
			&amp;quot;suggested&amp;quot;: true&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;4&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Day&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;Day of publication of reference.&amp;quot;,&lt;br /&gt;
			&amp;quot;example&amp;quot;: &amp;quot;21&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;number&amp;quot;,&lt;br /&gt;
			&amp;quot;suggested&amp;quot;: true&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;mos&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;MOS compliance&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;Set to a value of 1 to replace the '/' separator with ' or ' in compliance with [[WP:APPROXDATE]].&amp;quot;,&lt;br /&gt;
			&amp;quot;example&amp;quot;: &amp;quot;1&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;number&amp;quot;&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;noage&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Hide age&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;Set to a value of 1 to display year of birth without the age.&amp;quot;,&lt;br /&gt;
			&amp;quot;example&amp;quot;: &amp;quot;1&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;number&amp;quot;&lt;br /&gt;
		}&lt;br /&gt;
	},&lt;br /&gt;
	&amp;quot;description&amp;quot;: &amp;quot;This template calculates the birth year and current age based on the age as of a date.&amp;quot;,&lt;br /&gt;
	&amp;quot;format&amp;quot;: &amp;quot;inline&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/templatedata&amp;gt;&lt;/div&gt;</summary>
		<author><name>2600:1:914A:395F:53ED:74BF:634C:67DA</name></author>
		
	</entry>
</feed>