<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.runerealm.org/index.php?action=history&amp;feed=atom&amp;title=Template%3ASynced_switch%2Fdoc</id>
	<title>Template:Synced switch/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.runerealm.org/index.php?action=history&amp;feed=atom&amp;title=Template%3ASynced_switch%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://wiki.runerealm.org/index.php?title=Template:Synced_switch/doc&amp;action=history"/>
	<updated>2026-06-15T16:28:32Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.1</generator>
	<entry>
		<id>https://wiki.runerealm.org/index.php?title=Template:Synced_switch/doc&amp;diff=638&amp;oldid=prev</id>
		<title>Eq: Created page with &quot;{{Documentation}} {{invokes|Synced switch}} &#039;&#039;&#039;Synced switch&#039;&#039;&#039; is a method to have content change at the same time as a switch infobox, without generating the associated buttons.  ==Usage== &lt;pre&gt;{{Synced switch|version1=content shown for variant 1|version2=content shown for variant 2|default=content shown for all other variants}}&lt;/pre&gt;  This usage requires a Module:Infobox-based switch infobox to be on the page, as the setup for switching that infobox completes the...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.runerealm.org/index.php?title=Template:Synced_switch/doc&amp;diff=638&amp;oldid=prev"/>
		<updated>2024-10-12T12:58:31Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Documentation}} {{invokes|Synced switch}} &amp;#039;&amp;#039;&amp;#039;Synced switch&amp;#039;&amp;#039;&amp;#039; is a method to have content change at the same time as a switch infobox, without generating the associated buttons.  ==Usage== &amp;lt;pre&amp;gt;{{Synced switch|version1=content shown for variant 1|version2=content shown for variant 2|default=content shown for all other variants}}&amp;lt;/pre&amp;gt;  This usage requires a &lt;a href=&quot;/w/Module:Infobox&quot; title=&quot;Module:Infobox&quot;&gt;Module:Infobox&lt;/a&gt;-based switch infobox to be on the page, as the setup for switching that infobox completes the...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Documentation}}&lt;br /&gt;
{{invokes|Synced switch}}&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Synced switch&amp;#039;&amp;#039;&amp;#039; is a method to have content change at the same time as a switch infobox, without generating the associated buttons.&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
&amp;lt;pre&amp;gt;{{Synced switch|version1=content shown for variant 1|version2=content shown for variant 2|default=content shown for all other variants}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This usage requires a [[Module:Infobox]]-based switch infobox to be on the page, as the setup for switching that infobox completes the setup of the synced switch, by applying the button texts (or select option texts) used by the infobox to the div tags of the synced switch. If there are multiple Module:Infobox-based switches then it will use the first one as the setup.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
If the page:&lt;br /&gt;
* Has multiple Module:Infobox-based switches with differing button configurations&lt;br /&gt;
* Has no Module:Infobox-based switches - only having [[Template:Switch infobox]]-based switches (including [[Template:Infobox Bonuses]])&lt;br /&gt;
* You wish to override the automatically applied button texts in order to match a different set of buttons&lt;br /&gt;
&lt;br /&gt;
Then you will need to define the button texts manually by using corresponding &amp;lt;code&amp;gt;text#&amp;lt;/code&amp;gt; parameters:&lt;br /&gt;
&amp;lt;pre&amp;gt;{{Synced switch|text1=button text 1|text2=button text 2|version1=content shown for variant 1|version2=content shown for variant 2|default=content shown for all other variants}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
Default does not require a button text.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
In both uses, the synced switch will switch to a version whenever a button with the associated text is pressed somewhere on the page. This will generally be set by the &amp;lt;code&amp;gt;version#&amp;lt;/code&amp;gt; parameters of Module:Infobox-based switches (and infoboxes with integrated switch infobox), or the &amp;lt;code&amp;gt;text#&amp;lt;/code&amp;gt; parameters of [[Template:Switch infobox]]. If the item it tries to switch to doesn&amp;#039;t exist, it will switch to the default version.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;[[Category:Formatting templates]]&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Eq</name></author>
	</entry>
</feed>