Wiktionary
metatemplate
n. A (l en template) for other templates; a template which forms the (l en basis) for other templates.