<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://augsburgwrestling.info/index.php?action=history&amp;feed=atom&amp;title=Template%3ADts%2Fdoc</id>
	<title>Template:Dts/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://augsburgwrestling.info/index.php?action=history&amp;feed=atom&amp;title=Template%3ADts%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://augsburgwrestling.info/index.php?title=Template:Dts/doc&amp;action=history"/>
	<updated>2026-06-19T14:09:18Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://augsburgwrestling.info/index.php?title=Template:Dts/doc&amp;diff=1684&amp;oldid=prev</id>
		<title>Calebrw: Created page with &#039;&lt;includeonly&gt;{{template doc page transcluded}}&lt;/includeonly&gt;&lt;noinclude&gt;{{template doc page viewed directly}}&lt;/noinclude&gt; &lt;!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --&gt; &#039;&#039;&#039;{...&#039;</title>
		<link rel="alternate" type="text/html" href="https://augsburgwrestling.info/index.php?title=Template:Dts/doc&amp;diff=1684&amp;oldid=prev"/>
		<updated>2009-04-09T22:23:08Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;#039;&amp;lt;includeonly&amp;gt;{{template doc page transcluded}}&amp;lt;/includeonly&amp;gt;&amp;lt;noinclude&amp;gt;{{template doc page viewed directly}}&amp;lt;/noinclude&amp;gt; &amp;lt;!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --&amp;gt; &amp;#039;&amp;#039;&amp;#039;{...&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;includeonly&amp;gt;{{template doc page transcluded}}&amp;lt;/includeonly&amp;gt;&amp;lt;noinclude&amp;gt;{{template doc page viewed directly}}&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&amp;lt;!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;{{PAGENAME}}&amp;#039;&amp;#039;&amp;#039; stands for &amp;lt;big&amp;gt;&amp;#039;&amp;#039;&amp;#039;D&amp;#039;&amp;#039;&amp;#039;&amp;lt;/big&amp;gt;ate &amp;lt;big&amp;gt;&amp;#039;&amp;#039;&amp;#039;T&amp;#039;&amp;#039;&amp;#039;&amp;lt;/big&amp;gt;able &amp;lt;big&amp;gt;&amp;#039;&amp;#039;&amp;#039;S&amp;#039;&amp;#039;&amp;#039;&amp;lt;/big&amp;gt;orting and is used to correctly sort and display dates in a sortable table (see [[Help:Sorting]]).&lt;br /&gt;
&lt;br /&gt;
==What it solves==&lt;br /&gt;
Normally, for proper sorting, dates must be entered in YYYY-MM-DD format. However, that format does not conform to the [[MOS:DATE|Manual of Style]] for date display and wikilinking.&lt;br /&gt;
&lt;br /&gt;
This template automatically creates the hidden &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;span&amp;amp;nbsp;style=&amp;quot;display:none&amp;quot;&amp;gt;1776-07-04&amp;lt;/span&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; for sorting purposes and then displays the date like this:&lt;br /&gt;
*plain text July 4, 1776 (default, link=off)&lt;br /&gt;
*wikilinked [[July 4]] [[1776]], format depends on the user&amp;#039;s [[Special:Preferences]] (if link=on is specified)&lt;br /&gt;
&lt;br /&gt;
==Parameters==&lt;br /&gt;
&lt;br /&gt;
{{notice|1=To enable linked dates, use the &amp;lt;code&amp;gt;link=on&amp;lt;/code&amp;gt; parameter. To use international date formats, use the &amp;lt;code&amp;gt;format=dmy&amp;lt;/code&amp;gt; parameter.}}&lt;br /&gt;
&lt;br /&gt;
*1st parameter - Year (optional if month is given)&lt;br /&gt;
**Year number - number in the range -9999 through 9999: the numbers -9999 through 0 are used without &amp;quot;bc&amp;quot; and represent astronomical years -9999 through 0, the numbers 1 through 9999 represent that year AD, or BC with the fourth parameter set to bc or BC&lt;br /&gt;
*2nd parameter - Month (optional if the day is not given either)&lt;br /&gt;
**Full month name - February or february&lt;br /&gt;
**Abbreviated month name - Feb or feb&lt;br /&gt;
**Month number - 2 or 02&lt;br /&gt;
*3rd parameter - Day (optional)&lt;br /&gt;
**Day number - 7 or 07&lt;br /&gt;
*4th parameter - optional with value BC or bc&lt;br /&gt;
**Used with a positive year number&lt;br /&gt;
&lt;br /&gt;
Thus e.g. for the year 5 BC we can use &amp;quot;5|bc&amp;quot; or &amp;quot;-4&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
A time period (year or month and year) is sorted according to its start, and time periods with the same starting moment are in order of descending length: a year comes before its first month; a month comes before its first day.&lt;br /&gt;
&lt;br /&gt;
===Input===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{Dts|1776|July|4}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
See also the examples.&lt;br /&gt;
&lt;br /&gt;
===Output===&lt;br /&gt;
Output sent to table&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;1776-07-04&amp;lt;/span&amp;gt; July 4 1776&amp;lt;/pre&amp;gt;&lt;br /&gt;
Output displayed to user&amp;lt;br&amp;gt;&lt;br /&gt;
{{Dts|1776|July|4}}&lt;br /&gt;
&lt;br /&gt;
==Examples==&lt;br /&gt;
&lt;br /&gt;
{{dts/examples}}&lt;br /&gt;
&lt;br /&gt;
The same examples as above, but with &amp;lt;code&amp;gt;debug=yes&amp;lt;/code&amp;gt;, which causes hidden parts to appear:&lt;br /&gt;
&lt;br /&gt;
{{dts/examples|debug=yes}}&lt;br /&gt;
&lt;br /&gt;
==Error handling==&lt;br /&gt;
During early 2009, Template:Dts generated month names for invalid month numbers, such as number 23 displaying &amp;quot;November&amp;quot;. No warning is displayed, for the formatted page, that such invalid dates are being used on the page.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
*{{tiw|TBA}} - allows quarters, and allows sorting of time periods by end date.&lt;br /&gt;
*{{tim|dts}} - since on Meta e.g. 09999 9999 induces numeric sort mode, &amp;quot;&amp;amp;&amp;quot; is prefixed to force string sort mode.&lt;br /&gt;
*{{tiw|dts1}}&lt;br /&gt;
*{{tiw|dts2}}&lt;br /&gt;
*{{tiw|dts vgr}} - for video game release dates.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;&lt;br /&gt;
&amp;lt;!-- ADD CATEGORIES BELOW THIS LINE --&amp;gt;&lt;br /&gt;
&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Calebrw</name></author>
	</entry>
</feed>