<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.nichework.com/w/index.php?action=history&amp;feed=atom&amp;title=Template%3AAge_nts%2Fdoc</id>
	<title>Template:Age nts/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.nichework.com/w/index.php?action=history&amp;feed=atom&amp;title=Template%3AAge_nts%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://wiki.nichework.com/w/index.php?title=Template:Age_nts/doc&amp;action=history"/>
	<updated>2026-05-09T04:14:53Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.5</generator>
	<entry>
		<id>https://wiki.nichework.com/w/index.php?title=Template:Age_nts/doc&amp;diff=3171&amp;oldid=prev</id>
		<title>MarkAHershberger: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://wiki.nichework.com/w/index.php?title=Template:Age_nts/doc&amp;diff=3171&amp;oldid=prev"/>
		<updated>2026-01-19T18:41:47Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 18:41, 19 January 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>MarkAHershberger</name></author>
	</entry>
	<entry>
		<id>https://wiki.nichework.com/w/index.php?title=Template:Age_nts/doc&amp;diff=3170&amp;oldid=prev</id>
		<title>w&gt;1234qwer1234qwer4: Disambiguating links to Help:Sorting (link changed to Help:Sortable tables) using DisamAssist.</title>
		<link rel="alternate" type="text/html" href="https://wiki.nichework.com/w/index.php?title=Template:Age_nts/doc&amp;diff=3170&amp;oldid=prev"/>
		<updated>2024-09-27T20:57:49Z</updated>

		<summary type="html">&lt;p&gt;Disambiguating links to &lt;a href=&quot;/w/index.php?title=Help:Sorting&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Help:Sorting (page does not exist)&quot;&gt;Help:Sorting&lt;/a&gt; (link changed to &lt;a href=&quot;/w/index.php?title=Help:Sortable_tables&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Help:Sortable tables (page does not exist)&quot;&gt;Help:Sortable tables&lt;/a&gt;) using &lt;a href=&quot;/w/index.php?title=User:Qwertyytrewqqwerty/DisamAssist&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;User:Qwertyytrewqqwerty/DisamAssist (page does not exist)&quot;&gt;DisamAssist&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Documentation subpage}}&lt;br /&gt;
&amp;lt;!-- Place categories where indicated at the bottom of this page and interwikis at Wikidata --&amp;gt;&lt;br /&gt;
{{Lua|Module:Age}}&lt;br /&gt;
&lt;br /&gt;
This acts just like {{tl|Age}} but will sort correctly in sortable tables. It is used in more than 1,000.&lt;br /&gt;
&lt;br /&gt;
The template returns the number of full years between two specified dates. If the second set of parameters is not included, it will return the number of full years between a specified date and today&amp;#039;s date.&lt;br /&gt;
&lt;br /&gt;
A hidden sort key is included so values produced by this template will work properly in [[Help:Sortable tables|sortable tables]]. The sort key is calculated from the number of days between the given dates, and is compatible with {{tl|number table sorting}}.&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
: &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;{{BASEPAGENAME}}|&amp;#039;&amp;#039;year&amp;#039;&amp;#039;|&amp;#039;&amp;#039;month&amp;#039;&amp;#039;|&amp;#039;&amp;#039;day&amp;#039;&amp;#039;|&amp;#039;&amp;#039;year2&amp;#039;&amp;#039;|&amp;#039;&amp;#039;month2&amp;#039;&amp;#039;|&amp;#039;&amp;#039;day2&amp;#039;&amp;#039;}}&amp;lt;/code&amp;gt;  or &lt;br /&gt;
: &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;{{BASEPAGENAME}}|&amp;#039;&amp;#039;year&amp;#039;&amp;#039;|&amp;#039;&amp;#039;month&amp;#039;&amp;#039;|&amp;#039;&amp;#039;day&amp;#039;&amp;#039;}}&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
: For example, the following expression returns the number of full years elapsed between the [[fall of the Western Roman Empire]] on September 4, 476 AD, and the formation of the [[Italian Republic]] on June 2, 1946:&lt;br /&gt;
:: &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;{{BASEPAGENAME}}|476|9|4|1946|6|2}}&amp;lt;/code&amp;gt; returns &amp;quot;{{{{BASEPAGENAME}}|476|9|4|1946|6|2}}&amp;quot;&lt;br /&gt;
:: &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;{{BASEPAGENAME}}|476|9|4}}&amp;lt;/code&amp;gt; returns &amp;quot;{{{{BASEPAGENAME}}|476|9|4}}&amp;quot;&lt;br /&gt;
&lt;br /&gt;
: When entering dates before the [[Common Era]], use astronomical year numbering: 1 BCE is represented by 0, 2 BCE by -1, 3 BCE by -2 etc. For example, the following expression returns the number of full years elapsed since the [[battle of Cannae]], which took place on August 2, 216 BCE:&lt;br /&gt;
:: &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;{{BASEPAGENAME}}|-215|8|2}}&amp;lt;/code&amp;gt; returns &amp;quot;{{{{BASEPAGENAME}}|-215|8|2}}&amp;quot;&lt;br /&gt;
: (BCE is exactly the same as BC, so August 2, 216 BCE is also August 2, 216 BC)&lt;br /&gt;
&lt;br /&gt;
== Note ==&lt;br /&gt;
: This template does not check for incorrect input:&lt;br /&gt;
:: &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;{{BASEPAGENAME}}|2000|4|22|2015|8|32}}&amp;lt;/code&amp;gt; returns &amp;quot;{{{{BASEPAGENAME}}|2000|4|22|2015|8|32}}&amp;quot; (surplus days do not count as extra months)&lt;br /&gt;
:: &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;{{BASEPAGENAME}}|2000|4|22|2015|13|7}}&amp;lt;/code&amp;gt; returns &amp;quot;{{{{BASEPAGENAME}}|2000|4|22|2015|13|7}}&amp;quot; (surplus months do not count as extra years)&lt;br /&gt;
:: &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;{{BASEPAGENAME}}|1900|2|29}}&amp;lt;/code&amp;gt; returns &amp;quot;{{{{BASEPAGENAME}}|1900|2|29}}&amp;quot; (1900 is not a leap year)&lt;br /&gt;
&lt;br /&gt;
== TemplateData ==&lt;br /&gt;
{{TemplateData header}}&lt;br /&gt;
&amp;lt;templatedata&amp;gt;{&lt;br /&gt;
&amp;quot;description&amp;quot;: &amp;quot;This template returns the number of full years between two specified dates. If the second set of parameters is not included, it will return the number of full years between a specified date and today&amp;#039;s date.&amp;quot;,&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;Year (\&amp;quot;from\&amp;quot; date)&amp;quot;,&lt;br /&gt;
    &amp;quot;description&amp;quot;: &amp;quot;The year of the \&amp;quot;from\&amp;quot; date&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;Month (\&amp;quot;from\&amp;quot; date)&amp;quot;,&lt;br /&gt;
    &amp;quot;description&amp;quot;: &amp;quot;The month of the \&amp;quot;from\&amp;quot; date, 1 through 12&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;Day (\&amp;quot;from\&amp;quot; date)&amp;quot;,&lt;br /&gt;
    &amp;quot;description&amp;quot;: &amp;quot;The day (of month) of the \&amp;quot;from\&amp;quot; date, 1 through 31&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;4&amp;quot;: {&lt;br /&gt;
    &amp;quot;label&amp;quot;: &amp;quot;Year2 (\&amp;quot;to\&amp;quot; date)&amp;quot;,&lt;br /&gt;
    &amp;quot;description&amp;quot;: &amp;quot;The year of the \&amp;quot;to\&amp;quot; date, if required&amp;quot;,&lt;br /&gt;
    &amp;quot;type&amp;quot;: &amp;quot;number&amp;quot;,&lt;br /&gt;
    &amp;quot;required&amp;quot;: false,&lt;br /&gt;
    &amp;quot;default&amp;quot;: &amp;quot;{{CURRENTYEAR}}&amp;quot;&lt;br /&gt;
  },&lt;br /&gt;
  &amp;quot;5&amp;quot;: {&lt;br /&gt;
    &amp;quot;label&amp;quot;: &amp;quot;Month2 (\&amp;quot;to\&amp;quot; date)&amp;quot;,&lt;br /&gt;
    &amp;quot;description&amp;quot;: &amp;quot;The month of the \&amp;quot;to\&amp;quot; date, if required&amp;quot;,&lt;br /&gt;
    &amp;quot;type&amp;quot;: &amp;quot;number&amp;quot;,&lt;br /&gt;
    &amp;quot;required&amp;quot;: false,&lt;br /&gt;
    &amp;quot;default&amp;quot;: &amp;quot;{{CURRENTMONTH}}&amp;quot;&lt;br /&gt;
  },&lt;br /&gt;
  &amp;quot;6&amp;quot;: {&lt;br /&gt;
    &amp;quot;label&amp;quot;: &amp;quot;Day2 (\&amp;quot;to\&amp;quot; date)&amp;quot;,&lt;br /&gt;
    &amp;quot;description&amp;quot;: &amp;quot;The day (of month) of the \&amp;quot;to\&amp;quot; date, if required&amp;quot;,&lt;br /&gt;
    &amp;quot;type&amp;quot;: &amp;quot;number&amp;quot;,&lt;br /&gt;
    &amp;quot;required&amp;quot;: false,&lt;br /&gt;
    &amp;quot;default&amp;quot;: &amp;quot;{{CURRENTDAY}}&amp;quot;&lt;br /&gt;
  }&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/templatedata&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* {{tl|nts}} - number table sorting&lt;br /&gt;
* [[Wikipedia:Age calculation templates]]&lt;br /&gt;
&lt;br /&gt;
{{Birth, death and age templates|age}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{Sandbox other||&lt;br /&gt;
&amp;lt;!-- Categories below this line, please; interwikis at Wikidata --&amp;gt;&lt;br /&gt;
[[Category:Date mathematics templates]]&lt;br /&gt;
[[Category:Sorting templates]]&lt;br /&gt;
&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>w&gt;1234qwer1234qwer4</name></author>
	</entry>
</feed>