<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://70.231.62.181/index.php?action=history&amp;feed=atom&amp;title=Template%3AUser_script_table%2Fdoc</id>
	<title>Template:User script table/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://70.231.62.181/index.php?action=history&amp;feed=atom&amp;title=Template%3AUser_script_table%2Fdoc"/>
	<link rel="alternate" type="text/html" href="http://70.231.62.181/index.php?title=Template:User_script_table/doc&amp;action=history"/>
	<updated>2026-04-23T04:00:06Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>http://70.231.62.181/index.php?title=Template:User_script_table/doc&amp;diff=4133980&amp;oldid=prev</id>
		<title>imported&gt;Colonies Chris: Undid revision 1324933573 by Nardog (talk); You may think the changes are unnecessary, but they provide greater clarity, and there&#039;s absolutely no point in undoing them. None of the possible reasons for not fixing redirects are applicable to these changes.</title>
		<link rel="alternate" type="text/html" href="http://70.231.62.181/index.php?title=Template:User_script_table/doc&amp;diff=4133980&amp;oldid=prev"/>
		<updated>2025-11-30T14:22:44Z</updated>

		<summary type="html">&lt;p&gt;Undid revision &lt;a href=&quot;/index.php/Special:Diff/1324933573&quot; title=&quot;Special:Diff/1324933573&quot;&gt;1324933573&lt;/a&gt; by &lt;a href=&quot;/index.php/Special:Contributions/Nardog&quot; title=&quot;Special:Contributions/Nardog&quot;&gt;Nardog&lt;/a&gt; (&lt;a href=&quot;/index.php/User_talk:Nardog&quot; title=&quot;User talk:Nardog&quot;&gt;talk&lt;/a&gt;); You may think the changes are unnecessary, but they provide greater clarity, and there&amp;#039;s absolutely no point in undoing them. None of the possible reasons for not fixing redirects are applicable to these changes.&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;
{{Uses TemplateStyles|Template:User script table/styles.css}}&lt;br /&gt;
{{lua|Module:User script table row}}&lt;br /&gt;
&lt;br /&gt;
{{Template link|user script table}} and {{Template link|user script table row}} are used to render tables in [[Wikipedia:User scripts/List]].&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
{{Template link|user script table}} embeds the TemplateStyles and renders the table head. {{Template link|user script table row}} is used between {{template link code|user script table}} and {{template link expanded|end}} to render the row for each script.&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
Employing the full syntax:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;mediawiki&amp;quot;&amp;gt;&lt;br /&gt;
{{user script table}}&lt;br /&gt;
{{user script table row&lt;br /&gt;
|code=User:Jackmcbarn/editProtectedHelper.js&lt;br /&gt;
|doc=User:Jackmcbarn/editProtectedHelper&lt;br /&gt;
|name=editProtectedHelper&lt;br /&gt;
|desc=Quickly respond to [[WP:ER|edit requests]] with a form added to the bottom of request banners.&lt;br /&gt;
|indent=0&lt;br /&gt;
}}&lt;br /&gt;
{{end}}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
This is equivalent to:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;mediawiki&amp;quot;&amp;gt;&lt;br /&gt;
{{user script table}}&lt;br /&gt;
{{user script table row&lt;br /&gt;
|code=User:Jackmcbarn/editProtectedHelper.js&lt;br /&gt;
|desc=Quickly respond to [[WP:ER|edit requests]] with a form added to the bottom of request banners.&lt;br /&gt;
}}&lt;br /&gt;
{{end}}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Which renders:&lt;br /&gt;
{{user script table}}&lt;br /&gt;
{{user script table row&lt;br /&gt;
|code=User:Jackmcbarn/editProtectedHelper.js&lt;br /&gt;
|desc=Quickly respond to [[WP:Edit requests|edit requests]] with a form added to the bottom of request banners.&lt;br /&gt;
}}&lt;br /&gt;
{{end}}&lt;br /&gt;
&lt;br /&gt;
===Parameters===&lt;br /&gt;
Parameters for {{Template link with link off|user script table row}}:&lt;br /&gt;
&lt;br /&gt;
;{{para|code}}&lt;br /&gt;
:Full page name of the script, usually starting in &amp;lt;code&amp;gt;User:&amp;lt;/code&amp;gt; and ending in &amp;lt;code&amp;gt;.js&amp;lt;/code&amp;gt;. If omitted, it is generated by appending &amp;lt;code&amp;gt;.js&amp;lt;/code&amp;gt; to {{para|doc}}. If set to &amp;lt;code&amp;gt;none&amp;lt;/code&amp;gt;, the source link doesn&amp;#039;t appear.&lt;br /&gt;
;{{para|doc}}&lt;br /&gt;
:Full page name of the script documentation. If omitted, it is generated by removing the file extension from {{para|code}}, provided the page exists.&lt;br /&gt;
;{{para|name}}&lt;br /&gt;
:Script name. If omitted, it is generated from {{para|code}} or {{para|doc}}.&lt;br /&gt;
;{{para|desc}}&lt;br /&gt;
:Script description.&lt;br /&gt;
;{{para|indent}}&lt;br /&gt;
:Number of [[em (typography)|em]]s to indent the name in the first cell by. Provided mainly for backwards compatibility with the previous layout, where nested bullet points were used to indicate forks.&lt;br /&gt;
&lt;br /&gt;
Only either {{para|code}} or {{para|doc}} is truly required.&lt;br /&gt;
&lt;br /&gt;
==Dependencies==&lt;br /&gt;
The usage statistics is taken from [[Wikipedia:User scripts/Most imported scripts]], by way of [[Module:User script table row/data]].&lt;br /&gt;
&lt;br /&gt;
==TemplateData==&lt;br /&gt;
{{TemplateData header}}&lt;br /&gt;
&amp;lt;templatedata&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
	&amp;quot;params&amp;quot;: {&lt;br /&gt;
		&amp;quot;code&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Code&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;Full page name of the script, usually starting in User: and ending in .js. If omitted, it is generated by appending .js to |doc=. If set to none, the source link doesn&amp;#039;t appear.&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;wiki-page-name&amp;quot;,&lt;br /&gt;
			&amp;quot;suggested&amp;quot;: true&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;doc&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Doc&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;Full page name of the script documentation. If omitted, it is generated by removing the file extension from |code=, provided the page exists.&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;wiki-page-name&amp;quot;,&lt;br /&gt;
			&amp;quot;suggested&amp;quot;: true&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;name&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Name&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;Script name. If omitted, it is generated from |code= or |doc=.&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;,&lt;br /&gt;
			&amp;quot;suggested&amp;quot;: true&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;desc&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Description&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;A short description of the script.&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;,&lt;br /&gt;
			&amp;quot;suggested&amp;quot;: true&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;indent&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Indention&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;Number of ems to indent the name in the first cell by. Provided mainly for backwards compatibility with the previous layout, where nested bullet points were used to indicate forks.&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;&lt;br /&gt;
		}&lt;br /&gt;
	},&lt;br /&gt;
	&amp;quot;description&amp;quot;: &amp;quot;A row used in the User script table. Only either |code= or |doc= is truly required.&amp;quot;,&lt;br /&gt;
	&amp;quot;paramOrder&amp;quot;: [&lt;br /&gt;
		&amp;quot;code&amp;quot;,&lt;br /&gt;
		&amp;quot;doc&amp;quot;,&lt;br /&gt;
		&amp;quot;name&amp;quot;,&lt;br /&gt;
		&amp;quot;desc&amp;quot;,&lt;br /&gt;
		&amp;quot;indent&amp;quot;&lt;br /&gt;
	],&lt;br /&gt;
	&amp;quot;format&amp;quot;: &amp;quot;block&amp;quot;&lt;br /&gt;
}&amp;lt;/templatedata&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
* {{Template link|userscript}}&lt;br /&gt;
&lt;br /&gt;
{{Wikipedia:User scripts/Navbox|expanded}}&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{sandbox other||&lt;br /&gt;
[[Category:Wikipedia scripts|*]]&lt;br /&gt;
[[Category:Wikipedia user script templates]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>imported&gt;Colonies Chris</name></author>
	</entry>
</feed>