@twip/web
    Preparing search index...

    Interface ReferenceRule

    One sub-template reference rule (setSubTemplateRules): a field of type fieldType names, in argument argument, the building block in category (and gallery) whose body it shows.

    interface ReferenceRule {
        argument?: number;
        category: string;
        fieldType: string;
        gallery?: string;
    }
    Index
    argument?: number

    Which of the field's arguments is the sub-template's name, from 0. Default: 0.

    category: string

    The building block category the name is looked up in.

    fieldType: string

    The field type (SUBTEMPLATE), compared without case.

    gallery?: string

    The building block gallery (custom1), when it matters.