<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://wiki.zaori.org/w/index.php?action=history&amp;feed=atom&amp;title=Template%3ADate%2Fdoc</id>
	<title>Template:Date/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.zaori.org/w/index.php?action=history&amp;feed=atom&amp;title=Template%3ADate%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://wiki.zaori.org/w/index.php?title=Template:Date/doc&amp;action=history"/>
	<updated>2026-04-13T12:26:43Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.36.0-alpha</generator>
	<entry>
		<id>https://wiki.zaori.org/w/index.php?title=Template:Date/doc&amp;diff=384&amp;oldid=prev</id>
		<title>Apheori: 1 revision: Templates</title>
		<link rel="alternate" type="text/html" href="https://wiki.zaori.org/w/index.php?title=Template:Date/doc&amp;diff=384&amp;oldid=prev"/>
		<updated>2013-10-28T23:43:46Z</updated>

		<summary type="html">&lt;p&gt;1 revision: Templates&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{TemplateBox&lt;br /&gt;
|1=1&lt;br /&gt;
|1d=number of the year&lt;br /&gt;
|2=2&lt;br /&gt;
|2d=number of month in the year&lt;br /&gt;
|3=3&lt;br /&gt;
|3d=number of day in the month&lt;br /&gt;
|4=4&lt;br /&gt;
|4d=language code (overrides user's preferences)&lt;br /&gt;
|4def=language code of the user language&lt;br /&gt;
|5=form&lt;br /&gt;
|5d=allows to specify [[:en:Grammatical case|grammatical case]] for the month in YYYY-MM dates, for languages that use them. Possible cases:&lt;br /&gt;
*leave blank for [[:en:Nominative case|nominative case]]&lt;br /&gt;
*&amp;quot;form=gen&amp;quot; for [[:en:Genitive case|genitive case]]&lt;br /&gt;
*&amp;quot;form=loc&amp;quot; for [[:en:Locative case|locative case]] (supported for pl, cs &amp;amp; sl languages)&lt;br /&gt;
*&amp;quot;form=ins&amp;quot; for [[:en:Instrumental case|instrumental case]] (supported for pl, cs &amp;amp; sl languages)&lt;br /&gt;
Also [[:en:Partitive case|Partitive]] (ptv), [[:en:Inessive case|Inessive]] (ine), [[:en:Elative case|Elative]] (ela) and [[:en:Illative case|Illative]] (ill) cases are supported for Finnish language, in addition to [[:en:Nominative case|Nominative]] and [[:en:Genitive case|Genitive]] (gen).&lt;br /&gt;
|6=class&lt;br /&gt;
|6d=allows to set the html class of the time node where the date is included. This is useful for microformats. The default value is, for legacy reasons, &amp;quot;dtstart&amp;quot; (used by [[w:HCalendar|hCalendar]]). See [[Commons:Microformats Project|the microformats project]].&lt;br /&gt;
|6def=dtstart&lt;br /&gt;
|name=Date&lt;br /&gt;
|desc=This template is used to show a date in the language set in the preferences.&lt;br /&gt;
&lt;br /&gt;
You can leave out parts of the data.&lt;br /&gt;
|namespace=Template&lt;br /&gt;
|usergroup=all&lt;br /&gt;
|usage-notes=&lt;br /&gt;
Examples:&lt;br /&gt;
*{{xpdoc|date|2009|1|9}}&lt;br /&gt;
*{{xpdoc|date|2009|1|9|pl}}&lt;br /&gt;
*{{xpdoc|date|2009|1|9|pl|n1=form|v1=}} - alternative way to get nominative case&lt;br /&gt;
*{{xpdoc|date|2009|1|9|pl|n1=form|v1=gen}}&lt;br /&gt;
*{{xpdoc|date|2009|1|9|pl|n1=form|v1=ins}}&lt;br /&gt;
*{{xpdoc|date|2009|1||pl}}&lt;br /&gt;
*{{xpdoc|date|2009|1||pl|n1=form|v1=gen}}&lt;br /&gt;
*{{xpdoc|date|2009|1||pl|n1=form|v1=ins}}&lt;br /&gt;
&lt;br /&gt;
Does not check existence, except for the month number:&lt;br /&gt;
*{{xpdoc|date|2009|12|33}}&lt;br /&gt;
*{{xpdoc|date|2009|17|33}}&lt;br /&gt;
&lt;br /&gt;
=== Microformat ===&lt;br /&gt;
The template returns the date, embed in a &amp;lt;nowiki&amp;gt;&amp;lt;time&amp;gt;&amp;lt;/nowiki&amp;gt; element with attribute datetime that contain the date in the ISO 8601 format needed by the &amp;lt;!-- hAtom (class=&amp;quot;updated&amp;quot;),--&amp;gt; [[w:HCalendar|hCalendar]] (&amp;lt;code&amp;gt;class=&amp;quot;dtstart&amp;quot;&amp;lt;/code&amp;gt;) &amp;lt;!-- and hCard (class=&amp;quot;bday&amp;quot;)--&amp;gt; microformat. See [[Commons:Microformats Project|the microformats project]].&lt;br /&gt;
|type=marker&lt;br /&gt;
|example=&lt;br /&gt;
|i18n-method=switch&lt;br /&gt;
|i18n-desc=&lt;br /&gt;
|seealso={{tl|ISOdate}} – Template used to parse the date in {{tl|information}}&amp;lt;br\&amp;gt; {{tl|other date}} - Allows to specify a range of non-trivial date notations in a format that is localizable&lt;br /&gt;
|setscats=&lt;br /&gt;
|lines=one&lt;br /&gt;
|shorthand=&lt;br /&gt;
|relieson={{tl|I18n month}}, {{tl|formatnum}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;&lt;br /&gt;
[[Category:Time, date and calendar templates|{{PAGENAME}}]]&lt;br /&gt;
[[Category:User interface language dependent templates|{{PAGENAME}}]]&lt;br /&gt;
&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Apheori</name></author>
	</entry>
</feed>