<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://starshiptracker.com/sfcwiki/index.php?action=history&amp;feed=atom&amp;title=Template%3ANth</id>
	<title>Template:Nth - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://starshiptracker.com/sfcwiki/index.php?action=history&amp;feed=atom&amp;title=Template%3ANth"/>
	<link rel="alternate" type="text/html" href="http://starshiptracker.com/sfcwiki/index.php?title=Template:Nth&amp;action=history"/>
	<updated>2026-10-19T07:40:14Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.42.1</generator>
	<entry>
		<id>http://starshiptracker.com/sfcwiki/index.php?title=Template:Nth&amp;diff=884&amp;oldid=prev</id>
		<title>Dan: created</title>
		<link rel="alternate" type="text/html" href="http://starshiptracker.com/sfcwiki/index.php?title=Template:Nth&amp;diff=884&amp;oldid=prev"/>
		<updated>2008-01-04T20:07:58Z</updated>

		<summary type="html">&lt;p&gt;created&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;{{{1}}}{{#ifeq:{{{2| }}}|sup|&amp;lt;sup&amp;gt;{{#switch: {{#expr: {{{1}}} mod 100}}&lt;br /&gt;
| 11 &lt;br /&gt;
| 12&lt;br /&gt;
| 13 = th&lt;br /&gt;
| #default = {{#switch: {{#expr: {{{1}}} mod 10}}&lt;br /&gt;
| 1 = st&lt;br /&gt;
| 2 = nd&lt;br /&gt;
| 3 = rd&lt;br /&gt;
| #default = th&lt;br /&gt;
}}}}&amp;lt;/sup&amp;gt;|{{#switch: {{#expr: {{{1}}} mod 100}}&lt;br /&gt;
| 11 &lt;br /&gt;
| 12&lt;br /&gt;
| 13 = th&lt;br /&gt;
| #default = {{#switch: {{#expr: {{{1}}} mod 10}}&lt;br /&gt;
| 1 = st&lt;br /&gt;
| 2 = nd&lt;br /&gt;
| 3 = rd&lt;br /&gt;
| #default = th&lt;br /&gt;
}}}}}}&amp;lt;/includeonly&amp;gt;&amp;lt;noinclude&amp;gt;&lt;br /&gt;
Adds the th, st, nd, rd suffix to the number in &amp;lt;nowiki&amp;gt;{{{1}}}&amp;lt;/nowiki&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;{{nth|&amp;lt;n&amp;gt;|sup}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:where &amp;#039;&amp;#039;&amp;#039;sup&amp;#039;&amp;#039;&amp;#039; is an optional parameter that turns the suffix into a superscript.&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
* {{nth|1}}&lt;br /&gt;
* {{nth|10|sup}}&lt;br /&gt;
* {{nth|811}}&lt;br /&gt;
* {{nth|13}}&lt;br /&gt;
* {{nth|414}}&lt;br /&gt;
* {{nth|982|sup}}&lt;br /&gt;
* {{nth|9673}}&lt;br /&gt;
* {{nth|123}}&lt;br /&gt;
* {{nth|82}}&lt;br /&gt;
* {{nth|12}}&lt;br /&gt;
* {{nth|0}}&lt;br /&gt;
* {{nth|-312}}&lt;br /&gt;
* The {{nth|N|sup}} Degree&lt;br /&gt;
* {{nth|firetruck}} ??&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Dan</name></author>
	</entry>
</feed>