module Infoboxer::Templates

This module covers advanced MediaWiki templates usage.

It is seriously adviced to read [Wikipedia docs](en.wikipedia.org/wiki/Help:Template) or at least look through it (and have it opened while reading further).

If you just have a page with templates and want some variable value (like “page about country - infobox - total population”), you should be totally happy with {Tree::Template} and its features.

What this module does is, basically, two things:

Infoboxer allows you to define {Templates::Set} of template-specific classes for some site/domain. There is already defined set of most commonly used templates at en.wikipedia.org (so, most of English Wikipedia texts will be rendered correctly, and also some advanced functionality is provided). You can take a look at [lib/infoboxer/definitions/en.wikipedia.org.rb](github.com/molybdenum-99/infoboxer/blob/master/lib/infoboxer/definitions/en.wikipedia.org.rb) to feel it (and also see a couple of TODOs and FIXMEs and other considerations).

From Infoboxer's point-of-view, templates are the most complex part of Wikipedia, and we are currently trying hard to do the most reasonable things about them.

Future versions also should: