Oct 052009

MindTouch posted a comment in response to my recent post on the new interwiki template, pointing out that the syntax we’ve been using for using templates can be simplified. In the version of MindTouch we’re running now, we don’t need to include the “template.” part at the beginning, so we can simply do:

{{interwiki("wikipedia", "Mozilla")}}

This works for all templates as far as I can tell. This is a simple but nice little improvement. It’ll certainly help reduce clutter, especially on pages that include lots of template-generated links, such as the CSS reference main page!

 Posted by at 3:28 PM