<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://moasspedia.org/w/index.php?action=history&amp;feed=atom&amp;title=Module%3AIs_instance%2Fdoc</id>
	<title>Module:Is instance/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://moasspedia.org/w/index.php?action=history&amp;feed=atom&amp;title=Module%3AIs_instance%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://moasspedia.org/w/index.php?title=Module:Is_instance/doc&amp;action=history"/>
	<updated>2026-04-16T00:43:16Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.37.2</generator>
	<entry>
		<id>https://moasspedia.org/w/index.php?title=Module:Is_instance/doc&amp;diff=2125&amp;oldid=prev</id>
		<title>Wikipedia&gt;MSGJ: /* Example */ indent</title>
		<link rel="alternate" type="text/html" href="https://moasspedia.org/w/index.php?title=Module:Is_instance/doc&amp;diff=2125&amp;oldid=prev"/>
		<updated>2022-03-25T13:23:28Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Example: &lt;/span&gt; indent&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Module rating|beta}}&lt;br /&gt;
&amp;lt;!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;#invoke:Is instance|&amp;#039;&amp;#039;main&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;|qid=|value=}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This module will use Wikidata properties {{Q|P31}} and {{Q|P279}} to determine whether or not an entity is an instance of some other entity.&lt;br /&gt;
&lt;br /&gt;
=== Example ===&lt;br /&gt;
For example:&lt;br /&gt;
*{{Q|Q847672}}&lt;br /&gt;
**is an instance of {{Q|Q1185562}}, which&lt;br /&gt;
***is a subclass of {{Q|Q17205}}, which&lt;br /&gt;
****is a subclass of {{Q|Q3114762}}, which&lt;br /&gt;
*****is a subclass of {{Q|Q177597}}, which&lt;br /&gt;
******is a subclass of {{Q|Q11446}}.&lt;br /&gt;
To know that {{Q|Q847672}} is an instance of {{Q|Q11446}}, you can use:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{#invoke:Is instance|main|qid=Q847672|value=Q11446}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; = {{#invoke:Is instance|main|qid=Q847672|value=Q11446}}&lt;br /&gt;
&lt;br /&gt;
The output number indicates the minimum recursion depth to find the value required. An output of zero indicates that the item is not an instance.&lt;br /&gt;
&lt;br /&gt;
=== Maximum depth ===&lt;br /&gt;
For performance considerations, the module will not go on searching indefinitely. The default maximum recursion depth is 5. If you want to change this, use the {{para|maxdepth}} parameter.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{Sandbox other||&lt;br /&gt;
&amp;lt;!-- Categories below this line; interwikis at Wikidata --&amp;gt;&lt;br /&gt;
[[Category:Wikidata modules]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Wikipedia&gt;MSGJ</name></author>
	</entry>
</feed>