Template talk:Game4: Difference between revisions

From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
Line 11: Line 11:
:As far as I can tell, all remaining issues have been fixed! [[User:Landfish7|<span style="font-family:Tahoma"><font color="#00d1bc">'''Land'''</font>]][[User talk:Landfish7|<span style="font-family:Tahoma"><small><font color="#006699">'''fish7'''</font></small></span></span>]] 22:33, 13 April 2023 (UTC)
:As far as I can tell, all remaining issues have been fixed! [[User:Landfish7|<span style="font-family:Tahoma"><font color="#00d1bc">'''Land'''</font>]][[User talk:Landfish7|<span style="font-family:Tahoma"><small><font color="#006699">'''fish7'''</font></small></span></span>]] 22:33, 13 April 2023 (UTC)
::Would a staff member mind copying over these changes? [[User:Landfish7|<span style="font-family:Tahoma"><font color="#00d1bc">'''Land'''</font>]][[User talk:Landfish7|<span style="font-family:Tahoma"><small><font color="#006699">'''fish7'''</font></small></span></span>]] 23:21, 24 April 2023 (UTC)
::Would a staff member mind copying over these changes? [[User:Landfish7|<span style="font-family:Tahoma"><font color="#00d1bc">'''Land'''</font>]][[User talk:Landfish7|<span style="font-family:Tahoma"><small><font color="#006699">'''fish7'''</font></small></span></span>]] 23:21, 24 April 2023 (UTC)
:::Here's the raw code if it makes things easier (category excluded).
:::<code><nowiki>{{#switch: {{{1|}}}|Sun=[[Pokémon {{{1}}} and {{{2}}}|Pokémon {{{1}}}, {{{2}}}]]|[[Pokémon {{{1}}} and {{{2}}} Versions|Pokémon {{{1}}}, {{{2}}}]]}}, {{#switch: {{{3|}}}|Blue=[[Pokémon {{{1}}} and {{{3}}} Versions|{{{3}}}]], and [[Pokémon {{{4}}} Version|{{{4}}}]]|Black=[[Pokémon {{{3}}} and {{{4}}} Versions 2|{{{3}}} 2, and {{{4}}} 2]]|Sun=[[Pokémon Ultra {{{3}}} and Ultra {{{4}}}|Ultra {{{3}}}, and Ultra {{{4}}}]]|[[Pokémon {{{3}}} Version|{{{3}}}]], and [[Pokémon {{{4}}} Version|{{{4}}}]]}}</nowiki></code>
:::- [[User:Landfish7|<span style="font-family:Tahoma"><font color="#00d1bc">'''Land'''</font>]][[User talk:Landfish7|<span style="font-family:Tahoma"><small><font color="#006699">'''fish7'''</font></small></span></span>]] 06:22, 1 May 2023 (UTC)

Revision as of 06:22, 1 May 2023

USUM and B2W2

The implementation for USUM and B2W2 has some minor issues. For USUM, if you do {{game4|Sun|Moon|Sun|Moon}}, you get Pokémon Sun, Moon, Ultra Sun, and Ultra Moon, which incorrectly links to the redirect Pokémon Sun and Moon Versions. For B2W2, if you do {{game4|Black|White|Black|White}}, you get Pokémon Black, White, Black 2, and White 2, which is missing a serial comma. Landfish7 11:07, 15 March 2023 (UTC)

RGBY

Linking to RGBY with {{game4|Red|Green|Blue|Yellow}} results in Pokémon Red, Green, Blue, and Yellow, which is missing an "and" between "Blue," and "Yellow". Landfish7 11:16, 15 March 2023 (UTC)

Fix

I was able to fix some of the above issues here. Linking to BWB2W2 with this version using {{game4|Black|White|Black|White}} will output User:Landfish7/Template/Game4, which is no longer missing a serial comma. Linking to RGBY with this version using {{game4|Red|Green|Blue|Yellow}} will output User:Landfish7/Template/Game4, which is no longer missing an "and" between "Blue," and "Yellow". However, there are still some redirects when using this version. When linking to RGBY, Blue links to Pokémon Blue Version, which redirects to Pokémon Red and Blue Versions. When linking to SMUSUM, it still incorrectly links to the redirect Pokémon Sun and Moon Versions. Landfish7 22:11, 13 April 2023 (UTC)

As far as I can tell, all remaining issues have been fixed! Landfish7 22:33, 13 April 2023 (UTC)
Would a staff member mind copying over these changes? Landfish7 23:21, 24 April 2023 (UTC)
Here's the raw code if it makes things easier (category excluded).
{{#switch: {{{1|}}}|Sun=[[Pokémon {{{1}}} and {{{2}}}|Pokémon {{{1}}}, {{{2}}}]]|[[Pokémon {{{1}}} and {{{2}}} Versions|Pokémon {{{1}}}, {{{2}}}]]}}, {{#switch: {{{3|}}}|Blue=[[Pokémon {{{1}}} and {{{3}}} Versions|{{{3}}}]], and [[Pokémon {{{4}}} Version|{{{4}}}]]|Black=[[Pokémon {{{3}}} and {{{4}}} Versions 2|{{{3}}} 2, and {{{4}}} 2]]|Sun=[[Pokémon Ultra {{{3}}} and Ultra {{{4}}}|Ultra {{{3}}}, and Ultra {{{4}}}]]|[[Pokémon {{{3}}} Version|{{{3}}}]], and [[Pokémon {{{4}}} Version|{{{4}}}]]}}
- Landfish7 06:22, 1 May 2023 (UTC)