Difference between revisions of "Module:SSB4Link"
From Nookipedia, the Animal Crossing wiki
PanchamBro (talk | contribs) (fixing logic issues) |
HylianAngel (talk | contribs) m (Small grammar fix.) |
||
(5 intermediate revisions by one other user not shown) | |||
Line 26: | Line 26: | ||
end | end | ||
local print = '' | local print = '' | ||
− | local error = '\'\'\'<span class="error" dir="ltr" lang="en">Invalid parameters detected! Did you | + | local error = '\'\'\'<span class="error" dir="ltr" lang="en">Invalid parameters detected! Did you enter the wrong parameters?</span>\'\'\'[[Category:Pages with incorrect usage of link template]]' |
if not isEmpty(mode1) then | if not isEmpty(mode1) then | ||
if mode1 == "nolink" then | if mode1 == "nolink" then | ||
Line 233: | Line 233: | ||
print = error | print = error | ||
end | end | ||
− | elseif isEmpty(mode2) then | + | elseif mode2 == "3ds" then |
− | print = "''Super Smash Bros. 4''" | + | if mode3 == "sm" then |
− | else | + | if mode4 == "short" then |
− | print = error | + | print = "<small>''Smash 3DS''</small>" |
− | end | + | elseif mode4 == "shorter" then |
− | elseif mode1 == "short" then | + | print = "<small>SSB:3DS</small>" |
− | if mode2 == "nolink" then | + | elseif mode4 == "shortest" then |
− | if mode3 == "sm" then | + | print = "<small>SSB:3DS</small>" |
+ | elseif isEmpty(mode4) then | ||
+ | print = "<small>''Super Smash Bros. for Nintendo 3DS''</small>" | ||
+ | else | ||
+ | print = error | ||
+ | end | ||
+ | elseif mode3 == "short" then | ||
+ | if mode4 == "sm" then | ||
+ | print = "<small>''Smash 3DS''</small>" | ||
+ | elseif isEmpty(mode4) then | ||
+ | print = "''Smash 3DS''" | ||
+ | else | ||
+ | print = error | ||
+ | end | ||
+ | elseif mode3 == "shorter" then | ||
+ | if mode4 == "sm" then | ||
+ | print = "<small>SSB:3DS</small>" | ||
+ | elseif isEmpty(mode4) then | ||
+ | print = "SSB:3DS" | ||
+ | else | ||
+ | print = error | ||
+ | end | ||
+ | elseif mode3 == "shortest" then | ||
+ | if mode4 == "sm" then | ||
+ | print = "<small>SSB:3DS</small>" | ||
+ | elseif isEmpty(mode4) then | ||
+ | print = "SSB:3DS" | ||
+ | else | ||
+ | print = error | ||
+ | end | ||
+ | elseif isEmpty(mode3) then | ||
+ | print = "''Super Smash Bros. for Nintendo 3DS''" | ||
+ | else | ||
+ | print = error | ||
+ | end | ||
+ | elseif mode2 == "wiiu" then | ||
+ | if mode3 == "sm" then | ||
+ | if mode4 == "short" then | ||
+ | print = "<small>''Smash Wii U''</small>" | ||
+ | elseif mode4 == "shorter" then | ||
+ | print = "<small>SSB:Wii U</small>" | ||
+ | elseif mode4 == "shortest" then | ||
+ | print = "<small>SSB:Wii U</small>" | ||
+ | elseif isEmpty(mode4) then | ||
+ | print = "<small>''Super Smash Bros. for Wii U''</small>" | ||
+ | else | ||
+ | print = error | ||
+ | end | ||
+ | elseif mode3 == "short" then | ||
+ | if mode4 == "sm" then | ||
+ | print = "<small>''Smash Wii U''</small>" | ||
+ | elseif isEmpty(mode4) then | ||
+ | print = "''Smash Wii U''" | ||
+ | else | ||
+ | print = error | ||
+ | end | ||
+ | elseif mode3 == "shorter" then | ||
+ | if mode4 == "sm" then | ||
+ | print = "<small>SSB:Wii U</small>" | ||
+ | elseif isEmpty(mode4) then | ||
+ | print = "SSB:Wii U" | ||
+ | else | ||
+ | print = error | ||
+ | end | ||
+ | elseif mode3 == "shortest" then | ||
+ | if mode4 == "sm" then | ||
+ | print = "<small>SSB:Wii U</small>" | ||
+ | elseif isEmpty(mode4) then | ||
+ | print = "SSB:Wii U" | ||
+ | else | ||
+ | print = error | ||
+ | end | ||
+ | elseif isEmpty(mode3) then | ||
+ | print = "''Super Smash Bros. for Wii U''" | ||
+ | else | ||
+ | print = error | ||
+ | end | ||
+ | elseif mode2 == "3dswiiu" or mode2 == "wiiu3ds" then | ||
+ | if mode3 == "sm" then | ||
+ | if mode4 == "short" then | ||
+ | print = "<small>''Smash 3DS / Wii U''</small>" | ||
+ | elseif mode4 == "shorter" then | ||
+ | print = "<small>SSB:3DS/Wii U</small>" | ||
+ | elseif mode4 == "shortest" then | ||
+ | print = "<small>SSB:3DS/Wii U</small>" | ||
+ | elseif isEmpty(mode4) then | ||
+ | print = "<small>''Super Smash Bros. for Nintendo 3DS / Wii U''</small>" | ||
+ | else | ||
+ | print = error | ||
+ | end | ||
+ | elseif mode3 == "short" then | ||
+ | if mode4 == "sm" then | ||
+ | print = "<small>''Smash 3DS / Wii U''</small>" | ||
+ | elseif isEmpty(mode4) then | ||
+ | print = "''Smash 3DS / Wii U''" | ||
+ | else | ||
+ | print = error | ||
+ | end | ||
+ | elseif mode3 == "shorter" then | ||
+ | if mode4 == "sm" then | ||
+ | print = "<small>SSB:3DS/Wii U</small>" | ||
+ | elseif isEmpty(mode4) then | ||
+ | print = "SSB:3DS/Wii U" | ||
+ | else | ||
+ | print = error | ||
+ | end | ||
+ | elseif mode3 == "shortest" then | ||
+ | if mode4 == "sm" then | ||
+ | print = "<small>SSB:3DS/Wii U</small>" | ||
+ | elseif isEmpty(mode4) then | ||
+ | print = "SSB:3DS/Wii U" | ||
+ | else | ||
+ | print = error | ||
+ | end | ||
+ | elseif isEmpty(mode3) then | ||
+ | print = "''Super Smash Bros. for Nintendo 3DS / Wii U''" | ||
+ | else | ||
+ | print = error | ||
+ | end | ||
+ | elseif isEmpty(mode2) then | ||
+ | print = "''Super Smash Bros. 4''" | ||
+ | else | ||
+ | print = error | ||
+ | end | ||
+ | elseif mode1 == "short" then | ||
+ | if mode2 == "nolink" then | ||
+ | if mode3 == "sm" then | ||
+ | if mode4 == "3ds" then | ||
+ | print = "<small>''Smash 3DS''</small>" | ||
+ | elseif mode4 == "wiiu" then | ||
+ | print = "<small>''Smash Wii U''</small>" | ||
+ | elseif mode4 == "3dswiiu" or mode4 == "wiiu3ds" then | ||
+ | print = "<small>''Smash 3DS / Wii U''</small>" | ||
+ | elseif isEmpty(mode4) then | ||
+ | print = "<small>''Smash 4''</small>" | ||
+ | else | ||
+ | print = error | ||
+ | end | ||
+ | elseif mode3 == "3ds" then | ||
+ | if mode4 == "sm" then | ||
+ | print = "<small>''Smash 3DS''</small>" | ||
+ | elseif isEmpty(mode4) then | ||
+ | print = "''Smash 3DS''" | ||
+ | else | ||
+ | print = error | ||
+ | end | ||
+ | elseif mode3 == "wiiu" then | ||
+ | if mode4 == "sm" then | ||
+ | print = "<small>''Smash Wii U''</small>" | ||
+ | elseif isEmpty(mode4) then | ||
+ | print = "''Smash Wii U''" | ||
+ | else | ||
+ | print = error | ||
+ | end | ||
+ | elseif mode3 == "3dswiiu" or mode3 == "wiiu3ds" then | ||
+ | if mode4 == "sm" then | ||
+ | print = "<small>''Smash 3DS / Wii U''</small>" | ||
+ | elseif isEmpty(mode4) then | ||
+ | print = "''Smash 3DS / Wii U''" | ||
+ | else | ||
+ | print = error | ||
+ | end | ||
+ | elseif isEmpty(mode3) then | ||
+ | print = "''Smash 4''" | ||
+ | else | ||
+ | print = error | ||
+ | end | ||
+ | elseif mode2 == "sm" then | ||
+ | if mode3 == "nolink" then | ||
if mode4 == "3ds" then | if mode4 == "3ds" then | ||
print = "<small>''Smash 3DS''</small>" | print = "<small>''Smash 3DS''</small>" | ||
Line 253: | Line 421: | ||
end | end | ||
elseif mode3 == "3ds" then | elseif mode3 == "3ds" then | ||
− | if mode4 == " | + | if mode4 == "nolink" then |
print = "<small>''Smash 3DS''</small>" | print = "<small>''Smash 3DS''</small>" | ||
elseif isEmpty(mode4) then | elseif isEmpty(mode4) then | ||
− | print = "''Smash 3DS''" | + | print = "<small>''[[Super Smash Bros. for Nintendo 3DS and Wii U|Smash 3DS]]''</small>" |
else | else | ||
print = error | print = error | ||
end | end | ||
elseif mode3 == "wiiu" then | elseif mode3 == "wiiu" then | ||
− | if mode4 == " | + | if mode4 == "nolink" then |
print = "<small>''Smash Wii U''</small>" | print = "<small>''Smash Wii U''</small>" | ||
elseif isEmpty(mode4) then | elseif isEmpty(mode4) then | ||
− | print = "''Smash Wii U''" | + | print = "<small>''[[Super Smash Bros. for Nintendo 3DS and Wii U|Smash Wii U]]''</small>" |
else | else | ||
print = error | print = error | ||
end | end | ||
elseif mode3 == "3dswiiu" or mode3 == "wiiu3ds" then | elseif mode3 == "3dswiiu" or mode3 == "wiiu3ds" then | ||
− | if mode4 == " | + | if mode4 == "nolink" then |
print = "<small>''Smash 3DS / Wii U''</small>" | print = "<small>''Smash 3DS / Wii U''</small>" | ||
elseif isEmpty(mode4) then | elseif isEmpty(mode4) then | ||
− | print = "''Smash 3DS / Wii U''" | + | print = "<small>''[[Super Smash Bros. for Nintendo 3DS and Wii U|Smash 3DS / Wii U]]''</small>" |
else | else | ||
print = error | print = error | ||
end | end | ||
elseif isEmpty(mode3) then | elseif isEmpty(mode3) then | ||
− | print = "''Smash 4''" | + | print = "<small>''[[Super Smash Bros. for Nintendo 3DS and Wii U|Smash 4]]''</small>" |
else | else | ||
print = error | print = error | ||
end | end | ||
− | elseif mode2 == " | + | elseif mode2 == "3ds" then |
if mode3 == "nolink" then | if mode3 == "nolink" then | ||
− | if mode4 == " | + | if mode4 == "sm" then |
print = "<small>''Smash 3DS''</small>" | print = "<small>''Smash 3DS''</small>" | ||
− | |||
− | |||
− | |||
− | |||
elseif isEmpty(mode4) then | elseif isEmpty(mode4) then | ||
− | print = " | + | print = "''Smash 3DS''" |
else | else | ||
print = error | print = error | ||
end | end | ||
− | elseif mode3 == " | + | elseif mode3 == "sm" then |
if mode4 == "nolink" then | if mode4 == "nolink" then | ||
print = "<small>''Smash 3DS''</small>" | print = "<small>''Smash 3DS''</small>" | ||
Line 302: | Line 466: | ||
print = error | print = error | ||
end | end | ||
− | elseif mode3 == "wiiu" then | + | elseif isEmpty(mode3) then |
− | if mode4 == " | + | print = "''[[Super Smash Bros. for Nintendo 3DS and Wii U|Smash 3DS]]''" |
+ | else | ||
+ | print = error | ||
+ | end | ||
+ | elseif mode2 == "wiiu" then | ||
+ | if mode3 == "nolink" then | ||
+ | if mode4 == "sm" then | ||
print = "<small>''Smash Wii U''</small>" | print = "<small>''Smash Wii U''</small>" | ||
elseif isEmpty(mode4) then | elseif isEmpty(mode4) then | ||
− | print = " | + | print = "''Smash Wii U''" |
else | else | ||
print = error | print = error | ||
end | end | ||
− | elseif mode3 == " | + | elseif mode3 == "sm" then |
if mode4 == "nolink" then | if mode4 == "nolink" then | ||
− | print = "<small>''Smash | + | print = "<small>''Smash Wii U''</small>" |
elseif isEmpty(mode4) then | elseif isEmpty(mode4) then | ||
− | print = "<small>''[[Super Smash Bros. for Nintendo 3DS and Wii U|Smash | + | print = "<small>''[[Super Smash Bros. for Nintendo 3DS and Wii U|Smash Wii U]]''</small>" |
else | else | ||
print = error | print = error | ||
end | end | ||
elseif isEmpty(mode3) then | elseif isEmpty(mode3) then | ||
− | print = " | + | print = "''[[Super Smash Bros. for Nintendo 3DS and Wii U|Smash Wii U]]''" |
else | else | ||
print = error | print = error | ||
end | end | ||
− | elseif mode2 == " | + | elseif mode2 == "3dswiiu" or mode2 == "wiiu3ds" then |
if mode3 == "nolink" then | if mode3 == "nolink" then | ||
if mode4 == "sm" then | if mode4 == "sm" then | ||
− | print = "<small>''Smash 3DS''</small>" | + | print = "<small>''Smash 3DS / Wii U''</small>" |
elseif isEmpty(mode4) then | elseif isEmpty(mode4) then | ||
− | print = "''Smash 3DS''" | + | print = "''Smash 3DS / Wii U''" |
else | else | ||
print = error | print = error | ||
Line 334: | Line 504: | ||
elseif mode3 == "sm" then | elseif mode3 == "sm" then | ||
if mode4 == "nolink" then | if mode4 == "nolink" then | ||
− | print = "<small>''Smash 3DS''</small>" | + | print = "<small>''Smash 3DS / Wii U''</small>" |
elseif isEmpty(mode4) then | elseif isEmpty(mode4) then | ||
− | print = "<small>''[[Super Smash Bros. for Nintendo 3DS and Wii U|Smash 3DS]]''</small>" | + | print = "<small>''[[Super Smash Bros. for Nintendo 3DS and Wii U|Smash 3DS / Wii U]]''</small>" |
else | else | ||
print = error | print = error | ||
end | end | ||
elseif isEmpty(mode3) then | elseif isEmpty(mode3) then | ||
− | print = "''[[Super Smash Bros. for Nintendo 3DS and Wii U|Smash 3DS]]''" | + | print = "''[[Super Smash Bros. for Nintendo 3DS and Wii U|Smash 3DS / Wii U]]''" |
else | else | ||
print = error | print = error | ||
end | end | ||
− | elseif mode2 == " | + | elseif isEmpty(mode2) then |
− | if mode3 == " | + | print = "''[[Super Smash Bros. for Nintendo 3DS and Wii U|Smash 4]]''" |
− | if mode4 == " | + | else |
− | print = "<small> | + | print = error |
+ | end | ||
+ | elseif mode1 == "shorter" then | ||
+ | if mode2 == "nolink" then | ||
+ | if mode3 == "sm" then | ||
+ | if mode4 == "3ds" then | ||
+ | print = "<small>SSB:3DS</small>" | ||
+ | elseif mode4 == "wiiu" then | ||
+ | print = "<small>SSB:Wii U</small>" | ||
+ | elseif mode4 == "3dswiiu" or mode4 == "wiiu3ds" then | ||
+ | print = "<small>SSB:3DS/Wii U</small>" | ||
elseif isEmpty(mode4) then | elseif isEmpty(mode4) then | ||
− | print = " | + | print = "<small>SSB4</small>" |
else | else | ||
print = error | print = error | ||
end | end | ||
− | elseif mode3 == " | + | elseif mode3 == "3ds" then |
− | if mode4 == " | + | if mode4 == "sm" then |
− | print = "<small> | + | print = "<small>SSB:3DS</small>" |
elseif isEmpty(mode4) then | elseif isEmpty(mode4) then | ||
− | print = " | + | print = "SSB:3DS" |
else | else | ||
print = error | print = error | ||
end | end | ||
− | elseif | + | elseif mode3 == "wiiu" then |
− | + | if mode4 == "sm" then | |
− | + | print = "<small>SSB:Wii U</small>" | |
− | |||
− | |||
− | |||
− | |||
− | if mode4 == "sm" then | ||
− | print = "<small> | ||
elseif isEmpty(mode4) then | elseif isEmpty(mode4) then | ||
− | print = " | + | print = "SSB:Wii U" |
else | else | ||
print = error | print = error | ||
end | end | ||
− | elseif mode3 == " | + | elseif mode3 == "3dswiiu" or mode3 == "wiiu3ds" then |
− | if mode4 == " | + | if mode4 == "sm" then |
− | print = "<small> | + | print = "<small>SSB:3DS/Wii U</small>" |
elseif isEmpty(mode4) then | elseif isEmpty(mode4) then | ||
− | print = " | + | print = "SSB:3DS/Wii U" |
else | else | ||
print = error | print = error | ||
end | end | ||
elseif isEmpty(mode3) then | elseif isEmpty(mode3) then | ||
− | print = " | + | print = "SSB4" |
else | else | ||
print = error | print = error | ||
end | end | ||
− | elseif | + | elseif mode2 == "sm" then |
− | + | if mode3 == "nolink" then | |
− | + | if mode4 == "3ds" then | |
− | + | print = "<small>SSB:3DS</small>" | |
− | |||
− | |||
− | |||
− | if mode3 == " | ||
− | if mode4 == "3ds" then | ||
− | print = "<small>SSB:3DS</small>" | ||
elseif mode4 == "wiiu" then | elseif mode4 == "wiiu" then | ||
print = "<small>SSB:Wii U</small>" | print = "<small>SSB:Wii U</small>" | ||
Line 409: | Line 577: | ||
end | end | ||
elseif mode3 == "3ds" then | elseif mode3 == "3ds" then | ||
− | if mode4 == " | + | if mode4 == "nolink" then |
print = "<small>SSB:3DS</small>" | print = "<small>SSB:3DS</small>" | ||
elseif isEmpty(mode4) then | elseif isEmpty(mode4) then | ||
− | print = "SSB:3DS" | + | print = "<small>[[Super Smash Bros. for Nintendo 3DS and Wii U|SSB:3DS]]</small>" |
else | else | ||
print = error | print = error | ||
end | end | ||
elseif mode3 == "wiiu" then | elseif mode3 == "wiiu" then | ||
− | if mode4 == " | + | if mode4 == "nolink" then |
print = "<small>SSB:Wii U</small>" | print = "<small>SSB:Wii U</small>" | ||
elseif isEmpty(mode4) then | elseif isEmpty(mode4) then | ||
− | print = "SSB:Wii U" | + | print = "<small>[[Super Smash Bros. for Nintendo 3DS and Wii U|SSB:Wii U]]</small>" |
else | else | ||
print = error | print = error | ||
end | end | ||
elseif mode3 == "3dswiiu" or mode3 == "wiiu3ds" then | elseif mode3 == "3dswiiu" or mode3 == "wiiu3ds" then | ||
− | if mode4 == " | + | if mode4 == "nolink" then |
print = "<small>SSB:3DS/Wii U</small>" | print = "<small>SSB:3DS/Wii U</small>" | ||
elseif isEmpty(mode4) then | elseif isEmpty(mode4) then | ||
− | print = "SSB:3DS/Wii U" | + | print = "<small>[[Super Smash Bros. for Nintendo 3DS and Wii U|SSB:3DS/Wii U]]</small>" |
else | else | ||
print = error | print = error | ||
end | end | ||
elseif isEmpty(mode3) then | elseif isEmpty(mode3) then | ||
− | print = "SSB4" | + | print = "<small>[[Super Smash Bros. for Nintendo 3DS and Wii U|SSB4]]</small>" |
else | else | ||
print = error | print = error | ||
end | end | ||
− | elseif mode2 == " | + | elseif mode2 == "3ds" then |
if mode3 == "nolink" then | if mode3 == "nolink" then | ||
− | if mode4 == " | + | if mode4 == "sm" then |
print = "<small>SSB:3DS</small>" | print = "<small>SSB:3DS</small>" | ||
− | elseif mode4 | + | elseif isEmpty(mode4) then |
− | print = " | + | print = "SSB:3DS" |
− | |||
− | |||
− | |||
− | |||
else | else | ||
print = error | print = error | ||
end | end | ||
− | elseif mode3 == " | + | elseif mode3 == "sm" then |
if mode4 == "nolink" then | if mode4 == "nolink" then | ||
print = "<small>SSB:3DS</small>" | print = "<small>SSB:3DS</small>" | ||
Line 458: | Line 622: | ||
print = error | print = error | ||
end | end | ||
− | elseif mode3 == "wiiu" then | + | elseif isEmpty(mode3) then |
− | if mode4 == " | + | print = "[[Super Smash Bros. for Nintendo 3DS and Wii U|SSB:3DS]]" |
+ | else | ||
+ | print = error | ||
+ | end | ||
+ | elseif mode2 == "wiiu" then | ||
+ | if mode3 == "nolink" then | ||
+ | if mode4 == "sm" then | ||
print = "<small>SSB:Wii U</small>" | print = "<small>SSB:Wii U</small>" | ||
elseif isEmpty(mode4) then | elseif isEmpty(mode4) then | ||
− | print = " | + | print = "SSB:Wii U" |
else | else | ||
print = error | print = error | ||
end | end | ||
− | elseif mode3 == " | + | elseif mode3 == "sm" then |
if mode4 == "nolink" then | if mode4 == "nolink" then | ||
− | print = "<small>SSB: | + | print = "<small>SSB:Wii U</small>" |
elseif isEmpty(mode4) then | elseif isEmpty(mode4) then | ||
− | print = "<small>[[Super Smash Bros. for Nintendo 3DS and Wii U|SSB: | + | print = "<small>[[Super Smash Bros. for Nintendo 3DS and Wii U|SSB:Wii U]]</small>" |
else | else | ||
print = error | print = error | ||
end | end | ||
elseif isEmpty(mode3) then | elseif isEmpty(mode3) then | ||
− | print = " | + | print = "[[Super Smash Bros. for Nintendo 3DS and Wii U|SSB:Wii U]]" |
else | else | ||
print = error | print = error | ||
end | end | ||
− | elseif mode2 == " | + | elseif mode2 == "3dswiiu" or mode2 == "wiiu3ds" then |
if mode3 == "nolink" then | if mode3 == "nolink" then | ||
if mode4 == "sm" then | if mode4 == "sm" then | ||
− | print = "<small>SSB:3DS</small>" | + | print = "<small>SSB:3DS/Wii U</small>" |
elseif isEmpty(mode4) then | elseif isEmpty(mode4) then | ||
− | print = "SSB:3DS" | + | print = "SSB:3DS/Wii U" |
else | else | ||
print = error | print = error | ||
Line 490: | Line 660: | ||
elseif mode3 == "sm" then | elseif mode3 == "sm" then | ||
if mode4 == "nolink" then | if mode4 == "nolink" then | ||
− | print = "<small>SSB:3DS</small>" | + | print = "<small>SSB:3DS/Wii U</small>" |
elseif isEmpty(mode4) then | elseif isEmpty(mode4) then | ||
− | print = "<small>[[Super Smash Bros. for Nintendo 3DS and Wii U|SSB:3DS]]</small>" | + | print = "<small>[[Super Smash Bros. for Nintendo 3DS and Wii U|SSB:3DS/Wii U]]</small>" |
else | else | ||
print = error | print = error | ||
end | end | ||
elseif isEmpty(mode3) then | elseif isEmpty(mode3) then | ||
− | print = "[[Super Smash Bros. for Nintendo 3DS and Wii U|SSB:3DS]]" | + | print = "[[Super Smash Bros. for Nintendo 3DS and Wii U|SSB:3DS/Wii U]]" |
else | else | ||
print = error | print = error | ||
end | end | ||
− | elseif mode2 == " | + | elseif isEmpty(mode2) then |
− | if mode3 == " | + | print = "[[Super Smash Bros. for Nintendo 3DS and Wii U|SSB4]]" |
− | if mode4 == " | + | else |
+ | print = error | ||
+ | end | ||
+ | elseif mode1 == "shortest" then | ||
+ | if mode2 == "nolink" then | ||
+ | if mode3 == "sm" then | ||
+ | if mode4 == "3ds" then | ||
+ | print = "<small>SSB:3DS</small>" | ||
+ | elseif mode4 == "wiiu" then | ||
print = "<small>SSB:Wii U</small>" | print = "<small>SSB:Wii U</small>" | ||
+ | elseif mode4 == "3dswiiu" or mode4 == "wiiu3ds" then | ||
+ | print = "<small>SSB:3DS/Wii U</small>" | ||
+ | elseif isEmpty(mode4) then | ||
+ | print = "<small>SSB4</small>" | ||
+ | else | ||
+ | print = error | ||
+ | end | ||
+ | elseif mode3 == "3ds" then | ||
+ | if mode4 == "sm" then | ||
+ | print = "<small>SSB:3DS</small>" | ||
elseif isEmpty(mode4) then | elseif isEmpty(mode4) then | ||
− | print = "SSB: | + | print = "SSB:3DS" |
else | else | ||
print = error | print = error | ||
end | end | ||
− | elseif mode3 == " | + | elseif mode3 == "wiiu" then |
− | if mode4 == " | + | if mode4 == "sm" then |
print = "<small>SSB:Wii U</small>" | print = "<small>SSB:Wii U</small>" | ||
elseif isEmpty(mode4) then | elseif isEmpty(mode4) then | ||
− | print = " | + | print = "SSB:Wii U" |
else | else | ||
print = error | print = error | ||
end | end | ||
− | elseif | + | elseif mode3 == "3dswiiu" or mode3 == "wiiu3ds" then |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
if mode4 == "sm" then | if mode4 == "sm" then | ||
print = "<small>SSB:3DS/Wii U</small>" | print = "<small>SSB:3DS/Wii U</small>" | ||
Line 532: | Line 714: | ||
print = error | print = error | ||
end | end | ||
− | + | elseif isEmpty(mode3) then | |
− | + | print = "SSB4" | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | elseif isEmpty(mode3) then | ||
− | print = " | ||
else | else | ||
print = error | print = error | ||
end | end | ||
− | elseif | + | elseif mode2 == "sm" then |
− | + | if mode3 == "nolink" then | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | if mode3 == " | ||
if mode4 == "3ds" then | if mode4 == "3ds" then | ||
print = "<small>SSB:3DS</small>" | print = "<small>SSB:3DS</small>" | ||
Line 565: | Line 733: | ||
end | end | ||
elseif mode3 == "3ds" then | elseif mode3 == "3ds" then | ||
− | if mode4 == " | + | if mode4 == "nolink" then |
print = "<small>SSB:3DS</small>" | print = "<small>SSB:3DS</small>" | ||
elseif isEmpty(mode4) then | elseif isEmpty(mode4) then | ||
− | print = "SSB:3DS" | + | print = "<small>[[Super Smash Bros. for Nintendo 3DS and Wii U|SSB:3DS]]</small>" |
else | else | ||
print = error | print = error | ||
end | end | ||
elseif mode3 == "wiiu" then | elseif mode3 == "wiiu" then | ||
− | if mode4 == " | + | if mode4 == "nolink" then |
print = "<small>SSB:Wii U</small>" | print = "<small>SSB:Wii U</small>" | ||
elseif isEmpty(mode4) then | elseif isEmpty(mode4) then | ||
− | print = "SSB:Wii U" | + | print = "<small>[[Super Smash Bros. for Nintendo 3DS and Wii U|SSB:Wii U]]</small>" |
else | else | ||
print = error | print = error | ||
end | end | ||
elseif mode3 == "3dswiiu" or mode3 == "wiiu3ds" then | elseif mode3 == "3dswiiu" or mode3 == "wiiu3ds" then | ||
− | if mode4 == " | + | if mode4 == "nolink" then |
print = "<small>SSB:3DS/Wii U</small>" | print = "<small>SSB:3DS/Wii U</small>" | ||
elseif isEmpty(mode4) then | elseif isEmpty(mode4) then | ||
− | print = "SSB:3DS/Wii U" | + | print = "<small>[[Super Smash Bros. for Nintendo 3DS and Wii U|SSB:3DS/Wii U]]</small>" |
else | else | ||
print = error | print = error | ||
end | end | ||
elseif isEmpty(mode3) then | elseif isEmpty(mode3) then | ||
− | print = "SSB4" | + | print = "<small>[[Super Smash Bros. for Nintendo 3DS and Wii U|SSB4]]</small>" |
else | else | ||
print = error | print = error | ||
end | end | ||
− | elseif mode2 == " | + | elseif mode2 == "3ds" then |
if mode3 == "nolink" then | if mode3 == "nolink" then | ||
− | if mode4 == " | + | if mode4 == "sm" then |
print = "<small>SSB:3DS</small>" | print = "<small>SSB:3DS</small>" | ||
− | |||
− | |||
− | |||
− | |||
elseif isEmpty(mode4) then | elseif isEmpty(mode4) then | ||
− | print = " | + | print = "SSB:3DS" |
else | else | ||
print = error | print = error | ||
end | end | ||
− | elseif mode3 == " | + | elseif mode3 == "sm" then |
if mode4 == "nolink" then | if mode4 == "nolink" then | ||
print = "<small>SSB:3DS</small>" | print = "<small>SSB:3DS</small>" | ||
Line 614: | Line 778: | ||
print = error | print = error | ||
end | end | ||
− | elseif mode3 == "wiiu" then | + | elseif isEmpty(mode3) then |
− | if mode4 == " | + | print = "[[Super Smash Bros. for Nintendo 3DS and Wii U|SSB:3DS]]" |
− | print = "<small>SSB:Wii U</small>" | + | else |
− | elseif isEmpty(mode4) then | + | print = error |
− | print = " | + | end |
+ | elseif mode2 == "wiiu" then | ||
+ | if mode3 == "nolink" then | ||
+ | if mode4 == "sm" then | ||
+ | print = "<small>SSB:Wii U</small>" | ||
+ | elseif isEmpty(mode4) then | ||
+ | print = "SSB:Wii U" | ||
else | else | ||
print = error | print = error | ||
end | end | ||
− | elseif mode3 == " | + | elseif mode3 == "sm" then |
if mode4 == "nolink" then | if mode4 == "nolink" then | ||
− | print = "<small>SSB: | + | print = "<small>SSB:Wii U</small>" |
elseif isEmpty(mode4) then | elseif isEmpty(mode4) then | ||
− | print = "<small>[[Super Smash Bros. for Nintendo 3DS and Wii U|SSB: | + | print = "<small>[[Super Smash Bros. for Nintendo 3DS and Wii U|SSB:Wii U]]</small>" |
else | else | ||
print = error | print = error | ||
end | end | ||
elseif isEmpty(mode3) then | elseif isEmpty(mode3) then | ||
− | print = " | + | print = "[[Super Smash Bros. for Nintendo 3DS and Wii U|SSB:Wii U]]" |
else | else | ||
print = error | print = error | ||
end | end | ||
− | elseif mode2 == " | + | elseif mode2 == "3dswiiu" or mode2 == "wiiu3ds" then |
if mode3 == "nolink" then | if mode3 == "nolink" then | ||
if mode4 == "sm" then | if mode4 == "sm" then | ||
− | print = "<small>SSB:3DS</small>" | + | print = "<small>SSB:3DS/Wii U</small>" |
elseif isEmpty(mode4) then | elseif isEmpty(mode4) then | ||
− | print = "SSB:3DS" | + | print = "SSB:3DS/Wii U" |
else | else | ||
print = error | print = error | ||
Line 646: | Line 816: | ||
elseif mode3 == "sm" then | elseif mode3 == "sm" then | ||
if mode4 == "nolink" then | if mode4 == "nolink" then | ||
− | print = "<small>SSB:3DS</small>" | + | print = "<small>SSB:3DS/Wii U</small>" |
elseif isEmpty(mode4) then | elseif isEmpty(mode4) then | ||
− | print = "<small>[[Super Smash Bros. for Nintendo 3DS and Wii U|SSB:3DS]]</small>" | + | print = "<small>[[Super Smash Bros. for Nintendo 3DS and Wii U|SSB:3DS/Wii U]]</small>" |
else | else | ||
print = error | print = error | ||
end | end | ||
elseif isEmpty(mode3) then | elseif isEmpty(mode3) then | ||
− | print = "[[Super Smash Bros. for Nintendo 3DS and Wii U|SSB:3DS]]" | + | print = "[[Super Smash Bros. for Nintendo 3DS and Wii U|SSB:3DS/Wii U]]" |
else | else | ||
print = error | print = error | ||
end | end | ||
− | elseif mode2 == " | + | elseif isEmpty(mode2) then |
− | if mode3 == " | + | print = "[[Super Smash Bros. for Nintendo 3DS and Wii U|SSB4]]" |
− | if mode4 == " | + | else |
− | print = "<small> | + | print = error |
+ | end | ||
+ | elseif mode1 == "sm" then | ||
+ | if mode2 == "nolink" then | ||
+ | if mode3 == "short" then | ||
+ | if mode4 == "3ds" then | ||
+ | print = "<small>''Smash 3DS''</small>" | ||
+ | elseif mode4 == "wiiu" then | ||
+ | print = "<small>''Smash Wii U''</small>" | ||
+ | elseif mode4 == "3dswiiU" or mode4 == "wiiu3ds" then | ||
+ | print = "<small>''Smash 3DS / Wii U''</small>" | ||
elseif isEmpty(mode4) then | elseif isEmpty(mode4) then | ||
− | print = " | + | print = "<small>''Smash 4''</small>" |
else | else | ||
print = error | print = error | ||
end | end | ||
− | elseif mode3 == " | + | elseif mode3 == "shorter" then |
− | if mode4 == " | + | if mode4 == "3ds" then |
+ | print = "<small>SSB:3DS</small>" | ||
+ | elseif mode4 == "wiiu" then | ||
print = "<small>SSB:Wii U</small>" | print = "<small>SSB:Wii U</small>" | ||
− | elseif | + | elseif mode4 == "3dswiiU" or mode4 == "wiiu3ds" then |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
print = "<small>SSB:3DS/Wii U</small>" | print = "<small>SSB:3DS/Wii U</small>" | ||
elseif isEmpty(mode4) then | elseif isEmpty(mode4) then | ||
− | print = " | + | print = "<small>SSB4</small>" |
else | else | ||
print = error | print = error | ||
end | end | ||
− | elseif mode3 == " | + | elseif mode3 == "shortest" then |
− | if mode4 == " | + | if mode4 == "3ds" then |
+ | print = "<small>SSB:3DS</small>" | ||
+ | elseif mode4 == "wiiu" then | ||
+ | print = "<small>SSB:Wii U</small>" | ||
+ | elseif mode4 == "3dswiiu" or mode4 == "wiiu3ds" then | ||
print = "<small>SSB:3DS/Wii U</small>" | print = "<small>SSB:3DS/Wii U</small>" | ||
elseif isEmpty(mode4) then | elseif isEmpty(mode4) then | ||
− | print = "<small> | + | print = "<small>SSB4</small>" |
else | else | ||
print = error | print = error | ||
end | end | ||
− | elseif | + | elseif mode3 == "3ds" then |
− | + | if mode4 == "short" then | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | if mode4 == " | ||
print = "<small>''Smash 3DS''</small>" | print = "<small>''Smash 3DS''</small>" | ||
− | elseif mode4 == " | + | elseif mode4 == "shorter" then |
− | print = "<small> | + | print = "<small>SSB:3DS</small>" |
− | elseif mode4 == " | + | elseif mode4 == "shortest" then |
− | print = "<small> | + | print = "<small>SSB:3DS</small>" |
elseif isEmpty(mode4) then | elseif isEmpty(mode4) then | ||
− | print = "<small>''Smash | + | print = "<small>''Super Smash Bros. for Nintendo 3DS''</small>" |
else | else | ||
print = error | print = error | ||
end | end | ||
− | elseif mode3 == " | + | elseif mode3 == "wiiu" then |
− | if mode4 == " | + | if mode4 == "short" then |
− | print = "<small>SSB: | + | print = "<small>''Smash Wii U''</small>" |
− | elseif mode4 == " | + | elseif mode4 == "shorter" then |
+ | print = "<small>SSB:Wii U</small>" | ||
+ | elseif mode4 == "shortest" then | ||
print = "<small>SSB:Wii U</small>" | print = "<small>SSB:Wii U</small>" | ||
− | |||
− | |||
elseif isEmpty(mode4) then | elseif isEmpty(mode4) then | ||
− | print = "<small> | + | print = "<small>''Super Smash Bros. for Wii U''</small>" |
else | else | ||
print = error | print = error | ||
end | end | ||
− | elseif mode3 == " | + | elseif mode3 == "3dswiiu" or mode3 == "wiiu3ds" then |
− | if mode4 == " | + | if mode4 == "short" then |
− | print = "<small> | + | print = "<small>''Smash 3DS / Wii U''</small>" |
− | elseif mode4 == " | + | elseif mode4 == "shorter" then |
− | print = "<small>SSB:Wii U</small>" | + | print = "<small>SSB:3DS/Wii U</small>" |
− | elseif mode4 == " | + | elseif mode4 == "shortest" then |
print = "<small>SSB:3DS/Wii U</small>" | print = "<small>SSB:3DS/Wii U</small>" | ||
elseif isEmpty(mode4) then | elseif isEmpty(mode4) then | ||
− | print = "<small> | + | print = "<small>''Super Smash Bros. for Nintendo 3DS / Wii U''</small>" |
+ | else | ||
+ | print = error | ||
+ | end | ||
+ | elseif isEmpty(mode3) then | ||
+ | print = "<small>''Super Smash Bros. 4''</small>" | ||
+ | else | ||
+ | print = error | ||
+ | end | ||
+ | elseif mode2 == "short" then | ||
+ | if mode3 == "nolink" then | ||
+ | if mode4 == "3ds" then | ||
+ | print = "<small>''Smash 3DS''</small>" | ||
+ | elseif mode4 == "wiiu" then | ||
+ | print = "<small>''Smash Wii U''</small>" | ||
+ | elseif mode4 == "3dswiiu" or mode4 == "wiiu3ds" then | ||
+ | print = "<small>''Smash 3DS / Wii U''</small>" | ||
+ | elseif isEmpty(mode4) then | ||
+ | print = "<small>''Smash 4''</small>" | ||
else | else | ||
print = error | print = error | ||
end | end | ||
elseif mode3 == "3ds" then | elseif mode3 == "3ds" then | ||
− | if mode4 == " | + | if mode4 == "nolink" then |
print = "<small>''Smash 3DS''</small>" | print = "<small>''Smash 3DS''</small>" | ||
− | |||
− | |||
− | |||
− | |||
elseif isEmpty(mode4) then | elseif isEmpty(mode4) then | ||
− | print = "<small>''Super Smash Bros. for Nintendo 3DS''</small>" | + | print = "<small>''[[Super Smash Bros. for Nintendo 3DS and Wii U|Smash 3DS]]''</small>" |
else | else | ||
print = error | print = error | ||
end | end | ||
elseif mode3 == "wiiu" then | elseif mode3 == "wiiu" then | ||
− | if mode4 == " | + | if mode4 == "nolink" then |
print = "<small>''Smash Wii U''</small>" | print = "<small>''Smash Wii U''</small>" | ||
− | |||
− | |||
− | |||
− | |||
elseif isEmpty(mode4) then | elseif isEmpty(mode4) then | ||
− | print = "<small>''Super Smash Bros. for Wii U''</small>" | + | print = "<small>''[[Super Smash Bros. for Nintendo 3DS and Wii U|Smash Wii U]]''</small>" |
else | else | ||
print = error | print = error | ||
end | end | ||
elseif mode3 == "3dswiiu" or mode3 == "wiiu3ds" then | elseif mode3 == "3dswiiu" or mode3 == "wiiu3ds" then | ||
− | if mode4 == " | + | if mode4 == "nolink" then |
print = "<small>''Smash 3DS / Wii U''</small>" | print = "<small>''Smash 3DS / Wii U''</small>" | ||
− | |||
− | |||
− | |||
− | |||
elseif isEmpty(mode4) then | elseif isEmpty(mode4) then | ||
− | print = "<small>''Super Smash Bros. for Nintendo 3DS / Wii U''</small>" | + | print = "<small>''[[Super Smash Bros. for Nintendo 3DS and Wii U|Smash 3DS / Wii U]]''</small>" |
else | else | ||
print = error | print = error | ||
end | end | ||
elseif isEmpty(mode3) then | elseif isEmpty(mode3) then | ||
− | print = "<small>''Super Smash Bros. 4''</small>" | + | print = "<small>''[[Super Smash Bros. for Nintendo 3DS and Wii U|Smash 4]]''</small>" |
else | else | ||
print = error | print = error | ||
end | end | ||
− | elseif mode2 == " | + | elseif mode2 == "shorter" then |
if mode3 == "nolink" then | if mode3 == "nolink" then | ||
if mode4 == "3ds" then | if mode4 == "3ds" then | ||
− | print = "<small> | + | print = "<small>SSB:3DS</small>" |
elseif mode4 == "wiiu" then | elseif mode4 == "wiiu" then | ||
− | print = "<small> | + | print = "<small>SSB:Wii U</small>" |
elseif mode4 == "3dswiiu" or mode4 == "wiiu3ds" then | elseif mode4 == "3dswiiu" or mode4 == "wiiu3ds" then | ||
− | print = "<small> | + | print = "<small>SSB:3DS/Wii U</small>" |
elseif isEmpty(mode4) then | elseif isEmpty(mode4) then | ||
− | print = "<small> | + | print = "<small>SSB4</small>" |
else | else | ||
print = error | print = error | ||
Line 800: | Line 968: | ||
elseif mode3 == "3ds" then | elseif mode3 == "3ds" then | ||
if mode4 == "nolink" then | if mode4 == "nolink" then | ||
− | print = "<small> | + | print = "<small>SSB:3DS</small>" |
elseif isEmpty(mode4) then | elseif isEmpty(mode4) then | ||
− | print = "<small> | + | print = "<small>[[Super Smash Bros. for Nintendo 3DS and Wii U|SSB:3DS]]</small>" |
else | else | ||
print = error | print = error | ||
Line 808: | Line 976: | ||
elseif mode3 == "wiiu" then | elseif mode3 == "wiiu" then | ||
if mode4 == "nolink" then | if mode4 == "nolink" then | ||
− | print = "<small> | + | print = "<small>SSB:Wii U</small>" |
elseif isEmpty(mode4) then | elseif isEmpty(mode4) then | ||
− | print = "<small> | + | print = "<small>[[Super Smash Bros. for Nintendo 3DS and Wii U|SSB:Wii U]]</small>" |
else | else | ||
print = error | print = error | ||
Line 816: | Line 984: | ||
elseif mode3 == "3dswiiu" or mode3 == "wiiu3ds" then | elseif mode3 == "3dswiiu" or mode3 == "wiiu3ds" then | ||
if mode4 == "nolink" then | if mode4 == "nolink" then | ||
− | print = "<small> | + | print = "<small>SSB:3DS/Wii U</small>" |
elseif isEmpty(mode4) then | elseif isEmpty(mode4) then | ||
− | print = "<small> | + | print = "<small>[[Super Smash Bros. for Nintendo 3DS and Wii U|SSB:3DS/Wii U]]</small>" |
else | else | ||
print = error | print = error | ||
end | end | ||
elseif isEmpty(mode3) then | elseif isEmpty(mode3) then | ||
− | print = "<small> | + | print = "<small>[[Super Smash Bros. for Nintendo 3DS and Wii U|SSB4]]</small>" |
else | else | ||
print = error | print = error | ||
end | end | ||
− | elseif mode2 == " | + | elseif mode2 == "shortest" then |
if mode3 == "nolink" then | if mode3 == "nolink" then | ||
if mode4 == "3ds" then | if mode4 == "3ds" then | ||
Line 869: | Line 1,037: | ||
print = error | print = error | ||
end | end | ||
− | elseif mode2 == " | + | elseif mode2 == "3ds" then |
if mode3 == "nolink" then | if mode3 == "nolink" then | ||
− | if mode4 == " | + | if mode4 == "short" then |
+ | print = "<small>''Smash 3DS''</small>" | ||
+ | elseif mode4 == "shorter" then | ||
+ | print = "<small>SSB:3DS</small>" | ||
+ | elseif mode4 == "shortest" then | ||
print = "<small>SSB:3DS</small>" | print = "<small>SSB:3DS</small>" | ||
− | |||
− | |||
− | |||
− | |||
elseif isEmpty(mode4) then | elseif isEmpty(mode4) then | ||
− | print = "<small> | + | print = "<small>''Super Smash Bros. for Nintendo 3DS''</small>" |
else | else | ||
print = error | print = error | ||
end | end | ||
− | elseif mode3 == " | + | elseif mode3 == "short" then |
if mode4 == "nolink" then | if mode4 == "nolink" then | ||
− | print = "<small> | + | print = "<small>''Smash 3DS''</small>" |
elseif isEmpty(mode4) then | elseif isEmpty(mode4) then | ||
− | print = "<small>[[Super Smash Bros. for Nintendo 3DS and Wii U| | + | print = "<small>''[[Super Smash Bros. for Nintendo 3DS and Wii U|Smash 3DS]]''</small>" |
else | else | ||
print = error | print = error | ||
end | end | ||
− | elseif mode3 == " | + | elseif mode3 == "shorter" then |
if mode4 == "nolink" then | if mode4 == "nolink" then | ||
− | print = "<small>SSB: | + | print = "<small>SSB:3DS</small>" |
elseif isEmpty(mode4) then | elseif isEmpty(mode4) then | ||
− | print = "<small>[[Super Smash Bros. for Nintendo 3DS and Wii U|SSB: | + | print = "<small>[[Super Smash Bros. for Nintendo 3DS and Wii U|SSB:3DS]]</small>" |
else | else | ||
print = error | print = error | ||
end | end | ||
− | elseif mode3 == " | + | elseif mode3 == "shortest" then |
if mode4 == "nolink" then | if mode4 == "nolink" then | ||
− | print = "<small>SSB:3DS | + | print = "<small>SSB:3DS</small>" |
elseif isEmpty(mode4) then | elseif isEmpty(mode4) then | ||
− | print = "<small>[[Super Smash Bros. for Nintendo 3DS and Wii U|SSB:3DS | + | print = "<small>[[Super Smash Bros. for Nintendo 3DS and Wii U|SSB:3DS]]</small>" |
else | else | ||
print = error | print = error | ||
end | end | ||
elseif isEmpty(mode3) then | elseif isEmpty(mode3) then | ||
− | print = "<small>[[Super Smash Bros. for Nintendo 3DS and Wii U| | + | print = "<small>''[[Super Smash Bros. for Nintendo 3DS and Wii U|Super Smash Bros. for Nintendo 3DS]]''</small>" |
else | else | ||
print = error | print = error | ||
end | end | ||
− | elseif mode2 == " | + | elseif mode2 == "wiiu" then |
if mode3 == "nolink" then | if mode3 == "nolink" then | ||
if mode4 == "short" then | if mode4 == "short" then | ||
− | print = "<small>''Smash | + | print = "<small>''Smash Wii U''</small>" |
elseif mode4 == "shorter" then | elseif mode4 == "shorter" then | ||
− | print = "<small>SSB: | + | print = "<small>SSB:Wii U</small>" |
elseif mode4 == "shortest" then | elseif mode4 == "shortest" then | ||
− | print = "<small>SSB: | + | print = "<small>SSB:Wii U</small>" |
elseif isEmpty(mode4) then | elseif isEmpty(mode4) then | ||
− | print = "<small>''Super Smash Bros. for | + | print = "<small>''Super Smash Bros. for Wii U''</small>" |
else | else | ||
print = error | print = error | ||
Line 926: | Line 1,094: | ||
elseif mode3 == "short" then | elseif mode3 == "short" then | ||
if mode4 == "nolink" then | if mode4 == "nolink" then | ||
− | print = "<small>''Smash | + | print = "<small>''Smash Wii U''</small>" |
elseif isEmpty(mode4) then | elseif isEmpty(mode4) then | ||
− | print = "<small>''[[Super Smash Bros. for Nintendo 3DS and Wii U|Smash | + | print = "<small>''[[Super Smash Bros. for Nintendo 3DS and Wii U|Smash Wii U]]''</small>" |
else | else | ||
print = error | print = error | ||
Line 934: | Line 1,102: | ||
elseif mode3 == "shorter" then | elseif mode3 == "shorter" then | ||
if mode4 == "nolink" then | if mode4 == "nolink" then | ||
− | print = "<small>SSB: | + | print = "<small>SSB:Wii U</small>" |
elseif isEmpty(mode4) then | elseif isEmpty(mode4) then | ||
− | print = "<small>[[Super Smash Bros. for Nintendo 3DS and Wii U|SSB: | + | print = "<small>[[Super Smash Bros. for Nintendo 3DS and Wii U|SSB:Wii U]]</small>" |
else | else | ||
print = error | print = error | ||
Line 942: | Line 1,110: | ||
elseif mode3 == "shortest" then | elseif mode3 == "shortest" then | ||
if mode4 == "nolink" then | if mode4 == "nolink" then | ||
− | print = "<small>SSB: | + | print = "<small>SSB:Wii U</small>" |
elseif isEmpty(mode4) then | elseif isEmpty(mode4) then | ||
− | print = "<small>[[Super Smash Bros. for Nintendo 3DS and Wii U|SSB: | + | print = "<small>[[Super Smash Bros. for Nintendo 3DS and Wii U|SSB:Wii U]]</small>" |
else | else | ||
print = error | print = error | ||
end | end | ||
elseif isEmpty(mode3) then | elseif isEmpty(mode3) then | ||
− | print = "<small>''[[Super Smash Bros. for Nintendo 3DS and Wii U|Super Smash Bros. for | + | print = "<small>''[[Super Smash Bros. for Nintendo 3DS and Wii U|Super Smash Bros. for Wii U]]''</small>" |
else | else | ||
print = error | print = error | ||
end | end | ||
− | elseif mode2 == " | + | elseif mode2 == "3dswiiu" or mode2 == "wiiu3ds" then |
if mode3 == "nolink" then | if mode3 == "nolink" then | ||
if mode4 == "short" then | if mode4 == "short" then | ||
− | print = "<small>''Smash Wii U''</small>" | + | print = "<small>''Smash 3DS / Wii U''</small>" |
elseif mode4 == "shorter" then | elseif mode4 == "shorter" then | ||
− | print = "<small>SSB:Wii U</small>" | + | print = "<small>SSB:3DS/Wii U</small>" |
elseif mode4 == "shortest" then | elseif mode4 == "shortest" then | ||
− | print = "<small>SSB:Wii U</small>" | + | print = "<small>SSB:3DS/Wii U</small>" |
elseif isEmpty(mode4) then | elseif isEmpty(mode4) then | ||
− | print = "<small>''Super Smash Bros. for Wii U''</small>" | + | print = "<small>''Super Smash Bros. for Nintendo 3DS / Wii U''</small>" |
else | else | ||
print = error | print = error | ||
Line 968: | Line 1,136: | ||
elseif mode3 == "short" then | elseif mode3 == "short" then | ||
if mode4 == "nolink" then | if mode4 == "nolink" then | ||
− | print = "<small>''Smash Wii U''</small>" | + | print = "<small>''Smash 3DS / Wii U''</small>" |
elseif isEmpty(mode4) then | elseif isEmpty(mode4) then | ||
− | print = "<small>''[[Super Smash Bros. for Nintendo 3DS and Wii U|Smash Wii U]]''</small>" | + | print = "<small>''[[Super Smash Bros. for Nintendo 3DS and Wii U|Smash 3DS / Wii U]]''</small>" |
else | else | ||
print = error | print = error | ||
Line 976: | Line 1,144: | ||
elseif mode3 == "shorter" then | elseif mode3 == "shorter" then | ||
if mode4 == "nolink" then | if mode4 == "nolink" then | ||
− | print = "<small>SSB:Wii U</small>" | + | print = "<small>SSB:3DS/Wii U</small>" |
elseif isEmpty(mode4) then | elseif isEmpty(mode4) then | ||
− | print = "<small>[[Super Smash Bros. for Nintendo 3DS and Wii U|SSB:Wii U]]</small>" | + | print = "<small>[[Super Smash Bros. for Nintendo 3DS and Wii U|SSB:3DS/Wii U]]</small>" |
else | else | ||
print = error | print = error | ||
Line 984: | Line 1,152: | ||
elseif mode3 == "shortest" then | elseif mode3 == "shortest" then | ||
if mode4 == "nolink" then | if mode4 == "nolink" then | ||
− | print = "<small>SSB:Wii U</small>" | + | print = "<small>SSB:3DS/Wii U</small>" |
elseif isEmpty(mode4) then | elseif isEmpty(mode4) then | ||
− | print = "<small>[[Super Smash Bros. for Nintendo 3DS and Wii U|SSB:Wii U]]</small>" | + | print = "<small>[[Super Smash Bros. for Nintendo 3DS and Wii U|SSB:3DS/Wii U]]</small>" |
else | else | ||
print = error | print = error | ||
end | end | ||
elseif isEmpty(mode3) then | elseif isEmpty(mode3) then | ||
− | print = "<small>''[[Super Smash Bros. for Nintendo 3DS and Wii U|Super Smash Bros. for Wii U]]''</small>" | + | print = "<small>''[[Super Smash Bros. for Nintendo 3DS and Wii U|Super Smash Bros. for Nintendo 3DS / Wii U]]''</small>" |
else | else | ||
print = error | print = error | ||
end | end | ||
− | elseif mode2 == " | + | elseif isEmpty(mode2) then |
− | if mode3 == " | + | print = "<small>''[[Super Smash Bros. for Nintendo 3DS and Wii U|Smash Smash Bros. 4]]''</small>" |
+ | else | ||
+ | print = error | ||
+ | end | ||
+ | elseif mode1 == "3ds" then | ||
+ | if mode2 == "nolink" then | ||
+ | if mode3 == "sm" then | ||
if mode4 == "short" then | if mode4 == "short" then | ||
− | print = "<small> | + | print = "<small>Smash 3DS</small>" |
elseif mode4 == "shorter" then | elseif mode4 == "shorter" then | ||
− | print = "<small>SSB:3DS | + | print = "<small>SSB:3DS</small>" |
elseif mode4 == "shortest" then | elseif mode4 == "shortest" then | ||
− | print = "<small>SSB:3DS | + | print = "<small>SSB:3DS</small>" |
elseif isEmpty(mode4) then | elseif isEmpty(mode4) then | ||
− | print = "<small>''Super Smash Bros. for Nintendo 3DS | + | print = "<small>''Super Smash Bros. for Nintendo 3DS''</small>" |
else | else | ||
print = error | print = error | ||
end | end | ||
elseif mode3 == "short" then | elseif mode3 == "short" then | ||
− | if mode4 == " | + | if mode4 == "sm" then |
− | print = "<small> | + | print = "<small>Smash 3DS</small>" |
elseif isEmpty(mode4) then | elseif isEmpty(mode4) then | ||
− | print = " | + | print = "Smash 3DS" |
else | else | ||
print = error | print = error | ||
end | end | ||
elseif mode3 == "shorter" then | elseif mode3 == "shorter" then | ||
− | if mode4 == " | + | if mode4 == "sm" then |
− | print = "<small>SSB:3DS | + | print = "<small>SSB:3DS</small>" |
elseif isEmpty(mode4) then | elseif isEmpty(mode4) then | ||
− | print = " | + | print = "SSB:3DS" |
else | else | ||
print = error | print = error | ||
end | end | ||
elseif mode3 == "shortest" then | elseif mode3 == "shortest" then | ||
− | if mode4 == " | + | if mode4 == "sm" then |
− | print = "<small>SSB:3DS | + | print = "<small>SSB:3DS</small>" |
elseif isEmpty(mode4) then | elseif isEmpty(mode4) then | ||
− | print = " | + | print = "SSB:3DS" |
else | else | ||
print = error | print = error | ||
end | end | ||
elseif isEmpty(mode3) then | elseif isEmpty(mode3) then | ||
− | print = " | + | print = "''Super Smash Bros. for Nintendo 3DS''" |
else | else | ||
print = error | print = error | ||
end | end | ||
− | elseif | + | elseif mode2 == "short" then |
− | + | if mode3 == "nolink" then | |
− | + | if mode4 == "sm" then | |
− | + | print = "<small>''Smash 3DS''</small>" | |
− | |||
− | |||
− | |||
− | if mode3 == " | ||
− | if mode4 == " | ||
− | print = "<small>Smash 3DS | ||
− | |||
− | |||
− | |||
− | |||
elseif isEmpty(mode4) then | elseif isEmpty(mode4) then | ||
− | print = " | + | print = "''Smash 3DS''" |
else | else | ||
print = error | print = error | ||
end | end | ||
− | + | elseif mode3 == "sm" then | |
− | + | if mode4 == "nolink" then | |
− | + | print = "<small>''Smash 3DS''</small>" | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | elseif mode3 == "sm" then | ||
− | if mode4 == "nolink" then | ||
− | print = "<small>''Smash 3DS''</small>" | ||
elseif isEmpty(mode4) then | elseif isEmpty(mode4) then | ||
print = "<small>''[[Super Smash Bros. for Nintendo 3DS and Wii U|Smash 3DS]]''</small>" | print = "<small>''[[Super Smash Bros. for Nintendo 3DS and Wii U|Smash 3DS]]''</small>" | ||
Line 1,102: | Line 1,229: | ||
end | end | ||
elseif isEmpty(mode3) then | elseif isEmpty(mode3) then | ||
− | print = "''Super Smash Bros. for Nintendo 3DS''" | + | print = "''[[Super Smash Bros. for Nintendo 3DS and Wii U|Smash 3DS]]''" |
else | else | ||
print = error | print = error | ||
Line 1,124: | Line 1,251: | ||
end | end | ||
elseif isEmpty(mode3) then | elseif isEmpty(mode3) then | ||
+ | print = "[[Super Smash Bros. for Nintendo 3DS and Wii U|SSB:3DS]]" | ||
else | else | ||
print = error | print = error | ||
Line 1,145: | Line 1,273: | ||
end | end | ||
elseif isEmpty(mode3) then | elseif isEmpty(mode3) then | ||
+ | print = "[[Super Smash Bros. for Nintendo 3DS and Wii U|SSB:3DS]]" | ||
else | else | ||
print = error | print = error | ||
Line 1,233: | Line 1,362: | ||
print = error | print = error | ||
end | end | ||
− | elseif isEmpty( | + | elseif isEmpty(mode3) then |
+ | print = "''Super Smash Bros. for Wii U''" | ||
else | else | ||
print = error | print = error | ||
Line 1,255: | Line 1,385: | ||
end | end | ||
elseif isEmpty(mode3) then | elseif isEmpty(mode3) then | ||
− | print = "''Super Smash Bros. for Wii U''" | + | print = "''[[Super Smash Bros. for Nintendo 3DS and Wii U|Smash Wii U]]''" |
else | else | ||
print = error | print = error | ||
Line 1,277: | Line 1,407: | ||
end | end | ||
elseif isEmpty(mode3) then | elseif isEmpty(mode3) then | ||
+ | print = "[[Super Smash Bros. for Nintendo 3DS and Wii U|SSB:Wii U]]" | ||
else | else | ||
print = error | print = error | ||
Line 1,298: | Line 1,429: | ||
end | end | ||
elseif isEmpty(mode3) then | elseif isEmpty(mode3) then | ||
+ | print = "[[Super Smash Bros. for Nintendo 3DS and Wii U|SSB:Wii U]]" | ||
else | else | ||
print = error | print = error | ||
Line 1,352: | Line 1,484: | ||
if mode3 == "sm" then | if mode3 == "sm" then | ||
if mode4 == "short" then | if mode4 == "short" then | ||
− | print = "<small>Smash 3DS / Wii U</small>" | + | print = "<small>''Smash 3DS / Wii U''</small>" |
elseif mode4 == "shorter" then | elseif mode4 == "shorter" then | ||
print = "<small>SSB:3DS/Wii U</small>" | print = "<small>SSB:3DS/Wii U</small>" | ||
Line 1,364: | Line 1,496: | ||
elseif mode3 == "short" then | elseif mode3 == "short" then | ||
if mode4 == "sm" then | if mode4 == "sm" then | ||
− | print = "<small>Smash 3DS / Wii U</small>" | + | print = "<small>''Smash 3DS / Wii U''</small>" |
elseif isEmpty(mode4) then | elseif isEmpty(mode4) then | ||
print = "Smash 3DS / Wii U" | print = "Smash 3DS / Wii U" | ||
Line 1,386: | Line 1,518: | ||
print = error | print = error | ||
end | end | ||
− | elseif isEmpty( | + | elseif isEmpty(mode3) then |
+ | print = "''Super Smash Bros. for Nintendo 3DS / Wii U''" | ||
else | else | ||
print = error | print = error | ||
Line 1,408: | Line 1,541: | ||
end | end | ||
elseif isEmpty(mode3) then | elseif isEmpty(mode3) then | ||
− | print = "''Super Smash Bros. for Nintendo 3DS / Wii U''" | + | print = "''[[Super Smash Bros. for Nintendo 3DS and Wii U|Smash 3DS / Wii U]]''" |
else | else | ||
print = error | print = error | ||
Line 1,430: | Line 1,563: | ||
end | end | ||
elseif isEmpty(mode3) then | elseif isEmpty(mode3) then | ||
+ | print = "[[Super Smash Bros. for Nintendo 3DS and Wii U|SSB:3DS/Wii U]]" | ||
else | else | ||
print = error | print = error | ||
Line 1,451: | Line 1,585: | ||
end | end | ||
elseif isEmpty(mode3) then | elseif isEmpty(mode3) then | ||
+ | print = "[[Super Smash Bros. for Nintendo 3DS and Wii U|SSB:3DS/Wii U]]" | ||
else | else | ||
print = error | print = error | ||
Line 1,501: | Line 1,636: | ||
print = error | print = error | ||
end | end | ||
− | |||
− | |||
− | |||
− | |||
end | end | ||
+ | elseif isEmpty(mode1) then | ||
+ | print = "''[[Super Smash Bros. for Nintendo 3DS and Wii U|Super Smash Bros. 4]]''" | ||
+ | else | ||
+ | print = error | ||
end | end | ||
return print | return print |
Latest revision as of 00:28, April 13, 2024
Module documentation (view)
Usage
This module is used to display the link of Super Smash Bros. 4 in various different ways. It is then transcluded through {{SSB4}} where the editor can switch how they display the link under different conditions.
Unlike Module:MediumLink, the user cannot declare what values to set as the medium
, short
, shorter
, or shortest
parameter, nor the optional link
parameter. This is because this module also adds the ability to set what version of Super Smash Bros 4. the editor wishes to see, such as "3ds" for Super Smash Bros. for Nintendo 3DS, "wiiu" for Super Smash Bros. for Wii U and "3dswiiu/wiiu3ds" for Super Smash Bros. for Nintendo 3DS / Wii U
local p = {}
local function getArgs(frame)
local args = {}
for key, value in pairs(frame:getParent().args) do
args[key] = value
end
for key, value in pairs(frame.args) do
args[key] = value
end
return args
end
function p.main(frame)
local args = getArgs(frame)
local mode1 = args[1] or args.mode1 or ''
local mode2 = args[2] or args.mode2 or ''
local mode3 = args[3] or args.mode3 or ''
local mode4 = args[4] or args.mode4 or ''
return p.outputSSB4Link(mode1, mode2, mode3, mode4)
end
function p.outputSSB4Link(mode1, mode2, mode3, mode4)
local function isEmpty(s)
return s == nil or s == ''
end
local print = ''
local error = '\'\'\'<span class="error" dir="ltr" lang="en">Invalid parameters detected! Did you enter the wrong parameters?</span>\'\'\'[[Category:Pages with incorrect usage of link template]]'
if not isEmpty(mode1) then
if mode1 == "nolink" then
if not mode2 == "short" then
if mode3 == "sm" then
if mode4 == "3ds" then
print = "<small>''Smash 3DS''</small>"
elseif mode4 == "wiiu" then
print = "<small>''Smash Wii U''</small>"
elseif mode4 == "3dswiiu" or mode4 == "wiiu3ds" then
print = "<small>''Smash 3DS / Wii U''</small>"
elseif isEmpty(mode4) then
print = "<small>''Smash 4''</small>"
else
print = error
end
elseif mode3 == "3ds" then
if mode4 == "sm" then
print = "<small>''Smash 3DS''</small>"
elseif isEmpty(mode4) then
print = "''Smash 3DS''"
else
print = error
end
elseif mode3 == "wiiu" then
if mode4 == "sm" then
print = "<small>''Smash Wii U''</small>"
elseif isEmpty(mode4) then
print = "''Smash Wii U''"
else
print = error
end
elseif mode3 == "3dswiiu" or mode4 == "wiiu3ds" then
if mode4 == "sm" then
print = "<small>''Smash 3DS / Wii U''</small>"
elseif isEmpty(mode4) then
print = "''Smash 3DS / Wii U''"
else
print = error
end
elseif isEmpty(mode3) then
print = "''Smash 4''"
else
print = error
end
elseif mode2 == "shorter" then
if mode3 == "sm" then
if mode4 == "3ds" then
print = "<small>SSB:3DS</small>"
elseif mode4 == "wiiu" then
print = "<small>SSB:Wii U</small>"
elseif mode4 == "3dswiiu" or mode4 == "wiiu3ds" then
print = "<small>SSB:3DS/Wii U</small>"
elseif isEmpty(mode4) then
print = "<small>SSB4</small>"
else
print = error
end
elseif mode3 == "3ds" then
if mode4 == "sm" then
print = "<small>SSB:3DS</small>"
elseif isEmpty(mode4) then
print = "SSB:3DS"
else
print = error
end
elseif mode3 == "wiiu" then
if mode4 == "sm" then
print = "<small>SSB:Wii U</small>"
elseif isEmpty(mode4) then
print = "SSB:Wii U"
else
print = error
end
elseif mode3 == "3dswiiu" or mode4 == "wiiu3ds" then
if mode4 == "sm" then
print = "<small>SSB:3DS/Wii U</small>"
elseif isEmpty(mode4) then
print = "SSB:3DS/Wii U"
else
print = error
end
elseif isEmpty(mode3) then
print = "SSB4"
else
print = error
end
elseif mode2 == "shortest" then
if mode3 == "sm" then
if mode4 == "3ds" then
print = "<small>SSB:3DS</small>"
elseif mode4 == "wiiu" then
print = "<small>SSB:Wii U</small>"
elseif mode4 == "3dswiiu" or mode4 == "wiiu3ds" then
print = "<small>SSB:3DS/Wii U</small>"
elseif isEmpty(mode4) then
print = "<small>SSB4</small>"
else
print = error
end
elseif mode3 == "3ds" then
if mode4 == "sm" then
print = "<small>SSB:3DS</small>"
elseif isEmpty(mode4) then
print = "SSB:3DS"
else
print = error
end
elseif mode3 == "wiiu" then
if mode4 == "sm" then
print = "<small>SSB:Wii U</small>"
elseif isEmpty(mode4) then
print = "SSB:Wii U"
else
print = error
end
elseif mode3 == "3dswiiu" or mode4 == "wiiu3ds" then
if mode4 == "sm" then
print = "<small>SSB:3DS/Wii U</small>"
elseif isEmpty(mode4) then
print = "SSB:3DS/Wii U"
else
print = error
end
elseif isEmpty(mode3) then
print = "SSB4"
else
print = error
end
elseif mode2 == "sm" then
if not mode3 == "short" then
if mode4 == "3ds" then
print = "<small>''Smash 3DS''</small>"
elseif mode4 == "wiiu" then
print = "<small>''Smash Wii U''</small>"
elseif mode4 == "3dswiiu" or mode4 == "wiiu3ds" then
print = "<small>''Smash 3DS / Wii U'</small>"
elseif isEmpty(mode4) then
print = "<small>''Smash 4''</small>"
else
print = error
end
elseif mode3 == "shorter" then
if mode4 == "3ds" then
print = "<small>SSB:3DS</small>"
elseif mode4 == "wiiu" then
print = "<small>SSB:Wii U</small>"
elseif mode4 == "3dswiiu" or mode4 == "wiiu3ds" then
print = "<small>SSB:3DS/Wii U</small>"
elseif isEmpty(mode4) then
print = "<small>SSB4</small>"
else
print = error
end
elseif mode3 == "shortest" then
if mode4 == "3ds" then
print = "<small>SSB:3DS</small>"
elseif mode4 == "wiiu" then
print = "<small>SSB:Wii U</small>"
elseif mode4 == "3dswiiu" or mode4 == "wiiu3ds" then
print = "<small>SSB:3DS/Wii U</small>"
elseif isEmpty(mode4) then
print = "<small>SSB4</small>"
else
print = error
end
elseif mode3 == "3ds" then
if mode4 == "short" then
print = "<small>''Smash 3DS''</small>"
elseif mode4 == "shorter" then
print = "<small>SSB:3DS</small>"
elseif mode4 == "shortest" then
print = "<small>SSB:3DS</small>"
elseif isEmpty(mode4) then
print = "<small>''Super Smash Bros. for Nintendo 3DS''</small>"
else
print = error
end
elseif mode3 == "wiiu" then
if mode4 == "short" then
print = "<small>''Smash Wii U''</small>"
elseif mode4 == "shorter" then
print = "<small>SSB:Wii U</small>"
elseif mode4 == "shortest" then
print = "<small>SSB:Wii U</small>"
elseif isEmpty(mode4) then
print = "<small>''Super Smash Bros. for Wii U''</small>"
else
print = error
end
elseif mode3 == "3dswiiu" or mode3 == "wiiu3ds" then
if mode4 == "short" then
print = "<small>''Smash 3DS / Wii U''</small>"
elseif mode4 == "shorter" then
print = "<small>SSB:3DS/Wii U</small>"
elseif mode4 == "shortest" then
print = "<small>SSB:3DS/Wii U</small>"
elseif isEmpty(mode4) then
print = "<small>''Super Smash Bros. for Nintendo 3DS / Wii U''</small>"
else
print = error
end
elseif isEmpty(mode3) then
print = "<small>''Super Smash Bros. 4''</small>"
else
print = error
end
elseif mode2 == "3ds" then
if mode3 == "sm" then
if mode4 == "short" then
print = "<small>''Smash 3DS''</small>"
elseif mode4 == "shorter" then
print = "<small>SSB:3DS</small>"
elseif mode4 == "shortest" then
print = "<small>SSB:3DS</small>"
elseif isEmpty(mode4) then
print = "<small>''Super Smash Bros. for Nintendo 3DS''</small>"
else
print = error
end
elseif mode3 == "short" then
if mode4 == "sm" then
print = "<small>''Smash 3DS''</small>"
elseif isEmpty(mode4) then
print = "''Smash 3DS''"
else
print = error
end
elseif mode3 == "shorter" then
if mode4 == "sm" then
print = "<small>SSB:3DS</small>"
elseif isEmpty(mode4) then
print = "SSB:3DS"
else
print = error
end
elseif mode3 == "shortest" then
if mode4 == "sm" then
print = "<small>SSB:3DS</small>"
elseif isEmpty(mode4) then
print = "SSB:3DS"
else
print = error
end
elseif isEmpty(mode3) then
print = "''Super Smash Bros. for Nintendo 3DS''"
else
print = error
end
elseif mode2 == "wiiu" then
if mode3 == "sm" then
if mode4 == "short" then
print = "<small>''Smash Wii U''</small>"
elseif mode4 == "shorter" then
print = "<small>SSB:Wii U</small>"
elseif mode4 == "shortest" then
print = "<small>SSB:Wii U</small>"
elseif isEmpty(mode4) then
print = "<small>''Super Smash Bros. for Wii U''</small>"
else
print = error
end
elseif mode3 == "short" then
if mode4 == "sm" then
print = "<small>''Smash Wii U''</small>"
elseif isEmpty(mode4) then
print = "''Smash Wii U''"
else
print = error
end
elseif mode3 == "shorter" then
if mode4 == "sm" then
print = "<small>SSB:Wii U</small>"
elseif isEmpty(mode4) then
print = "SSB:Wii U"
else
print = error
end
elseif mode3 == "shortest" then
if mode4 == "sm" then
print = "<small>SSB:Wii U</small>"
elseif isEmpty(mode4) then
print = "SSB:Wii U"
else
print = error
end
elseif isEmpty(mode3) then
print = "''Super Smash Bros. for Wii U''"
else
print = error
end
elseif mode2 == "3dswiiu" or mode2 == "wiiu3ds" then
if mode3 == "sm" then
if mode4 == "short" then
print = "<small>''Smash 3DS / Wii U''</small>"
elseif mode4 == "shorter" then
print = "<small>SSB:3DS/Wii U</small>"
elseif mode4 == "shortest" then
print = "<small>SSB:3DS/Wii U</small>"
elseif isEmpty(mode4) then
print = "<small>''Super Smash Bros. for Nintendo 3DS / Wii U''</small>"
else
print = error
end
elseif mode3 == "short" then
if mode4 == "sm" then
print = "<small>''Smash 3DS / Wii U''</small>"
elseif isEmpty(mode4) then
print = "''Smash 3DS / Wii U''"
else
print = error
end
elseif mode3 == "shorter" then
if mode4 == "sm" then
print = "<small>SSB:3DS/Wii U</small>"
elseif isEmpty(mode4) then
print = "SSB:3DS/Wii U"
else
print = error
end
elseif mode3 == "shortest" then
if mode4 == "sm" then
print = "<small>SSB:3DS/Wii U</small>"
elseif isEmpty(mode4) then
print = "SSB:3DS/Wii U"
else
print = error
end
elseif isEmpty(mode3) then
print = "''Super Smash Bros. for Nintendo 3DS / Wii U''"
else
print = error
end
elseif isEmpty(mode2) then
print = "''Super Smash Bros. 4''"
else
print = error
end
elseif mode1 == "short" then
if mode2 == "nolink" then
if mode3 == "sm" then
if mode4 == "3ds" then
print = "<small>''Smash 3DS''</small>"
elseif mode4 == "wiiu" then
print = "<small>''Smash Wii U''</small>"
elseif mode4 == "3dswiiu" or mode4 == "wiiu3ds" then
print = "<small>''Smash 3DS / Wii U''</small>"
elseif isEmpty(mode4) then
print = "<small>''Smash 4''</small>"
else
print = error
end
elseif mode3 == "3ds" then
if mode4 == "sm" then
print = "<small>''Smash 3DS''</small>"
elseif isEmpty(mode4) then
print = "''Smash 3DS''"
else
print = error
end
elseif mode3 == "wiiu" then
if mode4 == "sm" then
print = "<small>''Smash Wii U''</small>"
elseif isEmpty(mode4) then
print = "''Smash Wii U''"
else
print = error
end
elseif mode3 == "3dswiiu" or mode3 == "wiiu3ds" then
if mode4 == "sm" then
print = "<small>''Smash 3DS / Wii U''</small>"
elseif isEmpty(mode4) then
print = "''Smash 3DS / Wii U''"
else
print = error
end
elseif isEmpty(mode3) then
print = "''Smash 4''"
else
print = error
end
elseif mode2 == "sm" then
if mode3 == "nolink" then
if mode4 == "3ds" then
print = "<small>''Smash 3DS''</small>"
elseif mode4 == "wiiu" then
print = "<small>''Smash Wii U''</small>"
elseif mode4 == "3dswiiu" or mode4 == "wiiu3ds" then
print = "<small>''Smash 3DS / Wii U''</small>"
elseif isEmpty(mode4) then
print = "<small>''Smash 4''</small>"
else
print = error
end
elseif mode3 == "3ds" then
if mode4 == "nolink" then
print = "<small>''Smash 3DS''</small>"
elseif isEmpty(mode4) then
print = "<small>''[[Super Smash Bros. for Nintendo 3DS and Wii U|Smash 3DS]]''</small>"
else
print = error
end
elseif mode3 == "wiiu" then
if mode4 == "nolink" then
print = "<small>''Smash Wii U''</small>"
elseif isEmpty(mode4) then
print = "<small>''[[Super Smash Bros. for Nintendo 3DS and Wii U|Smash Wii U]]''</small>"
else
print = error
end
elseif mode3 == "3dswiiu" or mode3 == "wiiu3ds" then
if mode4 == "nolink" then
print = "<small>''Smash 3DS / Wii U''</small>"
elseif isEmpty(mode4) then
print = "<small>''[[Super Smash Bros. for Nintendo 3DS and Wii U|Smash 3DS / Wii U]]''</small>"
else
print = error
end
elseif isEmpty(mode3) then
print = "<small>''[[Super Smash Bros. for Nintendo 3DS and Wii U|Smash 4]]''</small>"
else
print = error
end
elseif mode2 == "3ds" then
if mode3 == "nolink" then
if mode4 == "sm" then
print = "<small>''Smash 3DS''</small>"
elseif isEmpty(mode4) then
print = "''Smash 3DS''"
else
print = error
end
elseif mode3 == "sm" then
if mode4 == "nolink" then
print = "<small>''Smash 3DS''</small>"
elseif isEmpty(mode4) then
print = "<small>''[[Super Smash Bros. for Nintendo 3DS and Wii U|Smash 3DS]]''</small>"
else
print = error
end
elseif isEmpty(mode3) then
print = "''[[Super Smash Bros. for Nintendo 3DS and Wii U|Smash 3DS]]''"
else
print = error
end
elseif mode2 == "wiiu" then
if mode3 == "nolink" then
if mode4 == "sm" then
print = "<small>''Smash Wii U''</small>"
elseif isEmpty(mode4) then
print = "''Smash Wii U''"
else
print = error
end
elseif mode3 == "sm" then
if mode4 == "nolink" then
print = "<small>''Smash Wii U''</small>"
elseif isEmpty(mode4) then
print = "<small>''[[Super Smash Bros. for Nintendo 3DS and Wii U|Smash Wii U]]''</small>"
else
print = error
end
elseif isEmpty(mode3) then
print = "''[[Super Smash Bros. for Nintendo 3DS and Wii U|Smash Wii U]]''"
else
print = error
end
elseif mode2 == "3dswiiu" or mode2 == "wiiu3ds" then
if mode3 == "nolink" then
if mode4 == "sm" then
print = "<small>''Smash 3DS / Wii U''</small>"
elseif isEmpty(mode4) then
print = "''Smash 3DS / Wii U''"
else
print = error
end
elseif mode3 == "sm" then
if mode4 == "nolink" then
print = "<small>''Smash 3DS / Wii U''</small>"
elseif isEmpty(mode4) then
print = "<small>''[[Super Smash Bros. for Nintendo 3DS and Wii U|Smash 3DS / Wii U]]''</small>"
else
print = error
end
elseif isEmpty(mode3) then
print = "''[[Super Smash Bros. for Nintendo 3DS and Wii U|Smash 3DS / Wii U]]''"
else
print = error
end
elseif isEmpty(mode2) then
print = "''[[Super Smash Bros. for Nintendo 3DS and Wii U|Smash 4]]''"
else
print = error
end
elseif mode1 == "shorter" then
if mode2 == "nolink" then
if mode3 == "sm" then
if mode4 == "3ds" then
print = "<small>SSB:3DS</small>"
elseif mode4 == "wiiu" then
print = "<small>SSB:Wii U</small>"
elseif mode4 == "3dswiiu" or mode4 == "wiiu3ds" then
print = "<small>SSB:3DS/Wii U</small>"
elseif isEmpty(mode4) then
print = "<small>SSB4</small>"
else
print = error
end
elseif mode3 == "3ds" then
if mode4 == "sm" then
print = "<small>SSB:3DS</small>"
elseif isEmpty(mode4) then
print = "SSB:3DS"
else
print = error
end
elseif mode3 == "wiiu" then
if mode4 == "sm" then
print = "<small>SSB:Wii U</small>"
elseif isEmpty(mode4) then
print = "SSB:Wii U"
else
print = error
end
elseif mode3 == "3dswiiu" or mode3 == "wiiu3ds" then
if mode4 == "sm" then
print = "<small>SSB:3DS/Wii U</small>"
elseif isEmpty(mode4) then
print = "SSB:3DS/Wii U"
else
print = error
end
elseif isEmpty(mode3) then
print = "SSB4"
else
print = error
end
elseif mode2 == "sm" then
if mode3 == "nolink" then
if mode4 == "3ds" then
print = "<small>SSB:3DS</small>"
elseif mode4 == "wiiu" then
print = "<small>SSB:Wii U</small>"
elseif mode4 == "3dswiiu" or mode4 == "wiiu3ds" then
print = "<small>SSB:3DS/Wii U</small>"
elseif isEmpty(mode4) then
print = "<small>SSB4</small>"
else
print = error
end
elseif mode3 == "3ds" then
if mode4 == "nolink" then
print = "<small>SSB:3DS</small>"
elseif isEmpty(mode4) then
print = "<small>[[Super Smash Bros. for Nintendo 3DS and Wii U|SSB:3DS]]</small>"
else
print = error
end
elseif mode3 == "wiiu" then
if mode4 == "nolink" then
print = "<small>SSB:Wii U</small>"
elseif isEmpty(mode4) then
print = "<small>[[Super Smash Bros. for Nintendo 3DS and Wii U|SSB:Wii U]]</small>"
else
print = error
end
elseif mode3 == "3dswiiu" or mode3 == "wiiu3ds" then
if mode4 == "nolink" then
print = "<small>SSB:3DS/Wii U</small>"
elseif isEmpty(mode4) then
print = "<small>[[Super Smash Bros. for Nintendo 3DS and Wii U|SSB:3DS/Wii U]]</small>"
else
print = error
end
elseif isEmpty(mode3) then
print = "<small>[[Super Smash Bros. for Nintendo 3DS and Wii U|SSB4]]</small>"
else
print = error
end
elseif mode2 == "3ds" then
if mode3 == "nolink" then
if mode4 == "sm" then
print = "<small>SSB:3DS</small>"
elseif isEmpty(mode4) then
print = "SSB:3DS"
else
print = error
end
elseif mode3 == "sm" then
if mode4 == "nolink" then
print = "<small>SSB:3DS</small>"
elseif isEmpty(mode4) then
print = "<small>[[Super Smash Bros. for Nintendo 3DS and Wii U|SSB:3DS]]</small>"
else
print = error
end
elseif isEmpty(mode3) then
print = "[[Super Smash Bros. for Nintendo 3DS and Wii U|SSB:3DS]]"
else
print = error
end
elseif mode2 == "wiiu" then
if mode3 == "nolink" then
if mode4 == "sm" then
print = "<small>SSB:Wii U</small>"
elseif isEmpty(mode4) then
print = "SSB:Wii U"
else
print = error
end
elseif mode3 == "sm" then
if mode4 == "nolink" then
print = "<small>SSB:Wii U</small>"
elseif isEmpty(mode4) then
print = "<small>[[Super Smash Bros. for Nintendo 3DS and Wii U|SSB:Wii U]]</small>"
else
print = error
end
elseif isEmpty(mode3) then
print = "[[Super Smash Bros. for Nintendo 3DS and Wii U|SSB:Wii U]]"
else
print = error
end
elseif mode2 == "3dswiiu" or mode2 == "wiiu3ds" then
if mode3 == "nolink" then
if mode4 == "sm" then
print = "<small>SSB:3DS/Wii U</small>"
elseif isEmpty(mode4) then
print = "SSB:3DS/Wii U"
else
print = error
end
elseif mode3 == "sm" then
if mode4 == "nolink" then
print = "<small>SSB:3DS/Wii U</small>"
elseif isEmpty(mode4) then
print = "<small>[[Super Smash Bros. for Nintendo 3DS and Wii U|SSB:3DS/Wii U]]</small>"
else
print = error
end
elseif isEmpty(mode3) then
print = "[[Super Smash Bros. for Nintendo 3DS and Wii U|SSB:3DS/Wii U]]"
else
print = error
end
elseif isEmpty(mode2) then
print = "[[Super Smash Bros. for Nintendo 3DS and Wii U|SSB4]]"
else
print = error
end
elseif mode1 == "shortest" then
if mode2 == "nolink" then
if mode3 == "sm" then
if mode4 == "3ds" then
print = "<small>SSB:3DS</small>"
elseif mode4 == "wiiu" then
print = "<small>SSB:Wii U</small>"
elseif mode4 == "3dswiiu" or mode4 == "wiiu3ds" then
print = "<small>SSB:3DS/Wii U</small>"
elseif isEmpty(mode4) then
print = "<small>SSB4</small>"
else
print = error
end
elseif mode3 == "3ds" then
if mode4 == "sm" then
print = "<small>SSB:3DS</small>"
elseif isEmpty(mode4) then
print = "SSB:3DS"
else
print = error
end
elseif mode3 == "wiiu" then
if mode4 == "sm" then
print = "<small>SSB:Wii U</small>"
elseif isEmpty(mode4) then
print = "SSB:Wii U"
else
print = error
end
elseif mode3 == "3dswiiu" or mode3 == "wiiu3ds" then
if mode4 == "sm" then
print = "<small>SSB:3DS/Wii U</small>"
elseif isEmpty(mode4) then
print = "SSB:3DS/Wii U"
else
print = error
end
elseif isEmpty(mode3) then
print = "SSB4"
else
print = error
end
elseif mode2 == "sm" then
if mode3 == "nolink" then
if mode4 == "3ds" then
print = "<small>SSB:3DS</small>"
elseif mode4 == "wiiu" then
print = "<small>SSB:Wii U</small>"
elseif mode4 == "3dswiiu" or mode4 == "wiiu3ds" then
print = "<small>SSB:3DS/Wii U</small>"
elseif isEmpty(mode4) then
print = "<small>SSB4</small>"
else
print = error
end
elseif mode3 == "3ds" then
if mode4 == "nolink" then
print = "<small>SSB:3DS</small>"
elseif isEmpty(mode4) then
print = "<small>[[Super Smash Bros. for Nintendo 3DS and Wii U|SSB:3DS]]</small>"
else
print = error
end
elseif mode3 == "wiiu" then
if mode4 == "nolink" then
print = "<small>SSB:Wii U</small>"
elseif isEmpty(mode4) then
print = "<small>[[Super Smash Bros. for Nintendo 3DS and Wii U|SSB:Wii U]]</small>"
else
print = error
end
elseif mode3 == "3dswiiu" or mode3 == "wiiu3ds" then
if mode4 == "nolink" then
print = "<small>SSB:3DS/Wii U</small>"
elseif isEmpty(mode4) then
print = "<small>[[Super Smash Bros. for Nintendo 3DS and Wii U|SSB:3DS/Wii U]]</small>"
else
print = error
end
elseif isEmpty(mode3) then
print = "<small>[[Super Smash Bros. for Nintendo 3DS and Wii U|SSB4]]</small>"
else
print = error
end
elseif mode2 == "3ds" then
if mode3 == "nolink" then
if mode4 == "sm" then
print = "<small>SSB:3DS</small>"
elseif isEmpty(mode4) then
print = "SSB:3DS"
else
print = error
end
elseif mode3 == "sm" then
if mode4 == "nolink" then
print = "<small>SSB:3DS</small>"
elseif isEmpty(mode4) then
print = "<small>[[Super Smash Bros. for Nintendo 3DS and Wii U|SSB:3DS]]</small>"
else
print = error
end
elseif isEmpty(mode3) then
print = "[[Super Smash Bros. for Nintendo 3DS and Wii U|SSB:3DS]]"
else
print = error
end
elseif mode2 == "wiiu" then
if mode3 == "nolink" then
if mode4 == "sm" then
print = "<small>SSB:Wii U</small>"
elseif isEmpty(mode4) then
print = "SSB:Wii U"
else
print = error
end
elseif mode3 == "sm" then
if mode4 == "nolink" then
print = "<small>SSB:Wii U</small>"
elseif isEmpty(mode4) then
print = "<small>[[Super Smash Bros. for Nintendo 3DS and Wii U|SSB:Wii U]]</small>"
else
print = error
end
elseif isEmpty(mode3) then
print = "[[Super Smash Bros. for Nintendo 3DS and Wii U|SSB:Wii U]]"
else
print = error
end
elseif mode2 == "3dswiiu" or mode2 == "wiiu3ds" then
if mode3 == "nolink" then
if mode4 == "sm" then
print = "<small>SSB:3DS/Wii U</small>"
elseif isEmpty(mode4) then
print = "SSB:3DS/Wii U"
else
print = error
end
elseif mode3 == "sm" then
if mode4 == "nolink" then
print = "<small>SSB:3DS/Wii U</small>"
elseif isEmpty(mode4) then
print = "<small>[[Super Smash Bros. for Nintendo 3DS and Wii U|SSB:3DS/Wii U]]</small>"
else
print = error
end
elseif isEmpty(mode3) then
print = "[[Super Smash Bros. for Nintendo 3DS and Wii U|SSB:3DS/Wii U]]"
else
print = error
end
elseif isEmpty(mode2) then
print = "[[Super Smash Bros. for Nintendo 3DS and Wii U|SSB4]]"
else
print = error
end
elseif mode1 == "sm" then
if mode2 == "nolink" then
if mode3 == "short" then
if mode4 == "3ds" then
print = "<small>''Smash 3DS''</small>"
elseif mode4 == "wiiu" then
print = "<small>''Smash Wii U''</small>"
elseif mode4 == "3dswiiU" or mode4 == "wiiu3ds" then
print = "<small>''Smash 3DS / Wii U''</small>"
elseif isEmpty(mode4) then
print = "<small>''Smash 4''</small>"
else
print = error
end
elseif mode3 == "shorter" then
if mode4 == "3ds" then
print = "<small>SSB:3DS</small>"
elseif mode4 == "wiiu" then
print = "<small>SSB:Wii U</small>"
elseif mode4 == "3dswiiU" or mode4 == "wiiu3ds" then
print = "<small>SSB:3DS/Wii U</small>"
elseif isEmpty(mode4) then
print = "<small>SSB4</small>"
else
print = error
end
elseif mode3 == "shortest" then
if mode4 == "3ds" then
print = "<small>SSB:3DS</small>"
elseif mode4 == "wiiu" then
print = "<small>SSB:Wii U</small>"
elseif mode4 == "3dswiiu" or mode4 == "wiiu3ds" then
print = "<small>SSB:3DS/Wii U</small>"
elseif isEmpty(mode4) then
print = "<small>SSB4</small>"
else
print = error
end
elseif mode3 == "3ds" then
if mode4 == "short" then
print = "<small>''Smash 3DS''</small>"
elseif mode4 == "shorter" then
print = "<small>SSB:3DS</small>"
elseif mode4 == "shortest" then
print = "<small>SSB:3DS</small>"
elseif isEmpty(mode4) then
print = "<small>''Super Smash Bros. for Nintendo 3DS''</small>"
else
print = error
end
elseif mode3 == "wiiu" then
if mode4 == "short" then
print = "<small>''Smash Wii U''</small>"
elseif mode4 == "shorter" then
print = "<small>SSB:Wii U</small>"
elseif mode4 == "shortest" then
print = "<small>SSB:Wii U</small>"
elseif isEmpty(mode4) then
print = "<small>''Super Smash Bros. for Wii U''</small>"
else
print = error
end
elseif mode3 == "3dswiiu" or mode3 == "wiiu3ds" then
if mode4 == "short" then
print = "<small>''Smash 3DS / Wii U''</small>"
elseif mode4 == "shorter" then
print = "<small>SSB:3DS/Wii U</small>"
elseif mode4 == "shortest" then
print = "<small>SSB:3DS/Wii U</small>"
elseif isEmpty(mode4) then
print = "<small>''Super Smash Bros. for Nintendo 3DS / Wii U''</small>"
else
print = error
end
elseif isEmpty(mode3) then
print = "<small>''Super Smash Bros. 4''</small>"
else
print = error
end
elseif mode2 == "short" then
if mode3 == "nolink" then
if mode4 == "3ds" then
print = "<small>''Smash 3DS''</small>"
elseif mode4 == "wiiu" then
print = "<small>''Smash Wii U''</small>"
elseif mode4 == "3dswiiu" or mode4 == "wiiu3ds" then
print = "<small>''Smash 3DS / Wii U''</small>"
elseif isEmpty(mode4) then
print = "<small>''Smash 4''</small>"
else
print = error
end
elseif mode3 == "3ds" then
if mode4 == "nolink" then
print = "<small>''Smash 3DS''</small>"
elseif isEmpty(mode4) then
print = "<small>''[[Super Smash Bros. for Nintendo 3DS and Wii U|Smash 3DS]]''</small>"
else
print = error
end
elseif mode3 == "wiiu" then
if mode4 == "nolink" then
print = "<small>''Smash Wii U''</small>"
elseif isEmpty(mode4) then
print = "<small>''[[Super Smash Bros. for Nintendo 3DS and Wii U|Smash Wii U]]''</small>"
else
print = error
end
elseif mode3 == "3dswiiu" or mode3 == "wiiu3ds" then
if mode4 == "nolink" then
print = "<small>''Smash 3DS / Wii U''</small>"
elseif isEmpty(mode4) then
print = "<small>''[[Super Smash Bros. for Nintendo 3DS and Wii U|Smash 3DS / Wii U]]''</small>"
else
print = error
end
elseif isEmpty(mode3) then
print = "<small>''[[Super Smash Bros. for Nintendo 3DS and Wii U|Smash 4]]''</small>"
else
print = error
end
elseif mode2 == "shorter" then
if mode3 == "nolink" then
if mode4 == "3ds" then
print = "<small>SSB:3DS</small>"
elseif mode4 == "wiiu" then
print = "<small>SSB:Wii U</small>"
elseif mode4 == "3dswiiu" or mode4 == "wiiu3ds" then
print = "<small>SSB:3DS/Wii U</small>"
elseif isEmpty(mode4) then
print = "<small>SSB4</small>"
else
print = error
end
elseif mode3 == "3ds" then
if mode4 == "nolink" then
print = "<small>SSB:3DS</small>"
elseif isEmpty(mode4) then
print = "<small>[[Super Smash Bros. for Nintendo 3DS and Wii U|SSB:3DS]]</small>"
else
print = error
end
elseif mode3 == "wiiu" then
if mode4 == "nolink" then
print = "<small>SSB:Wii U</small>"
elseif isEmpty(mode4) then
print = "<small>[[Super Smash Bros. for Nintendo 3DS and Wii U|SSB:Wii U]]</small>"
else
print = error
end
elseif mode3 == "3dswiiu" or mode3 == "wiiu3ds" then
if mode4 == "nolink" then
print = "<small>SSB:3DS/Wii U</small>"
elseif isEmpty(mode4) then
print = "<small>[[Super Smash Bros. for Nintendo 3DS and Wii U|SSB:3DS/Wii U]]</small>"
else
print = error
end
elseif isEmpty(mode3) then
print = "<small>[[Super Smash Bros. for Nintendo 3DS and Wii U|SSB4]]</small>"
else
print = error
end
elseif mode2 == "shortest" then
if mode3 == "nolink" then
if mode4 == "3ds" then
print = "<small>SSB:3DS</small>"
elseif mode4 == "wiiu" then
print = "<small>SSB:Wii U</small>"
elseif mode4 == "3dswiiu" or mode4 == "wiiu3ds" then
print = "<small>SSB:3DS/Wii U</small>"
elseif isEmpty(mode4) then
print = "<small>SSB4</small>"
else
print = error
end
elseif mode3 == "3ds" then
if mode4 == "nolink" then
print = "<small>SSB:3DS</small>"
elseif isEmpty(mode4) then
print = "<small>[[Super Smash Bros. for Nintendo 3DS and Wii U|SSB:3DS]]</small>"
else
print = error
end
elseif mode3 == "wiiu" then
if mode4 == "nolink" then
print = "<small>SSB:Wii U</small>"
elseif isEmpty(mode4) then
print = "<small>[[Super Smash Bros. for Nintendo 3DS and Wii U|SSB:Wii U]]</small>"
else
print = error
end
elseif mode3 == "3dswiiu" or mode3 == "wiiu3ds" then
if mode4 == "nolink" then
print = "<small>SSB:3DS/Wii U</small>"
elseif isEmpty(mode4) then
print = "<small>[[Super Smash Bros. for Nintendo 3DS and Wii U|SSB:3DS/Wii U]]</small>"
else
print = error
end
elseif isEmpty(mode3) then
print = "<small>[[Super Smash Bros. for Nintendo 3DS and Wii U|SSB4]]</small>"
else
print = error
end
elseif mode2 == "3ds" then
if mode3 == "nolink" then
if mode4 == "short" then
print = "<small>''Smash 3DS''</small>"
elseif mode4 == "shorter" then
print = "<small>SSB:3DS</small>"
elseif mode4 == "shortest" then
print = "<small>SSB:3DS</small>"
elseif isEmpty(mode4) then
print = "<small>''Super Smash Bros. for Nintendo 3DS''</small>"
else
print = error
end
elseif mode3 == "short" then
if mode4 == "nolink" then
print = "<small>''Smash 3DS''</small>"
elseif isEmpty(mode4) then
print = "<small>''[[Super Smash Bros. for Nintendo 3DS and Wii U|Smash 3DS]]''</small>"
else
print = error
end
elseif mode3 == "shorter" then
if mode4 == "nolink" then
print = "<small>SSB:3DS</small>"
elseif isEmpty(mode4) then
print = "<small>[[Super Smash Bros. for Nintendo 3DS and Wii U|SSB:3DS]]</small>"
else
print = error
end
elseif mode3 == "shortest" then
if mode4 == "nolink" then
print = "<small>SSB:3DS</small>"
elseif isEmpty(mode4) then
print = "<small>[[Super Smash Bros. for Nintendo 3DS and Wii U|SSB:3DS]]</small>"
else
print = error
end
elseif isEmpty(mode3) then
print = "<small>''[[Super Smash Bros. for Nintendo 3DS and Wii U|Super Smash Bros. for Nintendo 3DS]]''</small>"
else
print = error
end
elseif mode2 == "wiiu" then
if mode3 == "nolink" then
if mode4 == "short" then
print = "<small>''Smash Wii U''</small>"
elseif mode4 == "shorter" then
print = "<small>SSB:Wii U</small>"
elseif mode4 == "shortest" then
print = "<small>SSB:Wii U</small>"
elseif isEmpty(mode4) then
print = "<small>''Super Smash Bros. for Wii U''</small>"
else
print = error
end
elseif mode3 == "short" then
if mode4 == "nolink" then
print = "<small>''Smash Wii U''</small>"
elseif isEmpty(mode4) then
print = "<small>''[[Super Smash Bros. for Nintendo 3DS and Wii U|Smash Wii U]]''</small>"
else
print = error
end
elseif mode3 == "shorter" then
if mode4 == "nolink" then
print = "<small>SSB:Wii U</small>"
elseif isEmpty(mode4) then
print = "<small>[[Super Smash Bros. for Nintendo 3DS and Wii U|SSB:Wii U]]</small>"
else
print = error
end
elseif mode3 == "shortest" then
if mode4 == "nolink" then
print = "<small>SSB:Wii U</small>"
elseif isEmpty(mode4) then
print = "<small>[[Super Smash Bros. for Nintendo 3DS and Wii U|SSB:Wii U]]</small>"
else
print = error
end
elseif isEmpty(mode3) then
print = "<small>''[[Super Smash Bros. for Nintendo 3DS and Wii U|Super Smash Bros. for Wii U]]''</small>"
else
print = error
end
elseif mode2 == "3dswiiu" or mode2 == "wiiu3ds" then
if mode3 == "nolink" then
if mode4 == "short" then
print = "<small>''Smash 3DS / Wii U''</small>"
elseif mode4 == "shorter" then
print = "<small>SSB:3DS/Wii U</small>"
elseif mode4 == "shortest" then
print = "<small>SSB:3DS/Wii U</small>"
elseif isEmpty(mode4) then
print = "<small>''Super Smash Bros. for Nintendo 3DS / Wii U''</small>"
else
print = error
end
elseif mode3 == "short" then
if mode4 == "nolink" then
print = "<small>''Smash 3DS / Wii U''</small>"
elseif isEmpty(mode4) then
print = "<small>''[[Super Smash Bros. for Nintendo 3DS and Wii U|Smash 3DS / Wii U]]''</small>"
else
print = error
end
elseif mode3 == "shorter" then
if mode4 == "nolink" then
print = "<small>SSB:3DS/Wii U</small>"
elseif isEmpty(mode4) then
print = "<small>[[Super Smash Bros. for Nintendo 3DS and Wii U|SSB:3DS/Wii U]]</small>"
else
print = error
end
elseif mode3 == "shortest" then
if mode4 == "nolink" then
print = "<small>SSB:3DS/Wii U</small>"
elseif isEmpty(mode4) then
print = "<small>[[Super Smash Bros. for Nintendo 3DS and Wii U|SSB:3DS/Wii U]]</small>"
else
print = error
end
elseif isEmpty(mode3) then
print = "<small>''[[Super Smash Bros. for Nintendo 3DS and Wii U|Super Smash Bros. for Nintendo 3DS / Wii U]]''</small>"
else
print = error
end
elseif isEmpty(mode2) then
print = "<small>''[[Super Smash Bros. for Nintendo 3DS and Wii U|Smash Smash Bros. 4]]''</small>"
else
print = error
end
elseif mode1 == "3ds" then
if mode2 == "nolink" then
if mode3 == "sm" then
if mode4 == "short" then
print = "<small>Smash 3DS</small>"
elseif mode4 == "shorter" then
print = "<small>SSB:3DS</small>"
elseif mode4 == "shortest" then
print = "<small>SSB:3DS</small>"
elseif isEmpty(mode4) then
print = "<small>''Super Smash Bros. for Nintendo 3DS''</small>"
else
print = error
end
elseif mode3 == "short" then
if mode4 == "sm" then
print = "<small>Smash 3DS</small>"
elseif isEmpty(mode4) then
print = "Smash 3DS"
else
print = error
end
elseif mode3 == "shorter" then
if mode4 == "sm" then
print = "<small>SSB:3DS</small>"
elseif isEmpty(mode4) then
print = "SSB:3DS"
else
print = error
end
elseif mode3 == "shortest" then
if mode4 == "sm" then
print = "<small>SSB:3DS</small>"
elseif isEmpty(mode4) then
print = "SSB:3DS"
else
print = error
end
elseif isEmpty(mode3) then
print = "''Super Smash Bros. for Nintendo 3DS''"
else
print = error
end
elseif mode2 == "short" then
if mode3 == "nolink" then
if mode4 == "sm" then
print = "<small>''Smash 3DS''</small>"
elseif isEmpty(mode4) then
print = "''Smash 3DS''"
else
print = error
end
elseif mode3 == "sm" then
if mode4 == "nolink" then
print = "<small>''Smash 3DS''</small>"
elseif isEmpty(mode4) then
print = "<small>''[[Super Smash Bros. for Nintendo 3DS and Wii U|Smash 3DS]]''</small>"
else
print = error
end
elseif isEmpty(mode3) then
print = "''[[Super Smash Bros. for Nintendo 3DS and Wii U|Smash 3DS]]''"
else
print = error
end
elseif mode2 == "shorter" then
if mode3 == "nolink" then
if mode4 == "sm" then
print = "<small>SSB:3DS</small>"
elseif isEmpty(mode4) then
print = "SSB:3DS"
else
print = error
end
elseif mode3 == "sm" then
if mode4 == "nolink" then
print = "<small>SSB:3DS</small>"
elseif isEmpty(mode4) then
print = "<small>[[Super Smash Bros. for Nintendo 3DS and Wii U|SSB:3DS]]</small>"
else
print = error
end
elseif isEmpty(mode3) then
print = "[[Super Smash Bros. for Nintendo 3DS and Wii U|SSB:3DS]]"
else
print = error
end
elseif mode2 == "shortest" then
if mode3 == "nolink" then
if mode4 == "sm" then
print = "<small>SSB:3DS</small>"
elseif isEmpty(mode4) then
print = "SSB:3DS"
else
print = error
end
elseif mode3 == "sm" then
if mode4 == "nolink" then
print = "<small>SSB:3DS</small>"
elseif isEmpty(mode4) then
print = "<small>[[Super Smash Bros. for Nintendo 3DS and Wii U|SSB:3DS]]</small>"
else
print = error
end
elseif isEmpty(mode3) then
print = "[[Super Smash Bros. for Nintendo 3DS and Wii U|SSB:3DS]]"
else
print = error
end
elseif mode2 == "sm" then
if mode3 == "nolink" then
if mode4 == "short" then
print = "<small>''Smash 3DS''</small>"
elseif mode4 == "shorter" then
print = "<small>SSB:3DS</small>"
elseif mode4 == "shortest" then
print = "<small>SSB:3DS</small>"
elseif isEmpty(mode4) then
print = "<small>''Super Smash Bros. for Nintendo 3DS''</small>"
else
print = error
end
elseif mode3 == "short" then
if mode4 == "nolink" then
print = "<small>''Smash 3DS''</small>"
elseif isEmpty(mode4) then
print = "<small>''[[Super Smash Bros. for Nintendo 3DS and Wii U|Smash 3DS]]''</small>"
else
print = error
end
elseif mode3 == "shorter" then
if mode4 == "nolink" then
print = "<small>SSB:3DS</small>"
elseif isEmpty(mode4) then
print = "<small>[[Super Smash Bros. for Nintendo 3DS and Wii U|SSB:3DS]]</small>"
else
print = error
end
elseif mode3 == "shortest" then
if mode4 == "nolink" then
print = "<small>SSB:3DS</small>"
elseif isEmpty(mode4) then
print = "<small>[[Super Smash Bros. for Nintendo 3DS and Wii U|SSB:3DS]]</small>"
else
print = error
end
elseif isEmpty(mode3) then
print = "<small>''[[Super Smash Bros. for Nintendo 3DS and Wii U|Super Smash Bros. for Nintendo 3DS]]''</small>"
else
print = error
end
elseif isEmpty(mode2) then
print = "''[[Super Smash Bros. for Nintendo 3DS and Wii U|Super Smash Bros. for Nintendo 3DS]]''"
else
print = error
end
elseif mode1 == "wiiu" then
if mode2 == "nolink" then
if mode3 == "sm" then
if mode4 == "short" then
print = "<small>Smash Wii U</small>"
elseif mode4 == "shorter" then
print = "<small>SSB:Wii U</small>"
elseif mode4 == "shortest" then
print = "<small>SSB:Wii U</small>"
elseif isEmpty(mode4) then
print = "<small>''Super Smash Bros. for Wii U''</small>"
else
print = error
end
elseif mode3 == "short" then
if mode4 == "sm" then
print = "<small>Smash Wii U</small>"
elseif isEmpty(mode4) then
print = "Smash Wii U"
else
print = error
end
elseif mode3 == "shorter" then
if mode4 == "sm" then
print = "<small>SSB:Wii U</small>"
elseif isEmpty(mode4) then
print = "SSB:Wii U"
else
print = error
end
elseif mode3 == "shortest" then
if mode4 == "sm" then
print = "<small>SSB:Wii U</small>"
elseif isEmpty(mode4) then
print = "SSB:Wii U"
else
print = error
end
elseif isEmpty(mode3) then
print = "''Super Smash Bros. for Wii U''"
else
print = error
end
elseif mode2 == "short" then
if mode3 == "nolink" then
if mode4 == "sm" then
print = "<small>''Smash Wii U''</small>"
elseif isEmpty(mode4) then
print = "''Smash Wii U''"
else
print = error
end
elseif mode3 == "sm" then
if mode4 == "nolink" then
print = "<small>''Smash Wii U''</small>"
elseif isEmpty(mode4) then
print = "<small>''[[Super Smash Bros. for Nintendo 3DS and Wii U|Smash Wii U]]''</small>"
else
print = error
end
elseif isEmpty(mode3) then
print = "''[[Super Smash Bros. for Nintendo 3DS and Wii U|Smash Wii U]]''"
else
print = error
end
elseif mode2 == "shorter" then
if mode3 == "nolink" then
if mode4 == "sm" then
print = "<small>SSB:Wii U</small>"
elseif isEmpty(mode4) then
print = "SSB:Wii U"
else
print = error
end
elseif mode3 == "sm" then
if mode4 == "nolink" then
print = "<small>SSB:Wii U</small>"
elseif isEmpty(mode4) then
print = "<small>[[Super Smash Bros. for Nintendo 3DS and Wii U|SSB:Wii U]]</small>"
else
print = error
end
elseif isEmpty(mode3) then
print = "[[Super Smash Bros. for Nintendo 3DS and Wii U|SSB:Wii U]]"
else
print = error
end
elseif mode2 == "shortest" then
if mode3 == "nolink" then
if mode4 == "sm" then
print = "<small>SSB:Wii U</small>"
elseif isEmpty(mode4) then
print = "SSB:Wii U"
else
print = error
end
elseif mode3 == "sm" then
if mode4 == "nolink" then
print = "<small>SSB:Wii U</small>"
elseif isEmpty(mode4) then
print = "<small>[[Super Smash Bros. for Nintendo 3DS and Wii U|SSB:Wii U]]</small>"
else
print = error
end
elseif isEmpty(mode3) then
print = "[[Super Smash Bros. for Nintendo 3DS and Wii U|SSB:Wii U]]"
else
print = error
end
elseif mode2 == "sm" then
if mode3 == "nolink" then
if mode4 == "short" then
print = "<small>''Smash Wii U''</small>"
elseif mode4 == "shorter" then
print = "<small>SSB:Wii U</small>"
elseif mode4 == "shortest" then
print = "<small>SSB:Wii U</small>"
elseif isEmpty(mode4) then
print = "<small>''Super Smash Bros. for Wii U''</small>"
else
print = error
end
elseif mode3 == "short" then
if mode4 == "nolink" then
print = "<small>''Smash Wii U''</small>"
elseif isEmpty(mode4) then
print = "<small>''[[Super Smash Bros. for Nintendo 3DS and Wii U|Smash Wii U]]''</small>"
else
print = error
end
elseif mode3 == "shorter" then
if mode4 == "nolink" then
print = "<small>SSB:Wii U</small>"
elseif isEmpty(mode4) then
print = "<small>[[Super Smash Bros. for Nintendo 3DS and Wii U|SSB:Wii U]]</small>"
else
print = error
end
elseif mode3 == "shortest" then
if mode4 == "nolink" then
print = "<small>SSB:Wii U</small>"
elseif isEmpty(mode4) then
print = "<small>[[Super Smash Bros. for Nintendo 3DS and Wii U|SSB:Wii U]]</small>"
else
print = error
end
elseif isEmpty(mode3) then
print = "<small>''[[Super Smash Bros. for Nintendo 3DS and Wii U|Super Smash Bros. for Wii U]]''</small>"
else
print = error
end
elseif isEmpty(mode2) then
print = "''[[Super Smash Bros. for Nintendo 3DS and Wii U|Super Smash Bros. for Wii U]]''"
else
print = error
end
elseif mode1 == "3dswiiu" or mode1 == "wiiu3ds" then
if mode2 == "nolink" then
if mode3 == "sm" then
if mode4 == "short" then
print = "<small>''Smash 3DS / Wii U''</small>"
elseif mode4 == "shorter" then
print = "<small>SSB:3DS/Wii U</small>"
elseif mode4 == "shortest" then
print = "<small>SSB:3DS/Wii U</small>"
elseif isEmpty(mode4) then
print = "<small>''Super Smash Bros. for Nintendo 3DS / Wii U''</small>"
else
print = error
end
elseif mode3 == "short" then
if mode4 == "sm" then
print = "<small>''Smash 3DS / Wii U''</small>"
elseif isEmpty(mode4) then
print = "Smash 3DS / Wii U"
else
print = error
end
elseif mode3 == "shorter" then
if mode4 == "sm" then
print = "<small>SSB:3DS/Wii U</small>"
elseif isEmpty(mode4) then
print = "SSB:3DS/Wii U"
else
print = error
end
elseif mode3 == "shortest" then
if mode4 == "sm" then
print = "<small>SSB:3DS/Wii U</small>"
elseif isEmpty(mode4) then
print = "SSB:3DS/Wii U"
else
print = error
end
elseif isEmpty(mode3) then
print = "''Super Smash Bros. for Nintendo 3DS / Wii U''"
else
print = error
end
elseif mode2 == "short" then
if mode3 == "nolink" then
if mode4 == "sm" then
print = "<small>''Smash 3DS / Wii U''</small>"
elseif isEmpty(mode4) then
print = "''Smash 3DS / Wii U''"
else
print = error
end
elseif mode3 == "sm" then
if mode4 == "nolink" then
print = "<small>''Smash 3DS / Wii U''</small>"
elseif isEmpty(mode4) then
print = "<small>''[[Super Smash Bros. for Nintendo 3DS and Wii U|Smash 3DS / Wii U]]''</small>"
else
print = error
end
elseif isEmpty(mode3) then
print = "''[[Super Smash Bros. for Nintendo 3DS and Wii U|Smash 3DS / Wii U]]''"
else
print = error
end
elseif mode2 == "shorter" then
if mode3 == "nolink" then
if mode4 == "sm" then
print = "<small>SSB:3DS/Wii U</small>"
elseif isEmpty(mode4) then
print = "SSB:3DS/Wii U"
else
print = error
end
elseif mode3 == "sm" then
if mode4 == "nolink" then
print = "<small>SSB:3DS/Wii U</small>"
elseif isEmpty(mode4) then
print = "<small>[[Super Smash Bros. for Nintendo 3DS and Wii U|SSB:3DS/Wii U]]</small>"
else
print = error
end
elseif isEmpty(mode3) then
print = "[[Super Smash Bros. for Nintendo 3DS and Wii U|SSB:3DS/Wii U]]"
else
print = error
end
elseif mode2 == "shortest" then
if mode3 == "nolink" then
if mode4 == "sm" then
print = "<small>SSB:3DS/Wii U</small>"
elseif isEmpty(mode4) then
print = "SSB:3DS/Wii U"
else
print = error
end
elseif mode3 == "sm" then
if mode4 == "nolink" then
print = "<small>SSB:3DS/Wii U</small>"
elseif isEmpty(mode4) then
print = "<small>[[Super Smash Bros. for Nintendo 3DS and Wii U|SSB:3DS/Wii U]]</small>"
else
print = error
end
elseif isEmpty(mode3) then
print = "[[Super Smash Bros. for Nintendo 3DS and Wii U|SSB:3DS/Wii U]]"
else
print = error
end
elseif mode2 == "sm" then
if mode3 == "nolink" then
if mode4 == "short" then
print = "<small>''Smash 3DS / Wii U''</small>"
elseif mode4 == "shorter" then
print = "<small>SSB:3DS/Wii U</small>"
elseif mode4 == "shortest" then
print = "<small>SSB:3DS/Wii U</small>"
elseif isEmpty(mode4) then
print = "<small>''Super Smash Bros. for Nintendo 3DS / Wii U''</small>"
else
print = error
end
elseif mode3 == "short" then
if mode4 == "nolink" then
print = "<small>''Smash 3DS / Wii U''</small>"
elseif isEmpty(mode4) then
print = "<small>''[[Super Smash Bros. for Nintendo 3DS and Wii U|Smash 3DS / Wii U]]''</small>"
else
print = error
end
elseif mode3 == "shorter" then
if mode4 == "nolink" then
print = "<small>SSB:3DS/Wii U</small>"
elseif isEmpty(mode4) then
print = "<small>[[Super Smash Bros. for Nintendo 3DS and Wii U|SSB:3DS/Wii U]]</small>"
else
print = error
end
elseif mode3 == "shortest" then
if mode4 == "nolink" then
print = "<small>SSB:3DS/Wii U</small>"
elseif isEmpty(mode4) then
print = "<small>[[Super Smash Bros. for Nintendo 3DS and Wii U|SSB:3DS/Wii U]]</small>"
else
print = error
end
elseif isEmpty(mode3) then
print = "<small>''[[Super Smash Bros. for Nintendo 3DS and Wii U|Super Smash Bros. for Nintendo 3DS / Wii U]]''</small>"
else
print = error
end
elseif isEmpty(mode2) then
print = "''[[Super Smash Bros. for Nintendo 3DS and Wii U|Super Smash Bros. for Nintendo 3DS / Wii U]]''"
else
print = error
end
end
elseif isEmpty(mode1) then
print = "''[[Super Smash Bros. for Nintendo 3DS and Wii U|Super Smash Bros. 4]]''"
else
print = error
end
return print
end
return p