<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://ethans-workspace.com/w/index.php?action=history&amp;feed=atom&amp;title=Template%3ASwitcher%2Fdoc</id>
	<title>Template:Switcher/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://ethans-workspace.com/w/index.php?action=history&amp;feed=atom&amp;title=Template%3ASwitcher%2Fdoc"/>
	<link rel="alternate" type="text/html" href="http://ethans-workspace.com/w/index.php?title=Template:Switcher/doc&amp;action=history"/>
	<updated>2026-05-25T06:21:33Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>http://ethans-workspace.com/w/index.php?title=Template:Switcher/doc&amp;diff=3240&amp;oldid=prev</id>
		<title>Ethan: Created page with &quot;{{Documentation subpage}} {{lua|Module:Switcher}} {{High-use}} &lt;!-- Categories go at the bottom of this page and interwikis go in Wikidata. --&gt; This template is used to create a switchable image with caption, for use in infoboxes. Note that this template does not work in the editing preview.  Switcher uses MediaWiki:Gadget-switcher.js which is documented at User:Jackmcbarn/switcher. Apart from {{tl|Switcher}}, the only current use of the gadget may be Template:...&quot;</title>
		<link rel="alternate" type="text/html" href="http://ethans-workspace.com/w/index.php?title=Template:Switcher/doc&amp;diff=3240&amp;oldid=prev"/>
		<updated>2025-12-10T17:50:54Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Documentation subpage}} {{lua|Module:Switcher}} {{High-use}} &amp;lt;!-- Categories go at the bottom of this page and interwikis go in Wikidata. --&amp;gt; This template is used to create a switchable image with caption, for use in infoboxes. Note that this template does not work in the editing preview.  Switcher uses &lt;a href=&quot;/w/index.php?title=MediaWiki:Gadget-switcher.js&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;MediaWiki:Gadget-switcher.js (page does not exist)&quot;&gt;MediaWiki:Gadget-switcher.js&lt;/a&gt; which is documented at &lt;a href=&quot;/w/index.php?title=User:Jackmcbarn/switcher&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;User:Jackmcbarn/switcher (page does not exist)&quot;&gt;User:Jackmcbarn/switcher&lt;/a&gt;. Apart from {{tl|Switcher}}, the only current use of the gadget may be Template:...&amp;quot;&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;
{{lua|Module:Switcher}}&lt;br /&gt;
{{High-use}}&lt;br /&gt;
&amp;lt;!-- Categories go at the bottom of this page and interwikis go in Wikidata. --&amp;gt;&lt;br /&gt;
This template is used to create a switchable image with caption, for use in infoboxes. Note that this template does not work in the editing preview.&lt;br /&gt;
&lt;br /&gt;
Switcher uses [[MediaWiki:Gadget-switcher.js]] which is documented at [[User:Jackmcbarn/switcher]]. Apart from {{tl|Switcher}}, the only current use of the gadget may be [[Template:Location map#User selection of multiple maps]].&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
Odd numbered parameters provide the image in wikitext; even numbered parameters provide the captions. Up to 20 images are supported.&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot;&amp;gt;&lt;br /&gt;
{{Switcher&lt;br /&gt;
| [[File:Example.png|300px]]&lt;br /&gt;
| An example&lt;br /&gt;
| [[File:Example image not to be used in article namespace.jpg|300px]]&lt;br /&gt;
| A different example&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Output:&lt;br /&gt;
{{Switcher&lt;br /&gt;
| [[File:Example.png|300px]]&lt;br /&gt;
| An example&lt;br /&gt;
| [[File:Example image not to be used in article namespace.jpg|300px]]&lt;br /&gt;
| A different example&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==TemplateData==&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;description&amp;quot;: &amp;quot;Image 1 wikitext&amp;quot;,&lt;br /&gt;
			&amp;quot;example&amp;quot;: &amp;quot;[[File:Example.png|300px]]&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;unbalanced-wikitext&amp;quot;&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;2&amp;quot;: {&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;Image 1 caption&amp;quot;,&lt;br /&gt;
			&amp;quot;example&amp;quot;: &amp;quot;This is just an example.&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;3&amp;quot;: {&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;See {{{1}}} (recursive)&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;unbalanced-wikitext&amp;quot;&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;4&amp;quot;: {&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;See {{{2}}} (recursive)&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;Creates a switchable image with caption for use in infoboxes&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/templatedata&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{Sandbox other||&lt;br /&gt;
&amp;lt;!-- Categories below this line --&amp;gt;&lt;br /&gt;
[[Category:Image formatting and function templates]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ethan</name></author>
	</entry>
</feed>