<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://themidnight.wiki/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="https://themidnight.wiki/index.php?action=history&amp;feed=atom&amp;title=Template%3ASwitcher%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://themidnight.wiki/index.php?title=Template:Switcher/doc&amp;action=history"/>
	<updated>2026-04-29T22:31:35Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.1</generator>
	<entry>
		<id>https://themidnight.wiki/index.php?title=Template:Switcher/doc&amp;diff=12958&amp;oldid=prev</id>
		<title>Timothy: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://themidnight.wiki/index.php?title=Template:Switcher/doc&amp;diff=12958&amp;oldid=prev"/>
		<updated>2024-03-31T18:52:12Z</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;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 14:52, 31 March 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;4&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;!-- diff cache key themidnightwiki_wiki:diff:1.41:old-12957:rev-12958 --&gt;
&lt;/table&gt;</summary>
		<author><name>Timothy</name></author>
	</entry>
	<entry>
		<id>https://themidnight.wiki/index.php?title=Template:Switcher/doc&amp;diff=12957&amp;oldid=prev</id>
		<title>wikipedia&gt;Andrybak: move parts of documentation from testcases page – Special:Permalink/1192437302</title>
		<link rel="alternate" type="text/html" href="https://themidnight.wiki/index.php?title=Template:Switcher/doc&amp;diff=12957&amp;oldid=prev"/>
		<updated>2024-02-24T23:17:59Z</updated>

		<summary type="html">&lt;p&gt;move parts of documentation from testcases page – &lt;a href=&quot;/wiki/Special:PermanentLink/1192437302&quot; title=&quot;Special:PermanentLink/1192437302&quot;&gt;Special:Permalink/1192437302&lt;/a&gt;&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;
{{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;/div&gt;</summary>
		<author><name>wikipedia&gt;Andrybak</name></author>
	</entry>
</feed>