Extension:TemplateData

The TemplateData extension allows editors to provide information about how templates should be invoked through a JSON block on the template's page, or a page transcluded onto it. This information is available as a nicely-formatted table for end-users, and as an API, which enables other systems (e.g. VisualEditor) to build interfaces for working with templates and their parameters.

Defining a TemplateData block
To come.

Using the TemplateData API
To come.