Sam Wilson's Website

LinkCards 0.4.0 (perrow parameter)

I added a new parameter to the LinkCards extension this evening, so that it can show multiple cards on multiple lines — an image gallery, if you will. I like the built-in <gallery> syntax, but it’s nice to be able to link to something other than the image, and people usually seem to expect to be able to click on any part of a gallery item: the image, title, or description, and that’s how LinkCards does it.

It might seem weird to make an extension to do what can pretty much be done with templates on their own, but it’s nice to be able to test locally and deploy to multiple wikis. I’m sure there’s better ways to do it, but why think too hard when there’s code waiting to be written! :-P