Template:Infobox algorithm

Infobox algorithm

    Right-hand infobox holding a procedure in CLRS style.

    Template parameters

    This template prefers block formatting of parameters.

    ParameterDescriptionTypeStatus
    Algorithm namename

    Heading shown at the top of the box. Defaults to the page title.

    Linesuggested
    Procedure signaturesignature

    The call line, for example Insertion-Sort(A, n). Plain text.

    Linerequired
    Pseudocodecode

    Plain text, one step per line. Indent nested blocks with four spaces or a tab per level. Keywords, procedure names and variables are styled automatically.

    Contentrequired