Interface: ApiTemplateDataRoot
Defined in: extensions/templatedata.ts:119
The stored TemplateData block of one template.
Extended by
Properties
description?
optionaldescription?:ApiTemplateDataText|null
Defined in: extensions/templatedata.ts:121
One-line description of the template.
format?
optionalformat?:string&object|"block"|"inline"|null
Defined in: extensions/templatedata.ts:146
Preferred transclusion layout, or a FormatString.
maps?
optionalmaps?:unknown[] |Record<string,ApiTemplateDataMap>
Defined in: extensions/templatedata.ts:143
Consumer-specific maps, keyed by consumer identifier.
paramOrder?
optionalparamOrder?:string[]
Defined in: extensions/templatedata.ts:134
Parameter order for display — a complete permutation of the keys of
params; the validator rejects a partial or duplicated list.
params?
optionalparams?:unknown[] |Record<string,unknown[] |ApiTemplateDataParam>
Defined in: extensions/templatedata.ts:128
Parameter descriptions, keyed by parameter name. Full objects for pages
with TemplateData; for notemplatedata pages only the names extracted
from raw wikitext, each mapping to an empty entry.
sets?
optionalsets?:ApiTemplateDataSet[]
Defined in: extensions/templatedata.ts:140
Parameter groups. An array of ApiTemplateDataSet (the stored
shape; a map there is rejected with templatedata-invalid-type).