<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.sasgaming.net/index.php?action=history&amp;feed=atom&amp;title=Template%3AMC%2FDistdir%2Fdoc</id>
	<title>Template:MC/Distdir/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.sasgaming.net/index.php?action=history&amp;feed=atom&amp;title=Template%3AMC%2FDistdir%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://wiki.sasgaming.net/index.php?title=Template:MC/Distdir/doc&amp;action=history"/>
	<updated>2026-04-11T17:41:42Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://wiki.sasgaming.net/index.php?title=Template:MC/Distdir/doc&amp;diff=42856&amp;oldid=prev</id>
		<title>imported&gt;The triple g at 14:13, 18 November 2024</title>
		<link rel="alternate" type="text/html" href="https://wiki.sasgaming.net/index.php?title=Template:MC/Distdir/doc&amp;diff=42856&amp;oldid=prev"/>
		<updated>2024-11-18T14:13:44Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{documentation header}}&lt;br /&gt;
Displays range and bearing (distance in blocks and compass direction) to a destination location &amp;lt;code&amp;gt;x2,y2&amp;lt;/code&amp;gt;, from a starting coordinate location &amp;lt;code&amp;gt;x1,y1&amp;lt;/code&amp;gt; (if omitted, &amp;lt;code&amp;gt;0,0&amp;lt;/code&amp;gt; is used as the starting coordinate).&lt;br /&gt;
&lt;br /&gt;
16 different compass directions are shown:&lt;br /&gt;
* Cardinal directions north, east, west, south (abbreviated as N, E, W, S)&lt;br /&gt;
* Intercardinal directions northwest, northeast, southwest, southeast (abbreviated as NW, NE, SW, SE)&lt;br /&gt;
* Remaining compass rose directions north northwest, west northwest, north northeast, east northeast, south southwest, west southwest, south southeast, east southeast (abbreviated as NNW, WNW, NNE, ENE, SSW, WSW, SSE, ESE)&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
{{tlx|distdir|&amp;#039;&amp;#039;x2&amp;#039;&amp;#039;|&amp;#039;&amp;#039;y2&amp;#039;&amp;#039;|&amp;#039;&amp;#039;x1&amp;#039;&amp;#039;|&amp;#039;&amp;#039;y1&amp;#039;&amp;#039;}}&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
{{tlx|distdir|&amp;#039;&amp;#039;x2&amp;#039;&amp;#039;|&amp;#039;&amp;#039;y2&amp;#039;&amp;#039;}}&lt;br /&gt;
&lt;br /&gt;
==Examples==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Example !! Result !! Notes&lt;br /&gt;
|-&lt;br /&gt;
| {{tlx|distdir|1201|-866|-12|98}} || {{distdir|1201|-866|-12|98}} || Distance and direction from &amp;lt;code&amp;gt;-12,98&amp;lt;/code&amp;gt; to &amp;lt;code&amp;gt;1201,-866&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| {{tlx|distdir|-201|513}} || {{distdir|-201|513}} || Distance and direction from &amp;lt;code&amp;gt;0,0&amp;lt;/code&amp;gt; to &amp;lt;code&amp;gt;-201,513&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;includeonly&amp;gt;&lt;br /&gt;
&amp;lt;!-- Template categories/interwiki here --&amp;gt;&lt;br /&gt;
[[Category:Data templates]]&lt;br /&gt;
&lt;br /&gt;
[[fr:Modèle:Distdir]]&lt;br /&gt;
[[ja:テンプレート:Distdir]]&lt;br /&gt;
[[pt:Predefinição:Distdir/doc]]&lt;br /&gt;
[[uk:Шаблон:Відстнап]]&lt;br /&gt;
&amp;lt;/includeonly&amp;gt;&lt;br /&gt;
&amp;lt;noinclude&amp;gt;&lt;br /&gt;
&amp;lt;!-- Documentation categories/interwiki here --&amp;gt;&lt;br /&gt;
[[fr:Modèle:Distdir/doc]]&lt;br /&gt;
[[ja:テンプレート:Distdir/doc]]&lt;br /&gt;
[[pt:Predefinição:Distdir/doc]]&lt;br /&gt;
[[uk:Шаблон:Відстнап/док]]&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>imported&gt;The triple g</name></author>
	</entry>
</feed>