The Pokémon: Symphonic Evolutions concert tour is coming to Washington, D.C. on August 15th and Philadelphia on September 19th. Seats are limited, so be sure to book your tickets quick!
Pokémon Omega Ruby and Alpha Sapphire have been announced!
Check BNN and Bulbanews for up-to-date Pokémon news and discuss it on the forums or in our IRC channel.

Template talk:Dotw

From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to: navigation, search

This template isn't working, as it is always linking to the Generation II games. --Abcboy (talk) 23:45, 8 December 2012 (UTC)

New parameter for specific games section?

It would be rather nice if this template had an extra parameter that let us actually link to the appropriate generation.

I made an example of how that might work in my userspace. If this template had that code, test{{dotw|Su|XY}} would give "test Su", where you'll notice the superscript links to the X/Y section of the page. I only used the basic game abbreviations for now, but it'd be easy to add other possible variations.

The one disadvantage of the template I made is that it's doing the same switch statement (filtering the days) twice. But since the only way to get around that would be to copy the other switch statement (filtering the games) 7 times, I think this is best.

So can we change this template to function like my userspace template (whether by copying my template here or going for the alternative with lots of repeated code)? Tiddlywinks (talk) 20:33, 12 April 2014 (UTC)