<?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%2FJson_ref%2Fdoc</id>
	<title>Template:MC/Json ref/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%2FJson_ref%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://wiki.sasgaming.net/index.php?title=Template:MC/Json_ref/doc&amp;action=history"/>
	<updated>2026-04-10T13:08:48Z</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/Json_ref/doc&amp;diff=43774&amp;oldid=prev</id>
		<title>imported&gt;Jacobsjo: Add list parameter</title>
		<link rel="alternate" type="text/html" href="https://wiki.sasgaming.net/index.php?title=Template:MC/Json_ref/doc&amp;diff=43774&amp;oldid=prev"/>
		<updated>2025-10-19T13:27:01Z</updated>

		<summary type="html">&lt;p&gt;Add list parameter&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{documentation header}}__NOTOC__&lt;br /&gt;
This template is used to represent references in json files to other registry entries. The reference can optionally also be included inline or be a reference to a tag or list.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Documentation here --&amp;gt;&lt;br /&gt;
== Usage ==&lt;br /&gt;
&lt;br /&gt;
* {{p|1}} is the name of the type&lt;br /&gt;
* {{p|2}} is the page name to link to, defaults to the name&lt;br /&gt;
* {{p|inline}} whether it is possible to inline the objects&lt;br /&gt;
* {{p|inline_type}} the type of the inline object, defaults to &amp;lt;nowiki&amp;gt;{{nbt|compound}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
* {{p|list}} whether the field accepts a list of objects&lt;br /&gt;
* {{p|tag}} whether the field accepts tag of objects, implies {{p|list|1}}&lt;br /&gt;
* {{p|no_single}} whether the field only accepts a list or tag of objects and not a single entry&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
&amp;lt;pre style=&amp;quot;max-width: 900px&amp;quot;&amp;gt;{{json ref|type name|type link (optional)}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
{{json ref|type name|template:json ref}}&lt;br /&gt;
&amp;lt;pre style=&amp;quot;max-width: 900px&amp;quot;&amp;gt;{{json ref|type name|type link (optional)|inline=1}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
{{json ref|type name|template:json ref|inline=1}}&lt;br /&gt;
&amp;lt;pre style=&amp;quot;max-width: 900px&amp;quot;&amp;gt;{{json ref|type name|type link (optional)|list=1}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
{{json ref|type name|template:json ref|list=1}}&lt;br /&gt;
&amp;lt;pre style=&amp;quot;max-width: 900px&amp;quot;&amp;gt;{{json ref|type name|type link (optional)|tag=1|tag_link=tag link (optional)}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
{{json ref|type name|template:json ref|tag=1}}&lt;br /&gt;
&amp;lt;pre style=&amp;quot;max-width: 900px&amp;quot;&amp;gt;{{json ref|type name|type link (optional)|list=1|inline=1}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
{{json ref|type name|template:json ref|list=1|inline=1}}&lt;br /&gt;
&amp;lt;pre style=&amp;quot;max-width: 900px&amp;quot;&amp;gt;{{json ref|type name|type link (optional)|tag=1|tag_link=tag link (optional)|inline=1}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
{{json ref|type name|template:json ref|tag=1|inline=1}}&lt;br /&gt;
&amp;lt;pre style=&amp;quot;max-width: 900px&amp;quot;&amp;gt;{{json ref|type name|type link (optional)|tag=1|tag_link=tag link (optional)|inline=1|inline_type={{nbt|string}}{{nbt|compound}}}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
{{json ref|type name|template:json ref|tag=1|inline=1|inline_type={{nbt|string}}{{nbt|compound}}}}&lt;br /&gt;
&amp;lt;pre style=&amp;quot;max-width: 900px&amp;quot;&amp;gt;{{json ref|type name|type link (optional)|no_single=1|tag=1|tag_link=tag link (optional)|inline=1}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
{{json ref|type name|template:json ref|no_single=1|tag=1|inline=1}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{sandbox other||&lt;br /&gt;
&amp;lt;!-- Template categories/interwikis here --&amp;gt;&lt;br /&gt;
[[Category:Formatting templates]]&lt;br /&gt;
&lt;br /&gt;
[[pt:Predefinição:Referência JSON]]&lt;br /&gt;
[[fr:Modèle:Ref json]]&lt;br /&gt;
[[ko:틀:Json ref]]&lt;br /&gt;
[[uk:Шаблон:Json ref]]&lt;br /&gt;
[[zh:Template:Json ref]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;br /&gt;
&amp;lt;noinclude&amp;gt;&lt;br /&gt;
&amp;lt;!-- Documentation categories/interwikis here --&amp;gt;&lt;br /&gt;
[[pt:Predefinição:Referência JSON/doc]]&lt;br /&gt;
[[fr:Modèle:Ref json/doc]]&lt;br /&gt;
[[ko:틀:Json ref/doc]]&lt;br /&gt;
[[uk:Шаблон:Json ref/док]]&lt;br /&gt;
[[zh:Template:Json ref/doc]]&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>imported&gt;Jacobsjo</name></author>
	</entry>
</feed>