<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://en.seminaverbi.bibleget.io/w/index.php?action=history&amp;feed=atom&amp;title=Template%3AFormat_TemplateData%2Fdoc</id>
	<title>Template:Format TemplateData/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://en.seminaverbi.bibleget.io/w/index.php?action=history&amp;feed=atom&amp;title=Template%3AFormat_TemplateData%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://en.seminaverbi.bibleget.io/w/index.php?title=Template:Format_TemplateData/doc&amp;action=history"/>
	<updated>2026-04-18T19:59:21Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.3</generator>
	<entry>
		<id>https://en.seminaverbi.bibleget.io/w/index.php?title=Template:Format_TemplateData/doc&amp;diff=554&amp;oldid=prev</id>
		<title>Johnrdorazio: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://en.seminaverbi.bibleget.io/w/index.php?title=Template:Format_TemplateData/doc&amp;diff=554&amp;oldid=prev"/>
		<updated>2020-08-21T10:39:17Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 10:39, August 21, 2020&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Johnrdorazio</name></author>
	</entry>
	<entry>
		<id>https://en.seminaverbi.bibleget.io/w/index.php?title=Template:Format_TemplateData/doc&amp;diff=553&amp;oldid=prev</id>
		<title>en&gt;Artoria2e5: /* Usage */</title>
		<link rel="alternate" type="text/html" href="https://en.seminaverbi.bibleget.io/w/index.php?title=Template:Format_TemplateData/doc&amp;diff=553&amp;oldid=prev"/>
		<updated>2020-07-07T19:04:30Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Usage&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Documentation subpage}}{{Lua|Module:Format TemplateData}}&lt;br /&gt;
Everything below this line is a demo of Format TemplateData: read the source code, and expand the raw TemplateData section, to see how it all works.&lt;br /&gt;
== Usage ==&lt;br /&gt;
{{Format TemplateData|1=&amp;lt;templatedata&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
	&amp;quot;params&amp;quot;: {&lt;br /&gt;
		&amp;quot;JSON&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;JSON template information&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;The code that would normally be wrapped in [[WP:TemplateData|&amp;amp;lt;templatedata&amp;amp;gt;]] tags (not including the &amp;amp;lt;templatedata&amp;amp;gt; tags themselves. Links and basic text formatting should just work in the displayed table; see this template&amp;#039;s page for full details. You should use HTML entities for special characters such as &amp;amp;lt;&amp;amp;gt;. &amp;lt;noexport&amp;gt;&amp;lt;h3&amp;gt;Formatting options&amp;lt;/h3&amp;gt;\n*&amp;#039;&amp;#039;&amp;#039;Wikilinks&amp;#039;&amp;#039;&amp;#039; can be specified in the usual way. They will only work in the table; in VisualEditor, the title of the link will be displayed as plain text.\n*&amp;#039;&amp;#039;&amp;#039;External links&amp;#039;&amp;#039;&amp;#039; can be specified by just inserting the URL; this will be clickable in the table and viewable in VisualEditor. If the URL is specified as &amp;amp;#91;https:&amp;amp;#47;&amp;amp;#47;en.wikipedia.org Wikipedia&amp;amp;#93;, this will appear as [https://en.wikipedia.org Wikipedia] in the table and https:&amp;amp;#47;&amp;amp;#47;en.wikipedia.org in VisualEditor.\n*&amp;#039;&amp;#039;&amp;#039;[[HTML entities]]&amp;#039;&amp;#039;&amp;#039;: you may specify &amp;amp;amp;lt; &amp;amp;amp;gt; &amp;amp;amp;amp; &amp;amp;amp;quot; &amp;amp;amp;nbsp; and any numeric entity.*&amp;#039;&amp;#039;&amp;#039;HTML tags&amp;#039;&amp;#039;&amp;#039; may be used; they won&amp;#039;t appear in VisualEditor.\n*&amp;#039;&amp;#039;&amp;#039;&amp;amp;lt;noexport&amp;amp;gt;&amp;amp;lt;/noexport&amp;amp;gt;&amp;#039;&amp;#039;&amp;#039; Content wrapped in these tags will appear only in the table. It will not appear in VisualEditor at all; it is useful for detailed explanations of parameters, and for content that is only useful with formatting. Newline characters are respected here.\n*&amp;#039;&amp;#039;&amp;#039;Templates&amp;#039;&amp;#039;&amp;#039; may be transcluded. However some templates may output content that makes the JSON invalid.&amp;lt;/noexport&amp;gt;&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;,&lt;br /&gt;
			&amp;quot;default&amp;quot;: &amp;quot;If neither {{{1}}} nor {{{JSON}}} is given, the page&amp;#039;s source code is scanned for a &amp;lt;templatedata&amp;gt; tag.&amp;quot;,&lt;br /&gt;
			&amp;quot;suggested&amp;quot;: true&lt;br /&gt;
		},&lt;br /&gt;
        &amp;quot;1&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;&amp;lt;templadata&amp;gt; template information&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;If the JSON parameter is not specified, this will be processed to extract the JSON. This option allows you to use the GUI TemplateData Editor, but it&amp;#039;s a bit wonkier than giving the actual JSON object directly.&amp;quot;,&lt;br /&gt;
			&amp;quot;default&amp;quot;: &amp;quot;See {{{JSON}}}.&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;TOC&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Show table of contents&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;If set to 1, inserts a table of contents for the whole page just after the description and before any parameter table.&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;boolean&amp;quot;,&lt;br /&gt;
			&amp;quot;default&amp;quot;: &amp;quot;0&amp;quot;,&lt;br /&gt;
			&amp;quot;suggested&amp;quot;: true&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;header&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Show TemplateDataHeader&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;If set to 0, hides the TemplateDataHeader template. This is not generally recommended.&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;boolean&amp;quot;,&lt;br /&gt;
			&amp;quot;default&amp;quot;: &amp;quot;1&amp;quot;&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;lazy&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Prevent TemplateData output&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;If set, other than to 0, prevents any real TemplateData being produced. Potentially useful if there are multiple instances of this template on a page but only one should be active. To clarify, this means that this template will &amp;#039;&amp;#039;not&amp;#039;&amp;#039; be understood by VisualEditor.&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;boolean&amp;quot;,&lt;br /&gt;
			&amp;quot;default&amp;quot;: &amp;quot;0&amp;quot;&lt;br /&gt;
		}&lt;br /&gt;
	},&lt;br /&gt;
	&amp;quot;description&amp;quot;: &amp;quot;This template formats [[WP:VE/TD|TemplateData]] nicely on doc pages. It hides irrelevant information such as \&amp;quot;Default: empty\&amp;quot;, and allows the use of formatting. Remember that the users of VisualEditor &amp;#039;&amp;#039;&amp;#039;will not see&amp;#039;&amp;#039;&amp;#039; this formatting; it is important to test your new TemplateData in VisualEditor to check that it makes sense without. (For all details of formatting available, see the template&amp;#039;s page.) By default, {{tl|TemplateData header}} is automatically inserted before the table.&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/templatedata&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
== Using the template ==&lt;br /&gt;
Add the &amp;lt;code&amp;gt;&amp;amp;lt;templatedata&amp;amp;gt;&amp;lt;/code&amp;gt; as usual, and then enclose it in a template call like &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{Format TemplateData|1=&amp;lt;templatedata&amp;gt;...&amp;lt;/templatedata&amp;gt;}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Maintenance categories==&lt;br /&gt;
* {{clc|Templates with TemplateData errors}} – the template adds this category to template documentation pages with malformed TemplateData code. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{sandbox other||&lt;br /&gt;
&amp;lt;!-- Categories below this line, please; interwikis at Wikidata --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>en&gt;Artoria2e5</name></author>
	</entry>
</feed>