mwbot-ts - v1.2.7
    Preparing search index...

    Type Alias TemplateParameterHierarchies

    TemplateParameterHierarchies: string[][]

    Defines parameter hierarchies for templates, via TemplateStatic.constructor or ParseTemplatesConfig.hierarchies.

    Some templates, especially those invoking modules, may have nested parameters. For example: {{#invoke:module|user={{{1|{{{user|}}}}}}}}} can be transcluded as {{template|user=value|1=value}}. In this case, |1= and |user= refer to the same template parameter, and |user= should override |1= if both are provided.

    To specify such hierarchies, use [['1', 'user'], [...]], meaning |1= will be overridden by |user= whenever a parameter registration detects a lower-hierarchy parameter in the Template instance.