For AI agents: the complete documentation index is available at https://types-mediawiki-response.pages.dev/llms.txt, the full documentation bundle is available at https://types-mediawiki-response.pages.dev/llms-full.txt, and this page is available as Markdown at https://types-mediawiki-response.pages.dev/api/extensions/templatedata/overview.md.
  • English
  • TemplateData

    Interfaces

    InterfaceDescription
    ApiTemplateDataPageOne entry of pages, keyed by page id.
    ApiTemplateDataParamOne parameter description (params.<name>).
    ApiTemplateDataResponseResponse of action=templatedata, which returns no continuation cursors: every requested page arrives in a single reply.
    ApiTemplateDataRootThe stored TemplateData block of one template.
    ApiTemplateDataSetA group of parameters presented together (sets[]).

    Type Aliases

    Type AliasDescription
    ApiTemplateDataMapA consumer-specific mapping (maps.<consumer>). Keys are consumer-defined and not validated; each value references parameters of the template — a parameter name, a list of names, or a list of lists of names.
    ApiTemplateDataTextInterfaceText as served: a map keyed by language code ({"en": "Nowrap?"}). A plain string only when the request passes lang, which resolves each text to a single language (requested language, then its fallbacks, then the site content language).
    TemplateDataTypeParameter type a template expects, as accepted by the validator (content, line, number, boolean, string, date, unbalanced-wikitext, unknown, url, wiki-page-name, wiki-user-name, wiki-file-name, wiki-template-name). Hook handlers may register additional names, so consumers must tolerate values outside this list.