<?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%3APrefixIndex%2Fdoc</id>
	<title>Template:PrefixIndex/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%3APrefixIndex%2Fdoc"/>
	<link rel="alternate" type="text/html" href="http://70.231.62.181/index.php?title=Template:PrefixIndex/doc&amp;action=history"/>
	<updated>2026-04-30T16:02:04Z</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:PrefixIndex/doc&amp;diff=20211833&amp;oldid=prev</id>
		<title>imported&gt;CheckNineEight: /* Parameters */ add TemplateData</title>
		<link rel="alternate" type="text/html" href="http://70.231.62.181/index.php?title=Template:PrefixIndex/doc&amp;diff=20211833&amp;oldid=prev"/>
		<updated>2025-10-18T12:55:29Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Parameters: &lt;/span&gt; add TemplateData&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;
{{tsh|pri}}&lt;br /&gt;
&amp;lt;!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --&amp;gt;&lt;br /&gt;
This template transcludes [[Special:PrefixIndex]], which can be done with {{tla|Wikipedia:Special:PrefixIndex|Special:PrefIndex}}, but adds formatting. It can split the list into multiple columns, remove redirects, and strip the output of the prefix.&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
This template transcludes [[Special:PrefixIndex]] (yes, you can do that!) along with some extra stuff, to produce a list of pages with names beginning with a certain prefix. Enter the prefix in the first unnamed parameter. To split the list into multiple columns, enter the column width (e.g. 15em, or 30em) in the &amp;lt;code&amp;gt;|colwidth=&amp;lt;/code&amp;gt; parameter. To hide redirects from the list, enter anything in the &amp;lt;code&amp;gt;|redr=&amp;lt;/code&amp;gt; parameter and to strip the given prefix from all the page names, enter anything &amp;lt;code&amp;gt;|stripprefix=&amp;lt;/code&amp;gt; parameter.&lt;br /&gt;
&lt;br /&gt;
You can do &amp;#039;&amp;#039;most&amp;#039;&amp;#039; of this stuff (except for the {{para|columns}} and {{para|colwidth}} part) by directly transcluding the special page. Its documentation and talk can be seen at the (bizarrely located due to technical reasons) pages [[Wikipedia:Special:PrefixIndex]] and [[Wikipedia talk:Special:PrefixIndex]].&lt;br /&gt;
&lt;br /&gt;
Like, for example: &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{Special:PrefixIndex/Dogs of|stripprefix=1|hideredirects=1}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
{{Special:PrefixIndex/Dogs of|stripprefix=1|hideredirects=1}}&lt;br /&gt;
&lt;br /&gt;
The main thing this template adds is the ability to specify columns and column width.&lt;br /&gt;
&lt;br /&gt;
Compare this to the equivalent usage with {{tl|PrefixIndex}}:&lt;br /&gt;
&lt;br /&gt;
Like, for example: &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{PrefixIndex|Dogs of|stripprefix=1|hideredirects=1|colwidth=12em}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
{{PrefixIndex|Dogs of|stripprefix=1|hideredirects=1|colwidth=12em}}&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
Vertical format that takes up a lot of space and is easy to read:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;{{PrefixIndex&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;  | prefix        = &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;  | stripprefix   = &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;  | hideredirects = &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;  | colwidth      = &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
Horizontal format:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;{{PrefixIndex||stripprefix=|hideredirects=|colwidth=}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
===Parameters===&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;1&amp;quot;: {&lt;br /&gt;
			&amp;quot;aliases&amp;quot;: [&lt;br /&gt;
				&amp;quot;prefix&amp;quot;&lt;br /&gt;
			],&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Prefix&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;The prefix to list or search from; defaults to the current page that the template is transcluded from.&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;,&lt;br /&gt;
			&amp;quot;required&amp;quot;: true&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;colwidth&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Column width&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;Width of columns to use, in em units.&amp;quot;,&lt;br /&gt;
			&amp;quot;example&amp;quot;: &amp;quot;30em&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;redr&amp;quot;: {&lt;br /&gt;
			&amp;quot;aliases&amp;quot;: [&lt;br /&gt;
				&amp;quot;hideredirects&amp;quot;&lt;br /&gt;
			],&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Hide redirects&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;If set, does not display redirects.&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;boolean&amp;quot;&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;stripprefix&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Strip prefix&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;If set, strip the prefix value from displayed list items. &amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;boolean&amp;quot;&lt;br /&gt;
		}&lt;br /&gt;
	},&lt;br /&gt;
	&amp;quot;description&amp;quot;: &amp;quot;This template transcludes Special:PrefixIndex, with added formatting controls.&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/templatedata&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== See also ===&lt;br /&gt;
* [[Special:PrefixIndex]]&lt;br /&gt;
* [[Wikipedia:Special:PrefixIndex]]&lt;br /&gt;
* [[Wikipedia talk:Special:PrefixIndex]]&lt;br /&gt;
* {{tl|Look from}} to create a link to a list of all page names which begin with a given word or words&lt;br /&gt;
* {{tl|In title}} to create a link to a list of all page names which contain a given word or words&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{#ifeq:{{SUBPAGENAME}}|sandbox | |&lt;br /&gt;
&amp;lt;!-- Categories below this line, please; interwikis at Wikidata --&amp;gt;&lt;br /&gt;
[[Category:Special page templates]]&lt;br /&gt;
[[Category:Search templates]]&lt;br /&gt;
[[Category:Wikipedia formatting templates]]&lt;br /&gt;
[[Category:Internal link templates]]&lt;br /&gt;
[[Category:Wikipedia subpage templates]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>imported&gt;CheckNineEight</name></author>
	</entry>
</feed>