<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://pool.calebcooper.ie/index.php?action=history&amp;feed=atom&amp;title=Template%3AAge_for_infant%2Fdoc</id>
	<title>Template:Age for infant/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://pool.calebcooper.ie/index.php?action=history&amp;feed=atom&amp;title=Template%3AAge_for_infant%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://pool.calebcooper.ie/index.php?title=Template:Age_for_infant/doc&amp;action=history"/>
	<updated>2026-04-07T23:21:59Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://pool.calebcooper.ie/index.php?title=Template:Age_for_infant/doc&amp;diff=14060&amp;oldid=prev</id>
		<title>Caleb Cooper: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://pool.calebcooper.ie/index.php?title=Template:Age_for_infant/doc&amp;diff=14060&amp;oldid=prev"/>
		<updated>2020-10-25T18:27:17Z</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:27, 25 October 2020&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>Caleb Cooper</name></author>
	</entry>
	<entry>
		<id>https://pool.calebcooper.ie/index.php?title=Template:Age_for_infant/doc&amp;diff=14059&amp;oldid=prev</id>
		<title>wikipedia&gt;Zyxw: add {{Lua|Module:Age}}, misc formatting</title>
		<link rel="alternate" type="text/html" href="https://pool.calebcooper.ie/index.php?title=Template:Age_for_infant/doc&amp;diff=14059&amp;oldid=prev"/>
		<updated>2018-10-23T18:43:34Z</updated>

		<summary type="html">&lt;p&gt;add {{Lua|Module:Age}}, misc formatting&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 template displays an age appropriate for an infant: months and days up to one year, years and months up to three years, and years beyond.&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
&amp;lt;pre&amp;gt;{{age for infant|abbr= yes/no|YEAROFBIRTH|MONTHOFBIRTH|DAYOFBIRTH}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;{{subst:age for infant|abbr= yes/no|YEAROFBIRTH|MONTHOFBIRTH|DAYOFBIRTH|CMPYEAR|CMPMONTH|CMPDAY}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;div class=&amp;quot;toccolours&amp;quot; style=&amp;quot;width:60%; text-align:left;&amp;quot;&amp;gt;&lt;br /&gt;
* &amp;lt;kbd&amp;gt;&amp;#039;&amp;#039;&amp;#039;abbr&amp;#039;&amp;#039;&amp;#039;&amp;lt;/kbd&amp;gt; - if set to &amp;lt;kbd&amp;gt;&amp;#039;&amp;#039;&amp;#039;yes&amp;#039;&amp;#039;&amp;#039;&amp;lt;/kbd&amp;gt; days are displayed as &amp;quot;dys&amp;quot;, months as &amp;quot;mos&amp;quot;, etc., etc. If set to &amp;lt;kbd&amp;gt;&amp;#039;&amp;#039;&amp;#039;no&amp;#039;&amp;#039;&amp;#039;&amp;lt;/kbd&amp;gt; or undefined, the template displays normally.&lt;br /&gt;
* &amp;lt;kbd&amp;gt;&amp;#039;&amp;#039;&amp;#039;DAYOFBIRTH&amp;#039;&amp;#039;&amp;#039;&amp;lt;/kbd&amp;gt; - the day the infant was born&lt;br /&gt;
* &amp;lt;kbd&amp;gt;&amp;#039;&amp;#039;&amp;#039;MONTHOFBIRTH&amp;#039;&amp;#039;&amp;#039;&amp;lt;/kbd&amp;gt; - the month in which the baby was born&lt;br /&gt;
* &amp;lt;kbd&amp;gt;&amp;#039;&amp;#039;&amp;#039;YEAROFBIRTH&amp;#039;&amp;#039;&amp;#039;&amp;lt;/kbd&amp;gt; - the year the baby was born, in four digits&lt;br /&gt;
* &amp;lt;kbd&amp;gt;&amp;#039;&amp;#039;&amp;#039;CMPDAY&amp;#039;&amp;#039;&amp;#039;&amp;lt;/kbd&amp;gt; - the day to compare to, rather than the current day&lt;br /&gt;
* &amp;lt;kbd&amp;gt;&amp;#039;&amp;#039;&amp;#039;CMPMONTH&amp;#039;&amp;#039;&amp;#039;&amp;lt;/kbd&amp;gt; - the month to compare to, rather than the current month&lt;br /&gt;
* &amp;lt;kbd&amp;gt;&amp;#039;&amp;#039;&amp;#039;CMPYEAR&amp;#039;&amp;#039;&amp;#039;&amp;lt;/kbd&amp;gt; - the year to compare to, rather than the current year&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
&amp;lt;small&amp;gt;Wikipedia&amp;#039;s current date is {{#time:Y-m-d}}.&amp;lt;/small&amp;gt;&lt;br /&gt;
* {{xpd3|age for infant|{{#time:Y|-1 month -1 day}}|{{#time:n|-1 month -1 day}}|{{#time:j|-1 month -1 day}}}}&lt;br /&gt;
* &amp;lt;kbd&amp;gt;&amp;lt;nowiki&amp;gt;{{age for infant|&amp;lt;/nowiki&amp;gt;{{CURRENTYEAR}}|1|1|abbr=yes}}&amp;lt;/kbd&amp;gt; gives: {{age for infant|{{CURRENTYEAR}}|1|1|abbr=yes}}&lt;br /&gt;
* {{xpd|age for infant|{{#time:Y|-2 years -1 month -1 day}}|{{#time:n|-2 years -1 month -1 day}}|{{#time:j|-2 years -1 month -1 day}}}}&lt;br /&gt;
* {{xpd|age for infant|{{#expr:{{CURRENTYEAR}}-5}}|1|1}}&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 and interwikis at Wikidata --&amp;gt;&lt;br /&gt;
[[Category:Date mathematics templates|{{PAGENAME}}]]&lt;br /&gt;
&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>wikipedia&gt;Zyxw</name></author>
	</entry>
</feed>