Translations:Help:TemplateData/2/en

$extension is a way of storing information about a template and its parameters, so that VisualEditor can retrieve and display it in the template editor, thus making it easier to edit templates.