<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="fr">
	<id>https://pikmin-fr.wiki/w/index.php?action=history&amp;feed=atom&amp;title=Module%3AButton</id>
	<title>Module:Button - Historique des versions</title>
	<link rel="self" type="application/atom+xml" href="https://pikmin-fr.wiki/w/index.php?action=history&amp;feed=atom&amp;title=Module%3AButton"/>
	<link rel="alternate" type="text/html" href="https://pikmin-fr.wiki/w/index.php?title=Module:Button&amp;action=history"/>
	<updated>2026-04-30T19:34:04Z</updated>
	<subtitle>Historique des versions pour cette page sur le wiki</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>https://pikmin-fr.wiki/w/index.php?title=Module:Button&amp;diff=637&amp;oldid=prev</id>
		<title>Yaya : 5 versions importées</title>
		<link rel="alternate" type="text/html" href="https://pikmin-fr.wiki/w/index.php?title=Module:Button&amp;diff=637&amp;oldid=prev"/>
		<updated>2025-04-09T21:31:59Z</updated>

		<summary type="html">&lt;p&gt;5 versions importées&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;fr&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Version précédente&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version du 9 avril 2025 à 21:31&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;4&quot; class=&quot;diff-notice&quot; lang=&quot;fr&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(Aucune différence)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff cache key pikminfr_mw1430:diff:1.41:old-636:rev-637 --&gt;
&lt;/table&gt;</summary>
		<author><name>Yaya</name></author>
	</entry>
	<entry>
		<id>https://pikmin-fr.wiki/w/index.php?title=Module:Button&amp;diff=636&amp;oldid=prev</id>
		<title>fr&gt;Fxfxfx0 le 3 décembre 2024 à 10:41</title>
		<link rel="alternate" type="text/html" href="https://pikmin-fr.wiki/w/index.php?title=Module:Button&amp;diff=636&amp;oldid=prev"/>
		<updated>2024-12-03T10:41:25Z</updated>

		<summary type="html">&lt;p&gt;&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;fr&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Version précédente&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version du 3 décembre 2024 à 10:41&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l120&quot;&gt;Ligne 120 :&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Ligne 120 :&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;			[&amp;#039;gyroroll&amp;#039;] = {class = &amp;#039;pro-icon gyro-roll&amp;#039;, title = &amp;#039;Gyro Roll&amp;#039;},&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;			[&amp;#039;gyroroll&amp;#039;] = {class = &amp;#039;pro-icon gyro-roll&amp;#039;, title = &amp;#039;Gyro Roll&amp;#039;},&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;			[&amp;#039;gyroyaw&amp;#039;] = {class = &amp;#039;pro-icon gyro-yaw&amp;#039;, title = &amp;#039;Gyro Yaw&amp;#039;},&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;			[&amp;#039;gyroyaw&amp;#039;] = {class = &amp;#039;pro-icon gyro-yaw&amp;#039;, title = &amp;#039;Gyro Yaw&amp;#039;},&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;			-&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;- &lt;/del&gt;handheld &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;uses an image&lt;/del&gt;, &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;please change it to an icon like the others.&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;			&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[&#039;handheld&#039;] = {class = &#039;switch&lt;/ins&gt;-&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;icon &lt;/ins&gt;handheld&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;, title = &#039;Handheld&#039;}&lt;/ins&gt;,&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;			[&amp;#039;home&amp;#039;] = {class = &amp;#039;switch-icon home&amp;#039;, title = &amp;#039;Home&amp;#039;},&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;			[&amp;#039;home&amp;#039;] = {class = &amp;#039;switch-icon home&amp;#039;, title = &amp;#039;Home&amp;#039;},&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;			[&amp;#039;l&amp;#039;] = {class = &amp;#039;switch-icon l&amp;#039;, title = &amp;#039;L&amp;#039;},&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;			[&amp;#039;l&amp;#039;] = {class = &amp;#039;switch-icon l&amp;#039;, title = &amp;#039;L&amp;#039;},&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key pikminfr_mw1430:diff:1.41:old-635:rev-636:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>fr&gt;Fxfxfx0</name></author>
	</entry>
	<entry>
		<id>https://pikmin-fr.wiki/w/index.php?title=Module:Button&amp;diff=635&amp;oldid=prev</id>
		<title>fr&gt;Fxfxfx0 : 1 version importée : Import de la majorité des modèles manquants</title>
		<link rel="alternate" type="text/html" href="https://pikmin-fr.wiki/w/index.php?title=Module:Button&amp;diff=635&amp;oldid=prev"/>
		<updated>2024-09-20T12:51:49Z</updated>

		<summary type="html">&lt;p&gt;1 version importée : Import de la majorité des modèles manquants&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;fr&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Version précédente&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version du 20 septembre 2024 à 12:51&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;4&quot; class=&quot;diff-notice&quot; lang=&quot;fr&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(Aucune différence)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff cache key pikminfr_mw1430:diff:1.41:old-634:rev-635 --&gt;
&lt;/table&gt;</summary>
		<author><name>fr&gt;Fxfxfx0</name></author>
	</entry>
	<entry>
		<id>https://pikmin-fr.wiki/w/index.php?title=Module:Button&amp;diff=634&amp;oldid=prev</id>
		<title>fr&gt;Fxfxfx0 : A protégé « Module:Button » : Modèle beaucoup utilisé ([Modifier = Autoriser uniquement les utilisateurs autoconfirmés] (infini) [Renommer = Autoriser uniquement les utilisateurs autoconfirmés] (infini))</title>
		<link rel="alternate" type="text/html" href="https://pikmin-fr.wiki/w/index.php?title=Module:Button&amp;diff=634&amp;oldid=prev"/>
		<updated>2024-08-03T21:12:39Z</updated>

		<summary type="html">&lt;p&gt;A protégé « &lt;a href=&quot;/wiki/Module:Button&quot; title=&quot;Module:Button&quot;&gt;Module:Button&lt;/a&gt; » : Modèle beaucoup utilisé ([Modifier = Autoriser uniquement les utilisateurs autoconfirmés] (infini) [Renommer = Autoriser uniquement les utilisateurs autoconfirmés] (infini))&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;fr&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Version précédente&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version du 3 août 2024 à 21:12&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;4&quot; class=&quot;diff-notice&quot; lang=&quot;fr&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(Aucune différence)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff cache key pikminfr_mw1430:diff:1.41:old-633:rev-634 --&gt;
&lt;/table&gt;</summary>
		<author><name>fr&gt;Fxfxfx0</name></author>
	</entry>
	<entry>
		<id>https://pikmin-fr.wiki/w/index.php?title=Module:Button&amp;diff=633&amp;oldid=prev</id>
		<title>fr&gt;Fxfxfx0 : Copie du Module:Button</title>
		<link rel="alternate" type="text/html" href="https://pikmin-fr.wiki/w/index.php?title=Module:Button&amp;diff=633&amp;oldid=prev"/>
		<updated>2024-05-04T12:58:20Z</updated>

		<summary type="html">&lt;p&gt;Copie du Module:Button&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;fr&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Version précédente&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version du 4 mai 2024 à 12:58&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;4&quot; class=&quot;diff-notice&quot; lang=&quot;fr&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(Aucune différence)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff cache key pikminfr_mw1430:diff:1.41:old-632:rev-633 --&gt;
&lt;/table&gt;</summary>
		<author><name>fr&gt;Fxfxfx0</name></author>
	</entry>
	<entry>
		<id>https://pikmin-fr.wiki/w/index.php?title=Module:Button&amp;diff=632&amp;oldid=prev</id>
		<title>en&gt;Yoshifan52 : Protected &quot;Module:Button&quot;: Widely transcluded template ([Edit=Allow only autoconfirmed users] (indefinite) [Move=Allow only autoconfirmed users] (indefinite))</title>
		<link rel="alternate" type="text/html" href="https://pikmin-fr.wiki/w/index.php?title=Module:Button&amp;diff=632&amp;oldid=prev"/>
		<updated>2024-02-11T07:09:48Z</updated>

		<summary type="html">&lt;p&gt;Protected &amp;quot;&lt;a href=&quot;/wiki/Module:Button&quot; title=&quot;Module:Button&quot;&gt;Module:Button&lt;/a&gt;&amp;quot;: Widely transcluded template ([Edit=Allow only autoconfirmed users] (indefinite) [Move=Allow only autoconfirmed users] (indefinite))&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Nouvelle page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;--[[&lt;br /&gt;
	This module compares and outputs a button depending on the game or system&lt;br /&gt;
	you&amp;#039;ve specified.&lt;br /&gt;
]]--&lt;br /&gt;
&lt;br /&gt;
local b = {}&lt;br /&gt;
local result = {}&lt;br /&gt;
--[[&lt;br /&gt;
	instead of typing the system over and over, these sys- variables have&lt;br /&gt;
	the name of the system, so it avoids typos and needing to change the&lt;br /&gt;
	comparisons manually.&lt;br /&gt;
	&lt;br /&gt;
	to make this consistent, for each new system prefix the variable with&lt;br /&gt;
	&amp;#039;sys-&amp;#039; (e.g &amp;#039;local sysDonkeyKongStation = &amp;#039;DK Station&amp;#039;)&lt;br /&gt;
]]--&lt;br /&gt;
local sysWiiU = &amp;#039;Wii U&amp;#039;&lt;br /&gt;
local sysSwitch = &amp;#039;Switch&amp;#039;&lt;br /&gt;
&lt;br /&gt;
function gameToConsole(game)&lt;br /&gt;
	--[[&lt;br /&gt;
		this function returns a console depending on what you set on the &amp;#039;game&amp;#039;&lt;br /&gt;
		argument. On the original template, the system and &amp;#039;game&amp;#039; parameters were&lt;br /&gt;
		pretty much the same, so the list needs also to include the console name&lt;br /&gt;
		as well.&lt;br /&gt;
		&lt;br /&gt;
		As mentioned in the b.main() later, the inputs from the template are&lt;br /&gt;
		automatically made lowercase, trimmed, and removes special characters&lt;br /&gt;
		(such as dashes), so just make the keys like &amp;#039;cometobrazil&amp;#039; or &amp;#039;donkeykong&amp;#039;.&lt;br /&gt;
		&lt;br /&gt;
		don&amp;#039;t forget the comma at the end of each item! It&amp;#039;s like a basic JSON.&lt;br /&gt;
	]]--&lt;br /&gt;
	local c = {}&lt;br /&gt;
	c = {&lt;br /&gt;
		[&amp;#039;wiiu&amp;#039;] = sysWiiU,&lt;br /&gt;
		[&amp;#039;s&amp;#039;] = sysWiiU,&lt;br /&gt;
		[&amp;#039;s1&amp;#039;] = sysWiiU,&lt;br /&gt;
		[&amp;#039;splatoon&amp;#039;] = sysWiiU,&lt;br /&gt;
		[&amp;#039;splatoon1&amp;#039;] = sysWiiU,&lt;br /&gt;
		&lt;br /&gt;
		[&amp;#039;switch&amp;#039;] = sysSwitch,&lt;br /&gt;
		[&amp;#039;s2&amp;#039;] = sysSwitch,&lt;br /&gt;
		[&amp;#039;splatoon2&amp;#039;] = sysSwitch,&lt;br /&gt;
		[&amp;#039;s3&amp;#039;] = sysSwitch,&lt;br /&gt;
		[&amp;#039;splatoon3&amp;#039;] = sysSwitch,&lt;br /&gt;
		[&amp;#039;octoexpansion&amp;#039;] = sysSwitch,&lt;br /&gt;
		[&amp;#039;oe&amp;#039;] = sysSwitch,&lt;br /&gt;
		&lt;br /&gt;
		[&amp;#039;splatoon 1&amp;#039;] = &amp;#039;dummytest2&amp;#039;,&lt;br /&gt;
		[&amp;#039;dummy&amp;#039;] = &amp;#039;dummy&amp;#039;,&lt;br /&gt;
	}&lt;br /&gt;
	&lt;br /&gt;
	-- just a fallback if no argument is passed to &amp;#039;game&amp;#039;&lt;br /&gt;
	if not c[game] then&lt;br /&gt;
		return c[sysWiiU]&lt;br /&gt;
	else&lt;br /&gt;
		return c[game]&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function buttonOutput(system, button, frame)&lt;br /&gt;
	--[[&lt;br /&gt;
		this function creates a nested comparison list. So if system, which has&lt;br /&gt;
		passed through gameToConsole() already (see on b.main() ), will check&lt;br /&gt;
		each &amp;quot;parent&amp;quot; list with the &amp;#039;system&amp;#039; argument, then the &amp;quot;children&amp;quot; lists,&lt;br /&gt;
		with the &amp;#039;button&amp;#039; argument. The &amp;#039;frame&amp;#039; argument is just to pass the&lt;br /&gt;
		frames from b.main() to this function.&lt;br /&gt;
		&lt;br /&gt;
		In fact, to avoid visual bloat, you could move this function to a subpage,&lt;br /&gt;
		something like Module:Button/Output, because eventually this list will&lt;br /&gt;
		grow more and more I imagine.&lt;br /&gt;
	]]--&lt;br /&gt;
	local o = {}&lt;br /&gt;
	&lt;br /&gt;
	--[[&lt;br /&gt;
		personally I would recommend the staff to adapt the Wii U buttons to&lt;br /&gt;
		the Switch style (icons through CSS rather than images) to keep consistency.&lt;br /&gt;
		The Switch&amp;#039;s handheld icon uses an image instead of an icon, and doing&lt;br /&gt;
		a whole if-else checking just for that would be quite annoying. Moving&lt;br /&gt;
		the Wii U icons to the Switch style you&amp;#039;re doing could remove the if-else&lt;br /&gt;
		statement at the bottom as well.&lt;br /&gt;
		&lt;br /&gt;
		and as mentioned later in the b.main(), the button and system input from&lt;br /&gt;
		the template/module is automatically trimmed and lowercase. Don&amp;#039;t worry&lt;br /&gt;
		about dashes or anything else.&lt;br /&gt;
	]]--&lt;br /&gt;
	o = {&lt;br /&gt;
		[sysWiiU] = {&lt;br /&gt;
			[&amp;#039;a&amp;#039;] = &amp;#039;[[File:Wii U Icon A.png|28x28px|link=|A]]&amp;#039;,&lt;br /&gt;
			[&amp;#039;b&amp;#039;] = &amp;#039;[[File:Wii U Icon B.png|28x28px|link=|B]]&amp;#039;,&lt;br /&gt;
			[&amp;#039;dpad&amp;#039;] = &amp;#039;[[File:Wii U Icon D-Pad.png|28x28px|link=|D-Pad]]&amp;#039;,&lt;br /&gt;
			[&amp;#039;gamepad&amp;#039;] = &amp;#039;[[File:Wii U Icon Gamepad.png|28x28px|link=|Gamepad]]&amp;#039;,&lt;br /&gt;
			[&amp;#039;home&amp;#039;] = &amp;#039;[[File:Wii U Icon Home.png|28x28px|link=|Home]]&amp;#039;,&lt;br /&gt;
			[&amp;#039;l&amp;#039;] = &amp;#039;[[File:Wii U Icon L.png|28x28px|link=|L]]&amp;#039;,&lt;br /&gt;
			[&amp;#039;leftstick&amp;#039;] = &amp;#039;[[File:Wii U Icon LS.png|28x28px|link=|Left Stick]]&amp;#039;,&lt;br /&gt;
			[&amp;#039;ls&amp;#039;] = &amp;#039;[[File:Wii U Icon LS.png|28x28px|link=|Left Stick]]&amp;#039;,&lt;br /&gt;
			[&amp;#039;minus&amp;#039;] = &amp;#039;[[File:Wii U Icon Minus.png|28x28px|link=|Minus]]&amp;#039;,&lt;br /&gt;
			[&amp;#039;plus&amp;#039;] = &amp;#039;[[File:Wii U Icon Plus.png|28x28px|link=|Plus]]&amp;#039;,&lt;br /&gt;
			[&amp;#039;r&amp;#039;] = &amp;#039;[[File:Wii U Icon R.png|28x28px|link=|R]]&amp;#039;,&lt;br /&gt;
			[&amp;#039;rightstick&amp;#039;] = &amp;#039;[[File:Wii U Icon RS.png|28x28px|link=|Right Stick]]&amp;#039;,&lt;br /&gt;
			[&amp;#039;rs&amp;#039;] = &amp;#039;[[File:Wii U Icon RS.png|28x28px|link=|Right Stick]]&amp;#039;,&lt;br /&gt;
			[&amp;#039;x&amp;#039;] = &amp;#039;[[File:Wii U Icon X.png|28x28px|link=|X]]&amp;#039;,&lt;br /&gt;
			[&amp;#039;y&amp;#039;] = &amp;#039;[[File:Wii U Icon Y.png|28x28px|link=|Y]]&amp;#039;,&lt;br /&gt;
			[&amp;#039;z&amp;#039;] = frame:preprocess(&amp;#039;{{Icon|S|Zapfish}}&amp;#039;),&lt;br /&gt;
			[&amp;#039;zl&amp;#039;] = &amp;#039;[[File:Wii U Icon ZL.png|28x28px|link=|ZL]]&amp;#039;,&lt;br /&gt;
			[&amp;#039;zl1&amp;#039;] = frame:preprocess(&amp;#039;{{Icon|S|ZL}}&amp;#039;),&lt;br /&gt;
			[&amp;#039;zr&amp;#039;] = &amp;#039;[[File:Wii U Icon ZR.png|28x28px|link=|ZR]]&amp;#039;,&lt;br /&gt;
			[&amp;#039;zr1&amp;#039;] = frame:preprocess(&amp;#039;{{Icon|S|ZR}}&amp;#039;),&lt;br /&gt;
		},&lt;br /&gt;
		[sysSwitch] = {&lt;br /&gt;
			[&amp;#039;a&amp;#039;] = {class = &amp;#039;switch-icon a&amp;#039;, title = &amp;#039;A&amp;#039;},&lt;br /&gt;
			[&amp;#039;b&amp;#039;] = {class = &amp;#039;switch-icon b&amp;#039;, title = &amp;#039;B&amp;#039;},&lt;br /&gt;
			[&amp;#039;capture&amp;#039;] = {class = &amp;#039;switch-icon capture&amp;#039;, title = &amp;#039;Capture&amp;#039;},&lt;br /&gt;
			[&amp;#039;controlleroutline&amp;#039;] = {class = &amp;#039;switch-icon controller-outline&amp;#039;, title = &amp;#039;Pro&amp;#039;},&lt;br /&gt;
			[&amp;#039;dpad&amp;#039;] = {class = &amp;#039;pro-icon d-pad&amp;#039;, title = &amp;#039;D-Pad&amp;#039;},&lt;br /&gt;
			[&amp;#039;dpaddown&amp;#039;] = {class = &amp;#039;pro-icon d-pad-down&amp;#039;, title = &amp;#039;D-Pad Down&amp;#039;},&lt;br /&gt;
			[&amp;#039;dpadleft&amp;#039;] = {class = &amp;#039;pro-icon d-pad-left&amp;#039;, title = &amp;#039;D-Pad Left&amp;#039;},&lt;br /&gt;
			[&amp;#039;dpadright&amp;#039;] = {class = &amp;#039;pro-icon d-pad-right&amp;#039;, title = &amp;#039;D-Pad Right&amp;#039;},&lt;br /&gt;
			[&amp;#039;dpadup&amp;#039;] = {class = &amp;#039;pro-icon d-pad-up&amp;#039;, title = &amp;#039;D-Pad Up&amp;#039;},&lt;br /&gt;
			[&amp;#039;gyropitch&amp;#039;] = {class = &amp;#039;pro-icon gyro-pitch&amp;#039;, title = &amp;#039;Gyro Pitch&amp;#039;},&lt;br /&gt;
			[&amp;#039;gyroroll&amp;#039;] = {class = &amp;#039;pro-icon gyro-roll&amp;#039;, title = &amp;#039;Gyro Roll&amp;#039;},&lt;br /&gt;
			[&amp;#039;gyroyaw&amp;#039;] = {class = &amp;#039;pro-icon gyro-yaw&amp;#039;, title = &amp;#039;Gyro Yaw&amp;#039;},&lt;br /&gt;
			-- handheld uses an image, please change it to an icon like the others.&lt;br /&gt;
			[&amp;#039;home&amp;#039;] = {class = &amp;#039;switch-icon home&amp;#039;, title = &amp;#039;Home&amp;#039;},&lt;br /&gt;
			[&amp;#039;l&amp;#039;] = {class = &amp;#039;switch-icon l&amp;#039;, title = &amp;#039;L&amp;#039;},&lt;br /&gt;
			[&amp;#039;leftstickall&amp;#039;] = {class = &amp;#039;switch-icon left-stick-all&amp;#039;, title = &amp;#039;Left Stick All&amp;#039;},&lt;br /&gt;
			[&amp;#039;leftstickclick&amp;#039;] = {class = &amp;#039;switch-icon left-stick-click&amp;#039;, title = &amp;#039;Left Stick Click&amp;#039;},&lt;br /&gt;
			[&amp;#039;leftstickdown&amp;#039;] = {class = &amp;#039;switch-icon left-stick-down&amp;#039;, title = &amp;#039;Left Stick Down&amp;#039;},&lt;br /&gt;
			[&amp;#039;leftstickleftright&amp;#039;] = {class = &amp;#039;switch-icon left-stick-left-right&amp;#039;, title = &amp;#039;Left Stick Left-Right&amp;#039;},&lt;br /&gt;
			[&amp;#039;leftstickleft&amp;#039;] = {class = &amp;#039;switch-icon left-stick-left&amp;#039;, title = &amp;#039;Left Stick Left&amp;#039;},&lt;br /&gt;
			[&amp;#039;leftstickright&amp;#039;] = {class = &amp;#039;switch-icon left-stick-right&amp;#039;, title = &amp;#039;Left Stick Right&amp;#039;},&lt;br /&gt;
			[&amp;#039;leftstickupdown&amp;#039;] = {class = &amp;#039;switch-icon left-stick-up-down&amp;#039;, title = &amp;#039;Left Stick Up-Down&amp;#039;},&lt;br /&gt;
			[&amp;#039;leftstickup&amp;#039;] = {class = &amp;#039;switch-icon left-stick-up&amp;#039;, title = &amp;#039;Left Stick Up&amp;#039;},&lt;br /&gt;
			[&amp;#039;leftstick&amp;#039;] = {class = &amp;#039;switch-icon left-stick&amp;#039;, title = &amp;#039;Left Stick&amp;#039;},&lt;br /&gt;
			[&amp;#039;ls&amp;#039;] = {class = &amp;#039;switch-icon left-stick&amp;#039;, title = &amp;#039;Left Stick&amp;#039;},&lt;br /&gt;
			[&amp;#039;minus&amp;#039;] = {class = &amp;#039;switch-icon minus&amp;#039;, title = &amp;#039;Minus&amp;#039;},&lt;br /&gt;
			[&amp;#039;plus&amp;#039;] = {class = &amp;#039;switch-icon plus&amp;#039;, title = &amp;#039;Plus&amp;#039;},&lt;br /&gt;
			[&amp;#039;pro&amp;#039;] = {class = &amp;#039;pro-icon controller-outline&amp;#039;, title = &amp;#039;Pro&amp;#039;},&lt;br /&gt;
			[&amp;#039;r&amp;#039;] = {class = &amp;#039;switch-icon r&amp;#039;, title = &amp;#039;R&amp;#039;},&lt;br /&gt;
			[&amp;#039;rightstickall&amp;#039;] = {class = &amp;#039;switch-icon right-stick-all&amp;#039;, title = &amp;#039;Right Stick All&amp;#039;},&lt;br /&gt;
			[&amp;#039;rightstickclick&amp;#039;] = {class = &amp;#039;switch-icon right-stick-click&amp;#039;, title = &amp;#039;Right Stick Click&amp;#039;},&lt;br /&gt;
			[&amp;#039;rightstickdown&amp;#039;] = {class = &amp;#039;switch-icon right-stick-down&amp;#039;, title = &amp;#039;Right Stick Down&amp;#039;},&lt;br /&gt;
			[&amp;#039;rightstickleftright&amp;#039;] = {class = &amp;#039;switch-icon right-stick-left-right&amp;#039;, title = &amp;#039;Right Stick Left-Right&amp;#039;},&lt;br /&gt;
			[&amp;#039;rightstickleft&amp;#039;] = {class = &amp;#039;switch-icon right-stick-left&amp;#039;, title = &amp;#039;Right Stick Left&amp;#039;},&lt;br /&gt;
			[&amp;#039;rightstickright&amp;#039;] = {class = &amp;#039;switch-icon right-stick-right&amp;#039;, title = &amp;#039;Right Stick Right&amp;#039;},&lt;br /&gt;
			[&amp;#039;rightstickupdown&amp;#039;] = {class = &amp;#039;switch-icon right-stick-up-down&amp;#039;, title = &amp;#039;Right Stick Up-Down&amp;#039;},&lt;br /&gt;
			[&amp;#039;rightstickup&amp;#039;] = {class = &amp;#039;switch-icon right-stick-up&amp;#039;, title = &amp;#039;Right Stick Up&amp;#039;},&lt;br /&gt;
			[&amp;#039;rightstick&amp;#039;] = {class = &amp;#039;switch-icon right-stick&amp;#039;, title = &amp;#039;Right Stick&amp;#039;},&lt;br /&gt;
			[&amp;#039;rs&amp;#039;] = {class = &amp;#039;switch-icon right-stick&amp;#039;, title = &amp;#039;Right Stick&amp;#039;},&lt;br /&gt;
			[&amp;#039;sl&amp;#039;] = {class = &amp;#039;switch-icon sl&amp;#039;, title = &amp;#039;SL&amp;#039;},&lt;br /&gt;
			[&amp;#039;sr&amp;#039;] = {class = &amp;#039;switch-icon sr&amp;#039;, title = &amp;#039;SR&amp;#039;},&lt;br /&gt;
			[&amp;#039;x&amp;#039;] = {class = &amp;#039;switch-icon x&amp;#039;, title = &amp;#039;X&amp;#039;},&lt;br /&gt;
			[&amp;#039;y&amp;#039;] = {class = &amp;#039;switch-icon y&amp;#039;, title = &amp;#039;Y&amp;#039;},&lt;br /&gt;
			[&amp;#039;zl&amp;#039;] = {class = &amp;#039;switch-icon zl&amp;#039;, title = &amp;#039;ZL&amp;#039;},&lt;br /&gt;
			[&amp;#039;zr&amp;#039;] = {class = &amp;#039;switch-icon zr&amp;#039;, title = &amp;#039;ZR&amp;#039;},&lt;br /&gt;
		},&lt;br /&gt;
	}&lt;br /&gt;
	&lt;br /&gt;
	local panel&lt;br /&gt;
	&lt;br /&gt;
	if system ~= sysWiiU then&lt;br /&gt;
		panel = &amp;#039;&amp;lt;span class=&amp;quot;&amp;#039;.. o[system][button].class .. &amp;#039;&amp;quot; title=&amp;quot;&amp;#039;.. o[system][button].title ..&amp;#039;&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&amp;#039;&lt;br /&gt;
		return panel&lt;br /&gt;
	else&lt;br /&gt;
		return o[system][button]&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function b.main(frame)&lt;br /&gt;
	-- the button input from the template&lt;br /&gt;
	local input = frame:getParent().args[1] or &amp;#039;a&amp;#039;&lt;br /&gt;
	-- Wii U set as the default system&lt;br /&gt;
	local game = frame:getParent().args[&amp;#039;game&amp;#039;] or frame:getParent().args[2] or sysWiiU&lt;br /&gt;
	&lt;br /&gt;
	-- removing whitespace and special characters from &amp;#039;input&amp;#039; and &amp;#039;game&amp;#039;&lt;br /&gt;
	input = mw.ustring.lower(mw.ustring.gsub(input, &amp;#039;[%p%c%s]&amp;#039;, &amp;#039;&amp;#039;))&lt;br /&gt;
	game = gameToConsole(mw.ustring.lower(mw.ustring.gsub(game, &amp;#039;[%p%c%s]&amp;#039;, &amp;#039;&amp;#039;)))&lt;br /&gt;
	&lt;br /&gt;
	table.insert(result, buttonOutput(game, input, frame))&lt;br /&gt;
	return table.concat(result, &amp;#039;&amp;#039;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return b&lt;/div&gt;</summary>
		<author><name>en&gt;Yoshifan52</name></author>
	</entry>
</feed>