<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.npowned.net/index.php?action=history&amp;feed=atom&amp;title=Template%3ATerritory%2Fdoc</id>
	<title>Template:Territory/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.npowned.net/index.php?action=history&amp;feed=atom&amp;title=Template%3ATerritory%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://wiki.npowned.net/index.php?title=Template:Territory/doc&amp;action=history"/>
	<updated>2026-04-27T21:30:44Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.3</generator>
	<entry>
		<id>https://wiki.npowned.net/index.php?title=Template:Territory/doc&amp;diff=5639&amp;oldid=prev</id>
		<title>Bobogoobo: create</title>
		<link rel="alternate" type="text/html" href="https://wiki.npowned.net/index.php?title=Template:Territory/doc&amp;diff=5639&amp;oldid=prev"/>
		<updated>2025-09-08T04:32:47Z</updated>

		<summary type="html">&lt;p&gt;create&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;
&lt;br /&gt;
This template is used to access data about [[Territory (Torn)|territories]] in [[Torn]].&lt;br /&gt;
&lt;br /&gt;
This template makes use of Lua code at [[Module:Territories]]. Please use the template rather than invoking the module directly.&lt;br /&gt;
&lt;br /&gt;
Parameters are not case sensitive, but the convention is to capitalize territory names.&lt;br /&gt;
&lt;br /&gt;
==Parameters==&lt;br /&gt;
*first unnamed parameter - the territory to look up data for.&lt;br /&gt;
*second unnamed parameter - the information about that territory to access.&lt;br /&gt;
**Options (matching the Torn API) are: &amp;lt;code&amp;gt;sector&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;size&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;density&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;slots&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;respect&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;coordinates&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;x&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;y&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;neighbors&amp;lt;/code&amp;gt;.&lt;br /&gt;
**If &amp;quot;stat&amp;quot; is used, some options use this parameter for additional input.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;stat&amp;#039;&amp;#039;&amp;#039; - used to access calculated information about the given territory. Options are:&lt;br /&gt;
**&amp;lt;code&amp;gt;overall&amp;lt;/code&amp;gt; - lists overall game territories statistics, requires no parameters.&lt;br /&gt;
**&amp;lt;code&amp;gt;neighbors&amp;lt;/code&amp;gt; - displays the number of neighbors that the given territory has.&lt;br /&gt;
**&amp;lt;code&amp;gt;connected&amp;lt;/code&amp;gt; - requires two territories and states whether they are neighbors.&lt;br /&gt;
**To request the addition of other statistics, contact an [[Project:Administrators|administrator]].&lt;br /&gt;
&lt;br /&gt;
==Examples==&lt;br /&gt;
*&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{territory|ABC|sector}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; produces: {{territory|ABC|sector}}&lt;br /&gt;
*&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{territory|ABC|neighbors}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; produces: {{territory|ABC|neighbors}}&lt;br /&gt;
*&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{territory|ABC|stat=neighbors}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; produces: {{territory|ABC|stat=neighbors}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;[[Category:Data templates]]&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Bobogoobo</name></author>
	</entry>
</feed>