I've been dealing with Wikipedia 'templates' recently, so I'll be exploring their syntax, parsing, and rendering in the next few posts. Here's a taste:
Wikipedia templates seem to have grown organically, and that's the nicest way to describe it. They look simple at first glance, just a bunch of squiggly brackets to denote everything, how bad can it be?
Let me lead you down the rabbit hole...