User blog:Foreva/Template:Switch and Template:Toggle?

Hi guys,

I just looked around the One Piece and Naruto wikis and noticed that some of their pages have a really cool feature: the info box allows readers to switch between different pictures of the same character, for example:

http://onepiece.wikia.com/wiki/Usopp (pre timeskip vs post timeskip)

http://naruto.wikia.com/wiki/Akatsuchi (manga vs anime)

I've been trying to incorporate this feature into Hunterpedia because it would make this wiki a lot more interesting--just imagine you can switch freely between pictures taken from the manga, 1999 anime and 2011 anime, cool eh? But it's really difficult.

Can someone who's familiar with javascript, HTML, or whatever it takes to make this switching feature works on Hunterpedia help me pls?